设置securecrt的颜色: 选项->会话选项->终端->仿真,选择linux,并勾选后面的ANSI颜色
设置vim的颜色:需要修改/etc/vim/vimrc文件
1.先备份 cp /etc/vim/vimrc /etc/vim/vimrc.bak
2.vi打开vimrc文件,并大写G 跳到最后一行,加上
set cindent
set smartindent
set hls
set nocompatible
set sw=3
set showmatch
set background=light
colorscheme desert
syntax on
set hlsearch
highlight Search term=reverse ctermbg=4 ctermfg=7
highlight Normal ctermbg=black ctermfg=white
highlight Comment ctermfg=blue
阅读(3930) | 评论(0) | 转发(0) |