1 SetNOCP2 SetNu3 Setru4 SetNoet5 Setbs=26 Setts=87 Setss=88 Setsw=89 SetAITen SetCin One SetMouse =a A - SetMp=g++\%\-o\%<\-g\-wall\-wshadow\-wuninitialized\-winline\-ANSI - the syn on -Colodefault - -Let CC = the +Let g:qf=0 -Let g:hls=0 +Inoremap <S-Tab> <C-n> A atfunc!Q () - ifG:QF -Let g:qf=0 - Cclose - Else -Let g:qf=1 in Copen - End to Endfunc + -func!H () the ifG:hls *Let g:hls=0 $ SetNohlsPanax Notoginseng Else -Let g:hls=1 the SetHLS + End A Endfunc the +Map <F1> <ESC>GT -Map <F2> <ESC>GT $Map <F3> <esc>:call H () <CR> $Map <F4> <esc>:call Q () <CR> -Map <F5> <esc>:Setts=4ss=4sw=4<CR> -Map <F6> <esc>:Setts=8ss=8sw=8<CR> theMap <F7> <esc>:!gdb ./%<<cr> -Map <F8> <ESC>:!python<CR>WuyiMap <F9> <esc>:w<cr>:let g:qf=0<cr>:make<cr>:call Q () <CR><C-w><C-k> theMap <F10> <esc>:!. /%<<cr> -Map <F11> <esc>:SetMp=g++\%\-o\%<\-g\-wall\-wshadow\-wuninitialized\-winline\-ansi<cr> WuMap <F12> <esc>:SetMp=g++\%\-o\%<\-g\-wall\-wshadow\-wuninitialized\-winline\-ansi\-std=c++ One<CR> - AboutInoremap <F1> <ESC><ESC>GTa $Inoremap <F2> <ESC><ESC>GTA -Inoremap <F3> <esc><esc>:call H () <CR>a -Inoremap <F4> <esc><esc>:call Q () <CR>a -Inoremap <F5> <esc><esc>:Setts=4ss=4sw=4<CR>a AInoremap <F6> <esc><esc>:Setts=8ss=8sw=8<CR>a +Inoremap <F7> <esc><esc>:!gdb ./%<<cr>a theInoremap <F8> <ESC><ESC>:!python<CR>a -Inoremap <F9> <esc><esc>:w<cr>:let g:qf=0<cr>:make<cr>:call Q () <CR><C-w><C-k>a $Inoremap <F10> <esc><esc>:!. /%<<cr>a theInoremap <F11> <esc><esc>:SetMp=g++\%\-o\%<\-g\-wall\-wshadow\-wuninitialized\-winline\-ansi<cr>a theInoremap <F12> <esc><esc>:SetMp=g++\%\-o\%<\-g\-wall\-wshadow\-wuninitialized\-winline\-ansi\-std=c++ One<cr>a
This RC shortcut describes:
Ex mode:
F1: Previous tab page
F2: Next tab page
F3: Turn highlight lookup on/off
F4: Turn on/off compilation information
F5: adjust to 4-cell indent
F6: adjust to 8-cell indent
F7:GDB Commissioning
F8: Open python
F9: Compiling
F10: Run
F11: Turn off-std=c++11 compilation options
F12: Turn on-std=c++11 compilation options
Insert mode:
Shift+tab: Auto-complete
Share a NOI used VIMRC [RC][VIMRC]