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.
1 parent 72b715f commit 55429b0Copy full SHA for 55429b0
plugin/fern_hijack.vim
@@ -8,8 +8,9 @@ function! s:hijack_directory() abort
8
if !isdirectory(path)
9
return
10
endif
11
- silent bwipeout %
+ let dirbuf = bufnr()
12
execute printf('Fern %s', fnameescape(path))
13
+ silent execute 'bwipeout' dirbuf
14
endfunction
15
16
function! s:suppress_netrw() abort
0 commit comments