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/

댓글

이 블로그의 인기 게시물

Wireless: HotSpot 2.0 이란?

Apple M1 Mac Mini에서 이더리움 (Ethereum) 채굴하기

Java: Java for Game? Java가 Game 개발에 어울릴까?