[vim] Command mode autocomplete only to longest common prefix
This commit is contained in:
parent
6255f5b9e6
commit
abd07985fb
1 changed files with 4 additions and 1 deletions
5
vimrc
5
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue