I found the auto-find feature very useful when using fzf in vim. However, it's slightly annoying that the cursor moves to the NERDTree split, which prevents me from immediately editing the buffer I just openned.
I see that the cursor movement behavior comes from NERDTreeFind; this PR retains the cursor position via wincmd p, without having to modify NERDTreeFind.
I found the auto-find feature very useful when using
fzf
invim
. However, it's slightly annoying that the cursor moves to the NERDTree split, which prevents me from immediately editing the buffer I just openned.I see that the cursor movement behavior comes from
NERDTreeFind
; this PR retains the cursor position viawincmd p
, without having to modifyNERDTreeFind
.