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'
阅读(1682) | 评论(0) | 转发(0) |