=a{syn on
colo desert
\"colo torte
filetype indent on
set gfn=Courier\\ 10\\ Pitch\\ 12
set ru nu et sta nowrap ar acd ww=<,>,[,] sw=4 ts=4 cin noswf
\"se ru nu ar sw=4 ts=4 noswf et sta nowrap ww=<,>,[,] gfn=Consolas:h12
autocmd BufEnter * lcd %:p:h
map :tabnewmap :call CR()func CR()
exec \"update\"
exec \"!xterm -fn 10*20 -e \\\"g++ %<.cpp -Wall -o %< && time ./%< < %<.in ; read -n 1\\\"\"
endfunc
map :call CR2()func CR2()
exec \"update\"
exec \"!xterm -fn 10*20 -e \\\"g++ %<.cpp -Wall -o %< && time ./%< ; read -n 1\\\"\"
endfunc
map :call SetTitle()Gkkkfunc SetTitle()
let l = 0
let l = l + 1 | call setline(l, '/*')
let l = l + 1 | call setline(l, ' * Author: mybestwishes')
let l = l + 1 | call setline(l, ' * Created Time: '.strftime('%c'))
let l = l + 1 | call setline(l, ' * File Name: '.expand('%'))
let l = l + 1 | call setline(l, ' */')
let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, '#include ')let l = l + 1 | call setline(l, 'using namespace std;')
let l = l + 1 | call setline(l, 'const int maxint = -1u>>1;')
let l = l + 1 | call setline(l, '')
let l = l + 1 | call setline(l, 'int main() {')
let l = l + 1 | call setline(l, ' return 0;')
let l = l + 1 | call setline(l, '}')
let l = l + 1 | call setline(l, '')
endfunc
map :call AddComment()func AddComment()
if (getline('.')[0] == '/')
normal ^xx
else
normal 0i//
endif
endfunc
set printoptions=syntax:n,number:y,portrait:y
set guioptions+=b
set encoding=utf-8
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set termencoding=utf-8