Tweaked toggled filemanager width and disabled the bottom scrollbar when

starting with it
This commit is contained in:
Kevin 2014-04-02 12:36:04 -04:00
parent 0f006d69dd
commit feec545d14
3 changed files with 4 additions and 4 deletions

View file

@ -173,7 +173,7 @@
nmap <script> <silent> <C-F9> :call ToggleLocationList()<CR> nmap <script> <silent> <C-F9> :call ToggleLocationList()<CR>
"bindings to trigger the filer explorer "bindings to trigger the filer explorer
nnoremap <silent><expr> `` ':VimFilerExplorer<CR>' nnoremap <silent><expr> `` ':VimFilerExplorer -winwidth=30<CR>'
"} "}
"GVIM TOGGLES:{ "GVIM TOGGLES:{

View file

@ -149,7 +149,6 @@
"}}} "}}}
"VIM FILER: SETTINGS {{{ "VIM FILER: SETTINGS {{{
let g:vimfiler_edit_action='tabopen'
let g:vimfiler_as_default_explorer=1 let g:vimfiler_as_default_explorer=1
let g:vimfiler_enable_auto_cd=1 let g:vimfiler_enable_auto_cd=1

View file

@ -90,11 +90,12 @@
set guioptions-=T "remove the toolbar set guioptions-=T "remove the toolbar
set guioptions-=m "remove the toolbar set guioptions-=m "remove the toolbar
autocmd FileType vimfiler set go-=b
if &wrap if &wrap
set go-=b "disable the bottom scrollbar on launch iff text wrapping is enabled set go-=b "disable the bottom scrollbar on launch iff text wrapping is enabled
else else
set go+=b "enable the bottom scrollbar on launch iff text wrapping is disabled set go+=b "enable the bottom scrollbar on launch iff text wrapping is disabled
endif endif
"disable the bottom scrollbar if currently the vimfiler
autocmd FileType vimfiler set go-=b
"}}} "}}}