From abd07985fb123a0493d2b0267909d3e290300e49 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 18 Apr 2019 00:23:31 -0400 Subject: [PATCH] [vim] Command mode autocomplete only to longest common prefix --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 7ae21fc..6c16d20 100644 --- a/vimrc +++ b/vimrc @@ -82,7 +82,10 @@ set ruler " show the cursor position all the time set showcmd " display incomplete commands set laststatus=2 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 ttimeoutlen=100 " wait up to 100ms after Esc for special key