Add completion toggle and delay

Wed, 13 Oct 2021 13:21:52 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Oct 2021 13:21:52 -0500
changeset 949
cb33f9050d24
parent 948
92cb1b3e285a
child 950
7980dce66a7a

Add completion toggle and delay

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -79,6 +79,8 @@ noremap <leader>cd :cd %:p:h<cr>:pwd<cr>
 
 noremap <leader>pp :setlocal paste!<cr>
 
+noremap <leader>cc :MUcompleteAutoToggle<cr>
+
 " faster window nav
 nnoremap <C-h> <C-w>h
 nnoremap <C-j> <C-w>j
@@ -350,6 +352,7 @@ let g:netrw_use_errorwindow = 0
 ">> mucomplete
 " enable and prefer local buffer before tags
 let g:mucomplete#enable_auto_at_startup = 1
+let g:mucomplete#completion_delay = 300
 let g:mucomplete#chains = {
   \ 'default': ['path', 'c-n', 'omni', 'tags', 'dict', 'uspl'],
   \}

mercurial