aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2014-06-25 16:45:52 -0400
committerTeddy Wing2014-06-25 16:45:52 -0400
commit72d16c8035cd6f6ca34058c350cb037c66581f87 (patch)
tree83ccb270b610f1cc3a7ddcdf5696a57e96350de5 /vimrc
parent16b587f2413ed88075e8395126a6d6a0c0888051 (diff)
downloaddotvim-72d16c8035cd6f6ca34058c350cb037c66581f87.tar.bz2
vimrc: add <leader>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.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
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<Tab><Tab><Tab><CR> multiple times a
+" day adds up.
+"
" Pathogen
@@ -345,6 +350,7 @@ endif
" Command-T
" Remap Command-T from <leader>t to <leader>d (BBEdit style)
nnoremap <leader>d :CommandT<cr>
+nnoremap <leader>sf :CommandTFlush<cr>
" Directories & files to ignore during Command-T searches
let g:CommandTWildIgnore=&wildignore . ",*/vendor/*"