[UPDATE][VIM] Move Netrw specific setting to ft
This commit is contained in:
parent
e8314d6f34
commit
edaafabbf7
3
vim/.vim/after/ftplugin/netrw.vim
Normal file
3
vim/.vim/after/ftplugin/netrw.vim
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
" Don't show Netrw in buffer list
|
||||||
|
setlocal bufhidden=delete
|
||||||
|
let b:undo_ftplugin='|setlocal bufhidden<'
|
|
@ -144,8 +144,6 @@ call plug#end()
|
||||||
set nobackup
|
set nobackup
|
||||||
" Disable swapfiles too
|
" Disable swapfiles too
|
||||||
set noswapfile
|
set noswapfile
|
||||||
" Don't show Netrw buffers
|
|
||||||
autocmd FileType netrw setlocal bufhidden=delete
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" UI and UX parameters {{{
|
" UI and UX parameters {{{
|
||||||
|
|
Loading…
Reference in a new issue