[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
This commit is contained in:
Junegunn Choi 2021-02-22 21:46:28 +09:00
parent dea950c2c8
commit 29851c18aa
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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