add ctrlp.vim plugin and remove command-t

This commit is contained in:
Michael Campagnaro 2012-11-05 20:57:52 -05:00
parent 3cda05e0c2
commit 25c225123f
3 changed files with 8 additions and 4 deletions

6
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule ".vim/bundle/Command-T"]
path = .vim/bundle/Command-T
url = git://github.com/wincent/Command-T.git
[submodule ".vim/bundle/vim-fugitive"]
path = .vim/bundle/vim-fugitive
url = git://github.com/tpope/vim-fugitive.git
@ -10,3 +7,6 @@
[submodule ".vim/bundle/vim-colorscheme-elrodeo"]
path = .vim/bundle/vim-colorscheme-elrodeo
url = git://github.com/chmllr/vim-colorscheme-elrodeo.git
[submodule ".vim/bundle/cctrlp.vim"]
path = .vim/bundle/cctrlp.vim
url = https://github.com/kien/ctrlp.vim.git

@ -0,0 +1 @@
Subproject commit 7251d9dce85e45b41dab00d7d7032713847ed5ea

5
.vimrc
View File

@ -4,8 +4,11 @@
call pathogen#infect()
call pathogen#helptags()
" Command-T Config
" ctrlp.vim Config
set runtimepath^=~/.vim/bundle/ctrlp.vim
map <leader>gR :call ShowRoutes()<cr>
" Command-T Config
map <leader>gv :CommandTFlush<cr>\|:CommandT app/views<cr>
map <leader>gc :CommandTFlush<cr>\|:CommandT app/controllers<cr>
map <leader>gm :CommandTFlush<cr>\|:CommandT app/models<cr>