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 0e8eb83 + 8613796 commit 24daa61Copy full SHA for 24daa61
plugin/fern_hijack.vim
@@ -8,8 +8,9 @@ function! s:hijack_directory() abort
8
if !isdirectory(path)
9
return
10
endif
11
- keepjumps keepalt bwipeout %
+ let bufnr = bufnr()
12
execute printf('keepjumps keepalt Fern %s', fnameescape(path))
13
+ execute printf('bwipeout %d', bufnr)
14
endfunction
15
16
function! s:suppress_netrw() abort
0 commit comments