自用的vim配置信息 syntax on syntax enable "" 设置历史记录条数 set history=2000 "" create undo file set undolevels=1000 "" how many undos set undoreload=10000 "" number of lines to save for undo if v:version >= 730 set undofile "" keep a persistent backup file set undodir=/tmp/vimundo/ endif ""set wildignore=*.swp,*.bak,*.pyc,*.class,.svn "" 显示当前横竖线 set cursorline set cursorcolumn "" 设置退出Vim之后内容显示在终端屏幕,可以用于查看和复制 "" 好处:误删什么,如果以前屏幕打开可以用来找回 set t_ti= t_te= "" 设置在Vim中可以使用鼠标,防止终端无法拷贝 set mouse=a ""========================================== "" Display Settings ""========================================== "" ""