From aa57053d30f72644cb68fa8d4ca267ba64a33522 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Tue, 19 Feb 2019 10:58:33 +0100 Subject: [PATCH] Coc: highlight after 500ms --- init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.vim b/init.vim index 9f9252e..948d3c6 100644 --- a/init.vim +++ b/init.vim @@ -208,9 +208,11 @@ let g:chromatica#enable_at_startup=1 " ===================COC============================= inoremap coc#refresh() autocmd CursorHold * silent call CocActionAsync('highlight') +set updatetime=500 " After ms should CursorHold trigger " Remap for format selected region vmap f (coc-format-selected) nmap f (coc-format-selected) + nmap r (coc-rename) " Use `:Format` for format current buffer command! -nargs=0 Format :call CocAction('format')