From 25c225123fb175dbd5b10c1c1bb8020f1059ecfd Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 5 Nov 2012 20:57:52 -0500 Subject: [PATCH] add ctrlp.vim plugin and remove command-t --- .gitmodules | 6 +++--- .vim/bundle/cctrlp.vim | 1 + .vimrc | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 160000 .vim/bundle/cctrlp.vim diff --git a/.gitmodules b/.gitmodules index 44f5b0c..5cd9997 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/.vim/bundle/cctrlp.vim b/.vim/bundle/cctrlp.vim new file mode 160000 index 0000000..7251d9d --- /dev/null +++ b/.vim/bundle/cctrlp.vim @@ -0,0 +1 @@ +Subproject commit 7251d9dce85e45b41dab00d7d7032713847ed5ea diff --git a/.vimrc b/.vimrc index 8ee13a6..69d020b 100644 --- a/.vimrc +++ b/.vimrc @@ -4,8 +4,11 @@ call pathogen#infect() call pathogen#helptags() -" Command-T Config +" ctrlp.vim Config +set runtimepath^=~/.vim/bundle/ctrlp.vim map gR :call ShowRoutes() + +" Command-T Config map gv :CommandTFlush\|:CommandT app/views map gc :CommandTFlush\|:CommandT app/controllers map gm :CommandTFlush\|:CommandT app/models