1 set number 2 set history=1000000 3 set tabstop=4 4 set shiftwidth=4 5 6 set smarttab 7 8 set nocp 9 filetype plugin indent on 10 11 colo evening 12 13 set nobackup 14 set noswapfile 15 16 set mouse=a 17 set selection=exclusive 18 set selectmode=mouse,key 19 20 map <F6> :call CR()<CR> 21 func! CR() 22 exec "w" 23 exec "!g++ % -o %<" 24 exec "! %<" 25 endfunc 26 27 imap <c-]> {<cr><c-o>O<left><right> 28 29 map <C-A> ggVG"+y 30 31 32 inoremap ( ()<LEFT> 33 inoremap [ []<LEFT> 34 inoremap { {}<LEFT> 35 inoremap " ""<LEFT> 36 inoremap ' ''<LEFT>