Vim related set nuset showmatchset autoindentset smartindentset rulerset incsearchset tabstop=4set shiftwidth=4set Cindentset clipboard+=unnamedsyntax onset nocompatibleset showcmdset ignorecaseset novisualbellset laststatus=2set Mouse=alet tlist_use_right_window=1
Compilation, language
Compile configuration Map <F6>: Call CR () <cr>func! CR () Exec "W" exec "!g++%-o%<" exec "! ./%<" Endfuncmap <F2>: Call Settitle () <cr>func settitle () Let L = 0 Let L = L + 1 | Call Setline (L, ' #include <stdio.h> ') let L = L + 1 | Call Setline (L, ' #include <string.h> ') let L = L + 1 | Call Setline (L, ' #include <iostream> ') let L = L + 1 | Call Setline (L, ' #include <algorithm> ') let L = L + 1 | Call Setline (L, ' #include <vector> ') let L = L + 1 | Call Setline (L, ' #include <queue> ') let L = L + 1 | Call Setline (L, ' #include <set> ') let L = L + 1 | Call Setline (L, ' #include <map> ') let L = L + 1 | Call Setline (L, ' #include <math.h> ') let L = L + 1 | Call Setline (L, ' #include <string> ') let L = L + 1 | Call Setline (L, ' #include <stdlib.h> ') let L = L + 1 | Call Setline (L, ' #include <time.h> ') let L = L + 1 | Call Setline (L, ") let L = L + 1 | Call Setline (l, ' int main () ') let L = L + 1 | Call Setline (L, ' {') let L = L + 1 | Call Setline (l,'//freopen ("In.txt", "R", stdin); Let L = L + 1 | Call Setline (L, '//freopen ("OUT.txt", "w", stdout); Let L = L + 1 | Call Setline (L, ") let L = L + 1 | Call Setline (L, ' return 0; ') Let L = L + 1 | Call Setline (L, '} ') Endfunc
Vim configuration file--partial configuration