From 0484e8661f0becfe7f43224bb9066a83ea4e3924 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 3 Jun 2014 20:52:42 -0400 Subject: vimrc: ignore "vendor/" in Command-T I typically don't want to search the vendor directory when I'm working in Ruby projects. --- vimrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 818168b..99a59e8 100644 --- a/vimrc +++ b/vimrc @@ -187,6 +187,10 @@ " 2014.06.02: " * Change tx to td. Typing "tx" is too uncomfortable. " +" 2014.06.03: +" * Ignore "vendor/" directories when searching in Command-T. Makes it +" easier to search in Ruby projects. +" " Pathogen @@ -320,6 +324,9 @@ endif " Remap Command-T from t to d (BBEdit style) nnoremap d :CommandT +" Directories & files to ignore during Command-T searches +let g:CommandTWildIgnore=&wildignore . ",*/vendor/*" + " NERDTree " Alphabetical sort ordering -- cgit v1.2.3