Ubuntu10.4停.vimrc文件
Ubuntu10.4下.vimrc文件
Ubuntu10.4下.vimrc文件:/etc/vim/.vimrc
sudo vim /etc/vim/.vimrc
配置内容如下:
syntax on
set nocp
set ru
set number
set backspace=indent,eol,start
set whichwrap=b,s,<,>,[,]
set sw=4
set ts=4
set et
set ai
set history=1000
set background=dark
set autoindent
set smartindent
set incsearch
set hlsearch
set enc=utf-8
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
set langmenu=zh_CN.UTF-8
set helplang=cn
filetype on
filetype plugin on
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set shortmess=atI
set showmatch
set matchtime=5
au BufRead,BufNewFile * setfiletype txt
set laststatus=2
if (has("gui_running"))
set nowrap
set guioptions+=b
colo torte
else
set wrap
colo ron
endif
93,6 底端
Ubuntu10.4下.vimrc文件:/etc/vim/.vimrc
sudo vim /etc/vim/.vimrc
配置内容如下:
syntax on
set nocp
set ru
set number
set backspace=indent,eol,start
set whichwrap=b,s,<,>,[,]
set sw=4
set ts=4
set et
set ai
set history=1000
set background=dark
set autoindent
set smartindent
set incsearch
set hlsearch
set enc=utf-8
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
set langmenu=zh_CN.UTF-8
set helplang=cn
filetype on
filetype plugin on
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set shortmess=atI
set showmatch
set matchtime=5
au BufRead,BufNewFile * setfiletype txt
set laststatus=2
if (has("gui_running"))
set nowrap
set guioptions+=b
colo torte
else
set wrap
colo ron
endif
93,6 底端