How to analyze source codes on vim on Linux
1. installing vim, ctags, cscope
-cscope install :
http://iamroot.org/wiki/doku.php?id=%EC%8A%A4%ED%84%B0%EB%94%94:cscope_%EC%82%AC%EC%9A%A9%EB%B2%95
2. Source Explorer, NERD Tree, Tag List
source explorer: Tag 기반으로 동작하는 source code explorer로 함수 선언 등을 쉽게 볼 수 있게 해 준다. 함쉬에 커서를 올려놓으면 저절로 해당 함수의 선언부가 source explorer에 뜬다.
NERD Tree: vim을 쓰는 동시에 filesystem을 탐색할 수 있게 해준다. 디렉토리에 들어가거나 파일을 열 수 있다. 창을 바꾸지 않아도 다른 파일을 쉽게 열고 확인할 수 있어서 편하다.
Tag List: 말 그대로 tag list를 생성한다. 소스 코드를 쉽게 파악할 수 있게 해주며, 원하는 함수 혹은 변수 선언부로 쉽게 이동할 수있다.
3.~/.vimrc
I am too lazy.
Reference)
http://gumdaeng.com/2013/11/07/vim-and-plugins-for-src-analysis/
Tips) Putty zmodem
Tips) Putty zmodem
댓글 없음:
댓글 쓰기