Skip to content
Myr

[vim] Exit terminal mode before closing FZF window (#2326)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix https://github.com/junegunn/fzf.vim/issues/1216

authored by Olivier Roques · committed by GitHub · parent af48b3d · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:plugin/fzf.vim+2 added
790 unmodified lines
791 endfor792 call self.switch_back(1)793 else794 if bufnr('') == self.buf795 " Exit terminal mode first (see neovim#13769)796 call feedkeys("\<C-\>\<C-n>", 'n')797 " We use close instead of bd! since Vim does not close the split when798 " there's no other listed buffer (nvim +'set nobuflisted')799 close800 endif
186 unmodified lines