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"


posted @ 2010-10-26 12:03  qinyi  阅读(367)  评论(0编辑  收藏  举报