VI显示行号并加亮颜色
直接编辑~/.vimrc
set nocompatible set number filetype on set background=light syntax on set autoindent set smartindent set tabstop=4 set shiftwidth=4 set showmatch set guioptions-=T set ruler colorscheme evening set nohlsearch set modeline set showcmd set showfulltag set showmode set smartcase set imcmdline set previewwindow然后编辑~/.bashrc
加入 alias vi='vim'
linux显示中文
#LANG="en_US.UTF-8" #SYSFONT="latarcyrheb-sun16" LANG="zh_CN.GB18030" LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED="zh_CN.GB18030:zh_CN:zh" SYSFONT="lat0-sun16" SYSFONTACM="8859-15"