GVIM中的配置问题

来源:互联网 发布:windows power shell 编辑:程序博客网 时间:2024/05/01 01:42

"设置tab=4
set shiftwidth=4
set sts=4
set tabstop=4

"tab->空格
set expandtab

"不备份
set nobackup
set nowritebackup

"不要工具条
set guioptions-=T

"desert 颜色主题
colorscheme blue

"默认字体为Lucida Console,字体大小为12
"set guifont=Lucida_Console:h12

"mini buffer 插件配置
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
"启动gVIM时最大化
au GUIEnter * simalt ~x

问题:如果让gvim的工作路径自动切换到当前浏览或者打开文件的目录呢? 

原创粉丝点击