]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Show completion menu even if only one entry matches.
authorSimon Ruderich <simon@ruderich.org>
Sun, 7 Oct 2012 23:11:00 +0000 (01:11 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 7 Oct 2012 23:11:00 +0000 (01:11 +0200)
vimrc

diff --git a/vimrc b/vimrc
index ed6ce3b1f7882d0b345eefc8749deccb879926d6..48f52f335e1deec75a45c1219ae38d4df5978cbd 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -70,6 +70,11 @@ if exists('+wildignorecase')
     set wildignorecase
 endif
 
+" Show completion menu even if only one entry matches.
+if exists('+completeopt')
+    set completeopt+=menuone
+endif
+
 " Increase history of executed commands (:).
 set history=1000