diff --git a/.vimrc b/.vimrc index fbdc74c..3e2dfb5 100644 --- a/.vimrc +++ b/.vimrc @@ -33,6 +33,7 @@ set noswapfile set viminfo='20,\"100 "max 100 lines in registers set cmdheight=2 +set novisualbell " sudo save command! W execute 'w !sudo tee % > /dev/null' edit! @@ -67,14 +68,15 @@ inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : \ coc#refresh() -inoremap pumvisible() ? "\" : "\" + inoremap pumvisible() ? "\" : "\" function! s:check_back_space() abort let col = col('.') - 1 return !col || getline('.')[col - 1] =~# '\s' endfunction -inoremap coc#refresh() +" use @ instead of space +inoremap coc#refresh() if has('patch8.1.1068') inoremap complete_info()["selected"] != "-1" ? "\" : "\u\"