We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab43833 + c5cd3c7 commit 884c98dCopy full SHA for 884c98d
plugin/fern_hijack.vim
@@ -8,9 +8,7 @@ function! s:hijack_directory() abort
8
if !isdirectory(path)
9
return
10
endif
11
- let dirbuf = bufnr()
12
- execute printf('Fern %s', fnameescape(path))
13
- silent execute 'bwipeout' dirbuf
+ execute printf('keepjumps keepalt Fern %s', fnameescape(path))
14
endfunction
15
16
function! s:suppress_netrw() abort
0 commit comments