求VIM配置文件
本人平时使用C和C++编程 想要份适合C和C++语法高亮显示的VIM配置
谢谢了!!!
[解决办法]
这个vim配置,C/C++/Shell的语法高亮都有,适合于改配置文件,以及对代码小修小补,但做大规模开发还不够
一般我也不拿vim做开发
" Begin /etc/vimrcset nocompatibleset numberset autoindentset smartindentset smartcaseset showmatchset backspace=2set mouse=asyntax onif (&term == "iterm") || (&term == "putty") set background=darkendif" End /etc/vimrc
[解决办法]
1 set fenc=utf-8 2 syntax enable 3 set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936 4 set nocompatible 5 set confirm 6 filetype on 7 filetype plugin on 8 filetype indent on 9 syntax on 10 highlight StatusLine guifg=SlateBlue guibg=Yellow 11 highlight StatusLineNC guifg=Gray guibg=White 12 set nobackup 13 setlocal noswapfile 14 set bufhidden=hide 15 set wildmenu 16 set ruler 17 set rulerformat=%20(%2*%<%f%=\ %m%r\ %3l\ %c\ %p%%%) 18 set backspace=2 19 set report=0 20 set noerrorbells 21 set showmatch 22 set matchtime=5 23 set incsearch 24 set formatoptions=tcrqn 25 set smartindent 26 set cindent 27 set tabstop=4 28 set softtabstop=4 29 set shiftwidth=4 30 set smarttab 31 set number 32 set nohlsearch 33 34 let Tlist_Sort_Type = "name" 35 let Tlist_Use_Right_Window = 1 36 let Tlist_File_Fold_Auto_Close=1
[解决办法]
我自己用的配置文件,楼主可以试试,绝对可以达到这个效果
http://download.csdn.net/detail/mymtom/4018361
[解决办法]