https://github.com/Valloric/YouCompleteMe#ubuntu-linux-x64-super-quick-installation
1. Install Vundel
2. add Bundle 'Valloric/YouCompleteMe' to .vimrc and let use Vundel to install it
3. goto YouCompleteMe folder and ./install.sh
[Note] test on ubuntu 13.10
Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts
Thursday, January 16, 2014
Monday, February 04, 2013
vim color on cygwin
http://raibledesigns.com/rd/entry/adding_color_to_vim_and
http://awwsheezy.com/tag/cygwin-vim-colors/
http://awwsheezy.com/tag/cygwin-vim-colors/
Monday, October 22, 2012
vim : Converting tabs to spaces
http://vim.wikia.com/wiki/Converting_tabs_to_spaces
http://superuser.com/questions/632657/how-to-setup-vim-to-edit-both-makefile-and-normal-code-files
http://stackoverflow.com/questions/8999208/quickest-way-to-revert-spaces-to-tabs-in-vim
[Note] set to ~/.vimrc
[Note] autocmd FileType make set noexpandtab
http://superuser.com/questions/632657/how-to-setup-vim-to-edit-both-makefile-and-normal-code-files
http://stackoverflow.com/questions/8999208/quickest-way-to-revert-spaces-to-tabs-in-vim
:set tabstop=4 :set shiftwidth=4 :set expandtab
[Note] set to ~/.vimrc
[Note] autocmd FileType make set noexpandtab
Sunday, September 23, 2012
vim 縮排
http://fannys23.pixnet.net/blog/post/24309095-%5Bmisc.%5D-vim-%E7%A8%8B%E5%BC%8F%E7%A2%BC%E7%B8%AE%E6%8E%92
原來VG 可以這樣用ㄚ...
原來VG 可以這樣用ㄚ...
2. 直接輸入 0ggVG=(第一個字是數字零,注意大小寫,畫面上不會出現你輸入的內容),輸入後按 Enter,排版完成。
依照 bluecat 的說明,這一串代表的意義如下:0:回到行首(移到該行第0個字元)gg:回到檔案開頭(←因為有這個,我覺得第一個0應該可以省略?)V:視覺選取-列模式G:到檔案結尾=:重新排版
預設的內縮是 8 字元,有點太多,所以在 command mode(按 Esc 讓游標跳到畫面下方),輸入下列指令: set shiftwidth=2
Tuesday, August 28, 2012
ctags for multi-devel directories
http://linux.byexamples.com/archives/385/vim-with-ctags-for-multi-level-directory-hierarchy/
http://vim.wikia.com/wiki/Browsing_programs_with_tags
set tags=tags;
the magic is the ‘;’ at end. it will make vim tags file search go up from current directory until it finds one.
Subscribe to:
Posts (Atom)

