nvim: Fix netrw buffers staying open after usage of vinegar
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
55d3655ffe
commit
b57e4bdceb
1 changed files with 9 additions and 0 deletions
|
@ -409,7 +409,16 @@ augroup ResizeWindowsProportionally
|
|||
autocmd VimResized * :wincmd =
|
||||
augroup END
|
||||
|
||||
augroup VinegarNetrw
|
||||
au!
|
||||
autocmd FileType netrw set bufhidden=delete
|
||||
augroup END
|
||||
|
||||
" --------------------------- Plugin settings --------------------------------
|
||||
" Close open netrw buffers once done selecting file in vinegar
|
||||
" See https://github.com/tpope/vim-vinegar/issues/13
|
||||
let g:netrw_fastbrowse = 0
|
||||
|
||||
" Let vim-gitgutter do its thing on large files
|
||||
let g:gitgutter_max_signs=1000
|
||||
let g:gitgutter_map_keys = 0
|
||||
|
|
Loading…
Reference in a new issue