Ubuntu10.4下.vimrc文件

Ubuntu10.4下.vimrc文件:/etc/vim/.vimrc

sudovim/etc/vim/.vimrc

配置内容如下:

syntaxon

setnocp

setru

setnumber

setbackspace=indent,eol,start

setwhichwrap=b,s,<,>,[,]

setsw=4

setts=4

setet

setai

sethistory=1000

setbackground=dark

setautoindent

setsmartindent

setincsearch

sethlsearch

setenc=utf-8

setfencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936

setlangmenu=zh_CN.UTF-8

sethelplang=cn

filetypeon

filetypepluginon

setmouse=a

setselection=exclusive

setselectmode=mouse,key

setshortmess=atI

setshowmatch

setmatchtime=5

auBufRead,BufNewFile*setfiletypetxt

setlaststatus=2

if(has("gui_running"))

setnowrap

setguioptions+=b

colotorte

else

setwrap

coloron

endif

93,6底端

相关推荐