From bbf81ac04e59bd7a0cfec3819d386eb6ac5e8189 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 17 Jan 2021 10:14:53 +0100 Subject: [PATCH] vimrc: Fix Command-T bug, add Deoplete --- vimrc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 0d4ebd4..be36bc3 100644 --- a/vimrc +++ b/vimrc @@ -50,7 +50,7 @@ set ttymouse=sgr set mouse=a set mousemodel=popup_setpos set lazyredraw -set completeopt=menu,menuone,popup,longest +set completeopt=menu,menuone,preview,longest set timeoutlen=600 set ballooneval set balloonevalterm @@ -118,6 +118,9 @@ endfunction map * :call RequestGrep() map 8 :call RequestGrep() +" deoplete configuration +let g:deoplete#enable_at_startup = 1 + " vim-markdown configuration: let g:vim_markdown_conceal = 1 @@ -132,10 +135,6 @@ let g:CommandTGitScanSubmodules=1 let g:CommandTGitIncludeUntracked=1 let g:CommandTMatchWindowAtTop=0 let g:CommandTMaxHeight=20 -" See :h command-t-faq -if &term =~ "xterm" || &term =~ "screen" - let g:CommandTCancelMap = ['', ''] -end " Lightline configuration: set laststatus=2