`
huangqinqin
  • 浏览: 359327 次
  • 性别: Icon_minigender_2
  • 来自: 福州
社区版块
存档分类
最新评论

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         底端
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics