From 72d16c8035cd6f6ca34058c350cb037c66581f87 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 25 Jun 2014 16:45:52 -0400 Subject: vimrc: add sf mapping to :CommandTFlush :CommandTFlush reloads the search list. Necessary when switching branches or creating new files for example. Add a mapping to make it faster to do this. --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index c35b251..b595a16 100644 --- a/vimrc +++ b/vimrc @@ -213,6 +213,11 @@ " * Fix 'Open in TextMate' mapping: allow paths with spaces " * Fix 'Open path in Finder' mapping: allow paths with spaces " +" 2014.06.25: +" * Add mapping to CommandTFlush. Sometimes when I switch branches I'll +" have to do this and typing :co multiple times a +" day adds up. +" " Pathogen @@ -345,6 +350,7 @@ endif " Command-T " Remap Command-T from t to d (BBEdit style) nnoremap d :CommandT +nnoremap sf :CommandTFlush " Directories & files to ignore during Command-T searches let g:CommandTWildIgnore=&wildignore . ",*/vendor/*" -- cgit v1.2.3