]> Vexing Labs - dotfiles.git/commitdiff
Add vim options for command-t
authorAdam A.G. Shamblin <adam.shamblin@mapquest.com>
Mon, 15 Sep 2014 21:47:20 +0000 (15:47 -0600)
committerAdam A.G. Shamblin <adam.shamblin@mapquest.com>
Mon, 15 Sep 2014 21:47:20 +0000 (15:47 -0600)
dotvimrc

index 4946bfbc4f1b11b616a564e42732e1b1710d0598..8d85e4c732867c8e4a38277e70297f65ddcaafd8 100644 (file)
--- a/dotvimrc
+++ b/dotvimrc
@@ -17,13 +17,22 @@ set visualbell
 set vb
 set colorcolumn=80
 set hlsearch
+set switchbuf=usetab
 
 set mouse=a
 set ttymouse=xterm2
 
+set wildignore+=**/node_modules/*,**/target/*
+
+let mapleader=","
+let g:CommandTAcceptSelectionTabMap='<CR>'
+
+map <leader>f :CommandT<cr>
+
+" Setup project/team-specific configurations
 function! SetupEnvironment()
     let l:path = expand('%:p')
-    " MapQuest project-specific configurations
+    " MapQuest
     if l:path =~ '/Users/ashamblin14/workspace'
         if &filetype == "javascript"
             setlocal tabstop=2 softtabstop=2 shiftwidth=2