]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
vim: change wildmode
authorR. Steve McKown <rsmckown@gmail.com>
Mon, 18 Jan 2016 07:05:28 +0000 (00:05 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Mon, 18 Jan 2016 07:05:28 +0000 (00:05 -0700)
Change wildmode so that one can 'back up' with S-Tab to the original
text entered before pressing Tab to activate wildmode.  This prevents
the need from needing to hit backspace a bunch of times to add more
correct characters before pressing Tab again to get a shorter list.

vim/vimrc

index 94d8fbb141de115b86380e245e8060e19ff2ec0a..045e896e613581a9653954eda0a7b680e88f3a94 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -23,6 +23,9 @@ call pathogen#helptags()
 runtime! plugin/sensible.vim
 nnoremap Y Y
 
+" Update wildmenu from sensible defaults
+set wildmode=longest:full,full
+
 " Set the correct font for gvim
 if has("gui_running")
   if has("gui_gtk2")