解决secureCRT下vi代码高亮问题
来源:岁月联盟
时间:2012-03-23
解决secureCRT下vi代码高亮问题
用secureCRT终端连接服务器时,用vi编辑代码,显示的颜色是只有黑白两色,看起来灰常蛋疼,search了一下,改一下vi ~/.vimrc里面的配置就可以了,这是一个用于配置vi的文件代码如下: Vi代码 set nocp set ru set nonu "set cin "set cino = :0g0t0(sus set sm set ai set sw=4 set ts=4 set noet set lbr set hls "set backspace = indent , eol , start "set whichwrap = b , s , < , > , [ , ] "set fo+ = mB set selectmode = "set mousemodel=popup set keymodel = "set selection = inclusive "set matchpairs+ = syntax on set hlsearch highlight Search term=reverse ctermbg=4 ctermfg=7 highlight Normal ctermbg=black ctermfg=white highlight Comment ctermfg=blue set cin "colo ron filetype on
保存后断开重连就可以了 作者 liujiahaogood