[vim] Command mode autocomplete only to longest common prefix

This commit is contained in:
lhark 2019-04-18 00:23:31 -04:00
parent 6255f5b9e6
commit abd07985fb

5
vimrc
View file

@ -82,7 +82,10 @@ set ruler " show the cursor position all the time
set showcmd " display incomplete commands set showcmd " display incomplete commands
set laststatus=2 set laststatus=2
set noshowmode set noshowmode
set wildmenu " display completion matches in a status line
"[Command mode autocompletion]"
set wildmenu
set wildmode=longest:full,full
set ttimeout " time out for key codes set ttimeout " time out for key codes
set ttimeoutlen=100 " wait up to 100ms after Esc for special key set ttimeoutlen=100 " wait up to 100ms after Esc for special key