From 04bfc884294e090f4f5dae552b7d3429610a8f07 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 9 Apr 2022 14:40:08 +0800 Subject: Allow to return to normal mode by c-g c-g (vim) --- .vim/after/plugin/mucomplete.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.vim/after') diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim index 839ef12..3a93af5 100644 --- a/.vim/after/plugin/mucomplete.vim +++ b/.vim/after/plugin/mucomplete.vim @@ -16,11 +16,8 @@ let g:mucomplete#can_complete.cpp = { 'omni': s:cpp_cond } let g:mucomplete#can_complete.objcpp = { 'omni': s:cpp_cond } let g:mucomplete#can_complete.cuda = { 'omni': s:cpp_cond } -let g:mucomplete#chains = {} -let g:mucomplete#chains.default = - \ [ 'ulti', 'user', 'omni', 'tags', 'keyn', 'path' ] - imap (MUcompleteBwd) +imap pumvisible() ? "\(MUcompleteOut)" : "\" " Integrate with UltiSnips -- cgit v1.2.3