代码改变世界

gVim中Python的设置

2008-10-22 15:44  Jaypei  阅读(725)  评论(0编辑  收藏  举报
"设置tab=4
set shiftwidth=4
set sts=4
set tabstop=4
"tab->空格
set expandtab
"不备份
set nobackup
set nowritebackup
"不要工具条
set guioptions-=T
"desert 颜色主题
colorscheme desert
"默认字体为Lucida Console,字体大小为11,粗体(个人认为比Fixsys爽一点)
set guifont=Lucida_Console:h11:b
"mini buffer 插件配置
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
"真的很smart, 搜索时全小写相当于不区分大小写,只要有一个大写字母出现,则区分大小写
"simple idea, great achievement!
set ignorecase smartcase
"启动gVIM时最大化
au GUIEnter * simalt ~x