changeset 317:b0b868bb0d44

More vim changes.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 23 Aug 2015 21:55:03 -0700
parents 8f49f36b76ef
children 84d3acadf2b0
files vim/vimrc
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vim/vimrc	Mon Aug 10 18:33:09 2015 -0700
+++ b/vim/vimrc	Sun Aug 23 21:55:03 2015 -0700
@@ -134,7 +134,13 @@
 " Better command-line completion, but don't show some
 " stuff we don't care about.
 set wildmenu
-set wildignore+=.DS_Store,Thumbs.db,*.so,*.dll,*.exe,*.lib,*.pdb,*.pyc,*.pyo
+set wildmode=list:longest
+set wildignore+=.DS_Store,Thumbs.db
+set wildignore+=*.so,*.dll,*.exe,*.lib,*.pdb
+set wildignore+=*.pyc,*.pyo
+set wildignore+=*.swp
+
+set formatoptions=croqn1
 
 " Always display the tab-page line.
 set showtabline=2
@@ -246,6 +252,9 @@
 " Remember things.
 let g:ctrlp_clear_cache_on_ext = 0
 
+" Don't include some stuff in the most recently used list.
+let g:ctrlp_mruf_exclude = 'hg\-editor\-\d+\.txt'
+
 " Enable some cool extensions.
 let g:ctrlp_extensions = [
             \'tag', 'buffertag', 'quickfix', 'mixed', 'bookmarkdir',