[UPDATE][VIM] Move Netrw specific setting to ft

This commit is contained in:
Bruno BELANYI 2019-10-18 16:48:58 +02:00
parent e8314d6f34
commit edaafabbf7
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,3 @@
" Don't show Netrw in buffer list
setlocal bufhidden=delete
let b:undo_ftplugin='|setlocal bufhidden<'

View file

@ -144,8 +144,6 @@ call plug#end()
set nobackup
" Disable swapfiles too
set noswapfile
" Don't show Netrw buffers
autocmd FileType netrw setlocal bufhidden=delete
" }}}
" UI and UX parameters {{{