常用vim配置
"line number set nu "code fold "enable manual fold set foldmethod=manual "use space to open or close fold nnoremap <space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR> " mkview remember fold " loadview reshow fold " num1,num2fo create fold set cursorline highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.\+/ set ts=4 set expandtab %retab!