nvim: after/ftplugin/dirvish: Set bufhidden to hide

With commit 7e41cd7 entering in dirvish does not work if bufhidden is
not hide or empty. Set it to hide and using BS which is mapped to C-^
in our key mappings, we can go back to the previous buffer.
This commit is contained in:
Sanchayan Maity 2022-04-27 19:35:19 +05:30
parent 081f31aada
commit 679daf809a
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
setlocal bufhidden=wipe
setlocal bufhidden=hide
nnoremap <buffer> <silent> yy "+yy<C-^>