VIM TIP25
VimTip 25: color highlighting on telnet (esp w/ SecureCRT)
在telnet中色彩高亮
The following settings in .vimrc will enable color highlighting when using SecureCRT and may work on other telnet packages. The terminal type should be selected as ANSI and color enabled.
当使用SecureCRT或其他的telnet包时在.vimrc中进行如下配置可以色彩高亮。终端必须选择ANSI并且激活色彩选项。
if !has("gui_running")
set t_Co=8
set t_Sf=^[[3%p1%dm
set t_Sb=^[[4%p1%dm
endif
Technorati Tags: VI, EDITOR
在telnet中色彩高亮
The following settings in .vimrc will enable color highlighting when using SecureCRT and may work on other telnet packages. The terminal type should be selected as ANSI and color enabled.
当使用SecureCRT或其他的telnet包时在.vimrc中进行如下配置可以色彩高亮。终端必须选择ANSI并且激活色彩选项。
if !has("gui_running")
set t_Co=8
set t_Sf=^[[3%p1%dm
set t_Sb=^[[4%p1%dm
endif
Technorati Tags: VI, EDITOR
Comments