Name: Anonymous 2010-11-08 17:57
Do you have some useful tips for VIM? Anything accapted ;)
set scrolloff=9999
imap <C-C> &^OBconst ^Of&<RIGHT>
au BufNewFile,BufRead *.cpp abbr null NULL
au BufNewFile,BufRead *.c abbr null NULL
imap <F2> <C-O>:wa!<CR>
imap <F10> <C-O>:wqa
function MyStatText()
return strftime("%H:%M:%S| ")
endfunction
set statusline=%{MyStatText()}%<%f\ %h%m%r%=%-14.(%l,%c%V%)%B\ %P