From 8e5abaf84161e2d0e4f88bf8639e13ec28c6d920 Mon Sep 17 00:00:00 2001 From: Robert Altner Date: Wed, 24 Apr 2024 11:13:20 +0200 Subject: [PATCH] fix esc for fzf buffers: --- init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.vim b/init.vim index 69403eb..6f6e4dd 100644 --- a/init.vim +++ b/init.vim @@ -27,6 +27,9 @@ let g:startify_change_to_vcs_root = 1 inoremap coc#pum#visible() ? coc#pum#prev(1) : "" inoremap coc#pum#visible() ? coc#pum#next(1) : "" +"Fix escape sending user to normal mode in fzf buffers +autocmd FileType fzf tnoremap + inoremap \ coc#pum#visible() ? coc#_select_confirm() : \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" :