If you cant explain it simply, you dont understand it well enough

常用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!

  

posted @ 2017-03-28 17:20  zk47  阅读(154)  评论(0编辑  收藏  举报

I am a stupid bird, and I need to work hard