Permalink
Browse files

Better completion settings

  • Loading branch information...
1 parent 9aa4c01 commit 47f2051dbc88b01ae3d7bc43906842f9a6d14963 @lucashungaro committed Jul 25, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 vimrc
View
7 vimrc
@@ -31,13 +31,14 @@ set backspace=indent,eol,start " Intuitive backspacing.
set hidden " Handle multiple buffers better.
+" Better Completion
+set complete=.,b,u,]
+set completeopt=menu,preview
set wildmenu " Enhanced command line completion.
-set wildmode=longest,list " Complete files like a shell.
+set wildmode=longest,list:longest " Complete files like a shell.
set wildignore+=*.o,*.obj,.git,*.rbc,*.class,.svn,*.jpg,*.jpeg,*.png,*.gif,vendor/**,db/sphinx,log/**,tmp/**,public/uploads,coverage/**
-" Better Completion
-set completeopt=longest,menuone,preview
set ignorecase " Case-insensitive searching.
set smartcase " But case-sensitive if expression contains a capital letter.

0 comments on commit 47f2051

Please sign in to comment.