|
|
发表于 2006-1-21 20:12:27
|
显示全部楼层
我的~/.vimrc文件是:你试一试
set nu
set sm
set tabstop=4
set shiftwidth=4
set cindent
syntax on
set ruler
set smartindent
set showmatch
set encoding=utf-8 fencs=utf-8,gb18030,gb2312,gbk,big5
" REQUIRED. This makes vim invoke latex-suite when you open a tex file.
filetype plugin on
"
" " IMPORTANT: grep will sometimes skip displaying the file name if you
" " search in a singe file. This will confuse latex-suite. Set your grep
" " program to alway generate a file-name.
set grepprg=grep\ -nH\ $*
"
" " OPTIONAL: This enables automatic indentation as you type.
filetype indent on |
|