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',''])\" :