From 679daf809abd83f93b510b9e6971e3b1dd7c0a9f Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 27 Apr 2022 19:35:19 +0530 Subject: [PATCH] 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. --- nvim/.config/nvim/after/ftplugin/dirvish.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/after/ftplugin/dirvish.vim b/nvim/.config/nvim/after/ftplugin/dirvish.vim index 796fb2f..c898b6b 100644 --- a/nvim/.config/nvim/after/ftplugin/dirvish.vim +++ b/nvim/.config/nvim/after/ftplugin/dirvish.vim @@ -1,4 +1,4 @@ -setlocal bufhidden=wipe +setlocal bufhidden=hide nnoremap yy "+yy