摘要: "是否兼容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 阅读全文
posted @ 2012-08-30 14:51 为了这有限的生命 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 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 = 阅读全文
posted @ 2012-08-30 09:09 为了这有限的生命 阅读(251) 评论(0) 推荐(0) 编辑