diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2021-02-22 21:46:28 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2021-02-22 21:46:28 +0900 |
commit | 29851c18aa47ad4b4cbf92358cfbe11935f0c033 (patch) | |
tree | 499cde76cb111c957e2314c8d631bdeccb0618a3 /plugin | |
parent | dea950c2c82b8c44a123a1eb7a7cfa9c08048d8c (diff) |
[vim] Force redraw by exiting and re-entering terminal mode
Workaround for Neovim v0.5.0-dev
https://github.com/junegunn/fzf/issues/2352#issuecomment-782894123
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 80d58223..be488a99 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -767,7 +767,7 @@ endfunction nnoremap <silent> <Plug>(fzf-insert) i nnoremap <silent> <Plug>(fzf-normal) <Nop> if exists(':tnoremap') - tnoremap <silent> <Plug>(fzf-insert) <Nop> + tnoremap <silent> <Plug>(fzf-insert) <C-\><C-n>i tnoremap <silent> <Plug>(fzf-normal) <C-\><C-n> endif |