mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 14:44:11 -05:00
Tweaked toggled filemanager width and disabled the bottom scrollbar when
starting with it
This commit is contained in:
parent
0f006d69dd
commit
feec545d14
3 changed files with 4 additions and 4 deletions
|
@ -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:{
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
"}}}
|
"}}}
|
||||||
|
|
Loading…
Reference in a new issue