mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -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>
|
||||
|
||||
"bindings to trigger the filer explorer
|
||||
nnoremap <silent><expr> `` ':VimFilerExplorer<CR>'
|
||||
nnoremap <silent><expr> `` ':VimFilerExplorer -winwidth=30<CR>'
|
||||
"}
|
||||
|
||||
"GVIM TOGGLES:{
|
||||
|
|
|
@ -149,7 +149,6 @@
|
|||
"}}}
|
||||
|
||||
"VIM FILER: SETTINGS {{{
|
||||
let g:vimfiler_edit_action='tabopen'
|
||||
let g:vimfiler_as_default_explorer=1
|
||||
let g:vimfiler_enable_auto_cd=1
|
||||
|
||||
|
|
|
@ -90,11 +90,12 @@
|
|||
set guioptions-=T "remove the toolbar
|
||||
set guioptions-=m "remove the toolbar
|
||||
|
||||
autocmd FileType vimfiler set go-=b
|
||||
|
||||
if &wrap
|
||||
set go-=b "disable the bottom scrollbar on launch iff text wrapping is enabled
|
||||
else
|
||||
set go+=b "enable the bottom scrollbar on launch iff text wrapping is disabled
|
||||
endif
|
||||
|
||||
"disable the bottom scrollbar if currently the vimfiler
|
||||
autocmd FileType vimfiler set go-=b
|
||||
"}}}
|
||||
|
|
Loading…
Reference in a new issue