2012년 1월 26일 목요일

Linux: some VIM tips for your programming

Tips for VIM which can be useful for programming jobs

- Open file at a location that was last viewed
==> http://superuser.com/questions/111016/vim-open-file-at-location-that-was-last-viewed

- Code completion (you can see how it works from the below screen shot)
==> http://amix.dk/blog/post/19021


- See manual at cursor
==> 'K' on function name

- Do not use space as tab for Makefile
==> 'autocmd FileType make setlocal noexpandtab' from VIMRC

- Edit your own VIMRC
==> e $MYVIMRC

- How to use gcc compiler with make?
==> 'compiler gcc' from VIMRC. Type 'make' from VIM command input.

- Ctags usage
==> http://stackoverflow.com/questions/563616/vim-and-ctags-tips-and-tricks

- Find string and open file
==> Ctrl-W, I

- TODO: Need to check later
==> https://github.com/Rip-Rip/clang_complete/

0 개의 댓글:

댓글 쓰기