Skip to content

Commit 884c98d

Browse files
authored
Merge pull request #3 from lambdalisue/fix-issue2
Fix #2
2 parents ab43833 + c5cd3c7 commit 884c98d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugin/fern_hijack.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ function! s:hijack_directory() abort
88
if !isdirectory(path)
99
return
1010
endif
11-
let dirbuf = bufnr()
12-
execute printf('Fern %s', fnameescape(path))
13-
silent execute 'bwipeout' dirbuf
11+
execute printf('keepjumps keepalt Fern %s', fnameescape(path))
1412
endfunction
1513

1614
function! s:suppress_netrw() abort

0 commit comments

Comments
 (0)