From 6b2a728d97c3d53ba632479099b4d246138c4bc7 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 9 Dec 2022 23:36:33 -0800 Subject: [PATCH] added 'enter' to autofill first selection --- rsrcs/.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rsrcs/.vimrc b/rsrcs/.vimrc index f73bc3b..e4d91ad 100644 --- a/rsrcs/.vimrc +++ b/rsrcs/.vimrc @@ -27,7 +27,10 @@ filetype plugin indent on \ pumvisible() ? "\" : \ CheckBackspace() ? "\" : \ coc#refresh() + inoremap pumvisible() ? "\" : "\" + inoremap coc#pum#visible() ? coc#pum#confirm() + \: "\u\\=coc#on_enter()\" function! CheckBackspace() abort let col = col('.') - 1