Chinaunix首页 | 论坛 | 博客
  • 博客访问: 931183
  • 博文数量: 60
  • 博客积分: 10055
  • 博客等级: 上将
  • 技术积分: 2106
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-03 22:46
文章分类

全部博文(60)

文章存档

2009年(5)

2008年(55)

我的朋友

分类: LINUX

2008-09-21 11:02:06

set nocompatible    "set nocompatible with vi
set autoindent     "
set smartindent     "
set hls       "highlight show
"set nohls      "disable hightlight show
set tabstop=4     "set the tab width to 4
set shiftwidth=4    "when two line crisscross,use 4 blanks
"set guioptions-=T    "remove the toolbar of the gvim
set showmatch     "
syntax on      "
filetype on      "enable the filetype probe
"syntax enable     "wuYin said this sententse is necessary,but it is ok without this.
set ruler      "display the ruler at the left bottom
set incsearch     "
let fortran_have_tabs=1      "the background of the front 6 chars is black when coding fortran,it's ugly,this sentense will solve it.
"set columns=80     "set the columns of the screen.
set noexpandtab     "dispaly a tab instead of a series of blanks.
"========about charset, encoding, and language ======
"set helplang=cn       "if you already install vim chinese help,but can not display chinese,this will solve it .
"set encoding=utf-8          "the charset of vim help is utf-8,if you wanna see it with vim,you should add this sentense,
            "i can do it without this ,maybe my default environment is utf-8    
"set fileencoding=chinese
"set nobackup     "these two sentences disable write backup
"set nowritebackup
"====about color and theme=====
colorscheme desert    "set the color theme of vim
"colorscheme peaksea    "set the color theme of vim
set background=dark    "set the background color to dark,it's helpful to see the codes
let g:winManagerWindowLayout='FileExplorer|TagList'  "these two sentences enable the WinManager plugin
nmap wm :WMToggle            "
"set vb t_vb=      "if you enter a wrong command when you using vim editing a file,a ban alert will occured, this will disable it.
"====about bash support====
let g:BASH_AuthorName = 'jacky'
let g:BASH_Email =
let g:BASH_Company = 'freedom heaven'
阅读(1658) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~