摘要:
"是否兼容VI,compatible为兼容,nocompatible为不完全兼容"如果设置为compatible,则tab将不会变成空格set nocompatiblesource $VIMRUNTIME/vimrc_example.vimsource $VIMRUNTIME/mswin.vim"设置鼠标运行模式为WINDOWS模式behave mswin" Multi-encoding setting, MUST BE IN THE BEGINNING OF .vimrc!"if has("multi_byte") &qu 阅读全文
摘要:
http://www.oschina.net/code/snippet_103341_8984‘列高亮,与函数列表有冲突set cursorcolumn"启动后最大化au GUIEnter * simalt ~x"不自动换行set nowra"在输入括号时光标会短暂地跳到与之相匹配的括号处,不影响输入set showmatch"取得光标处的匹配function! GetPatternAtCursor(pat) let col = col('.') - 1 let line = getline('.') let ebeg = 阅读全文