From: Simon Ruderich Date: Sat, 27 Nov 2010 13:40:18 +0000 (+0100) Subject: vimrc: Improve 'wildmode'. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d46c3a34499ad00e6d23cb1ac369523e7369b766;p=config%2Fdotfiles.git vimrc: Improve 'wildmode'. --- diff --git a/vimrc b/vimrc index 7d1f0ae..7728023 100644 --- a/vimrc +++ b/vimrc @@ -39,9 +39,10 @@ set directory-=. " securemodelines (Vim script #1876). set nomodeline -" When completing paths first use the longest path then display a list of all -" possible files. -set wildmode=longest,list +" Complete to longest common string (list:longest) and then complete all full +" matches after another (full). Thanks to pbrisbin +" (http://pbrisbin.com:8080/dotfiles/vimrc). +set wildmode=list:longest,full " Use strong encryption if possible, also used for swap/undo files. if v:version >= 703