ColorScheme Evening"set background color to night modeSetNocompatible"Get rid of nasty about VI consistency patterns, avoid some bugs and limitations of previous versionsSetcompleteopt=preview,menu filetype plugin onSetRuler"Open the status bar rulerSetnocompatibleSetsyntax= onSetautoindentSetcindentSettabstop=4Setsofttabstop=4SetShiftwidth=4SetSmarttabSetNumberfiletype plugin onfiletype indent onSetMouse=aSetselection=ExclusiveSetSelectmode=Mouse,keySetShowmatchSetMatchtime=1SetSmartindent:inoremap (()<ESC>I:inoremap)<c-r>=closepair (')') <CR>: inoremap {{}<ESC>I:inoremap {<CR> {<cr>}<esc>O:inoremap}<c-r>=closepair ('}') <CR>: Inoremap [[]<ESC>I:inoremap]<c-r>=closepair (']') <CR>: Inoremap}<c-r>=closepair ('}') <CR>function Closepair (Char) ifGetline'.') [Col ('.') -1] = = A:Char return "\<right>" Else returnA:Charendifendfunctionfiletype plugin indent onSetCompleteopt=longest,menu
ACM VIM Configuration