Recently, I was a beginner in vim and wrote a very ugly vimrc. I will post it and see it ..
Set nocompatiblesource $ vimruntime/vimrc_example.vimsource $ vimruntime/mswin. vimbehave mswin "I just learned Vim. This configuration file will be followed by a shortcut key similar to (XP) colorscheme eveningset cursorlineset shiftwidth = 2 set expandtabset numbercompiler GCC .. <F2> Save <F9> compile <C-F9> RUN <F12> switch tag <F3> new tag open <F4> enable GDB debug NMAP <F2>: W <CR> imap <F2> <ESC> <F2> anmap <F9> <F2> :! "D: \ Program Files \ DEV-CPP \ bin \ g00000000.exe" %-g-wall-o % <> E 2> & 1 <CR>: cfile e <CR>: CW <CR> imap <F9> <ESC> <F9> NMAP <C-F9> <F9>: CCL <CR> :! % <CR> imap <C-F9> <ESC> <C-F9> NMAP <F3>: tabnewimap <F3> <ESC> <F3> NMAP <F4> :! GDB % <CR> imap <F4> <ESC> <F4> Sy onset cindentset guioptions-= mset guioptions-= tset nobackup
So $ vimruntime/mswin. Vim "added the colorscheme eveningset cursorlineset shiftwidth = 2 set expandtabset numberset autochdirset hlscompiler GCC shortcut after learning vim .. <F2> Save <F9> compile <C-F9> RUN <F12> switch tag <F3> new tag open <F4> enable GDB debug NMAP <F2>: W <CR> imap <F2> <ESC> <F2> anmap <F9> <F2> :! G ++ %-g-wall-o % <> E 2> & 1 <CR>: cfile e <CR>: CW <CR> imap <F9> <ESC> <F9> NMAP <C-F9> <F9>: CCL <CR> :!. /% <CR> imap <C-F9> <ESC> <C-F9> NMAP <F12> gtimap <F12> <ESC> <F12> NMAP <F3>: tabnew imap <F3> <ESC> <F3> NMAP <F4> :! GDB % <CR> imap <F4> <ESC> <F4> Sy onset cindent
Code folding is still difficult to use, mainly because it is too ugly