Skip to content

Commit

Permalink
ctrP mapping instead CommandT
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarik committed Mar 6, 2013
1 parent 14ed4e7 commit cb11ed3
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -354,20 +354,28 @@ nnoremap <leader>gn :vnew \| :FufFile ~/src/notes/<CR>

" Command-T
" Bundle 'wincent/Command-T.git'
let g:CommandTMatchWindowAtTop=1 " show window at top
"burke's
nnoremap <leader>tv :CommandTFlush<cr>\|:CommandT app/views<cr>
nnoremap <leader>tc :CommandTFlush<cr>\|:CommandT app/controllers<cr>
nnoremap <leader>tm :CommandTFlush<cr>\|:CommandT app/models<cr>
nnoremap <leader>tl :CommandTFlush<cr>\|:CommandT lib<cr>
nnoremap <leader>ta :CommandTFlush<cr>\|:CommandT app/assets<cr>
nnoremap <leader>tp :CommandTFlush<cr>\|:CommandT public<cr>
nnoremap <leader>tr :topleft :vsplit config/routes.rb<cr>
nnoremap <leader>tg :topleft :vsplit Gemfile<cr>
" let g:CommandTMatchWindowAtTop=1 " show window at top
" nnoremap <leader>tv :CommandTFlush<cr>\|:CommandT app/views<cr>
" nnoremap <leader>tc :CommandTFlush<cr>\|:CommandT app/controllers<cr>
" nnoremap <leader>tm :CommandTFlush<cr>\|:CommandT app/models<cr>
" nnoremap <leader>tl :CommandTFlush<cr>\|:CommandT lib<cr>
" nnoremap <leader>ta :CommandTFlush<cr>\|:CommandT app/assets<cr>
" nnoremap <leader>tp :CommandTFlush<cr>\|:CommandT public<cr>
" nnoremap <leader>tr :topleft :vsplit config/routes.rb<cr>
" nnoremap <leader>tg :topleft :vsplit Gemfile<cr>

"
Bundle 'kien/ctrlp.vim'
let g:ctrlp_map = '<leader>t'
let g:ctrlp_max_height = 30
nnoremap <leader>ev :CtrlP app/views<cr>
nnoremap <leader>ec :CtrlP app/controllers<cr>
nnoremap <leader>em :CtrlP app/models<cr>
nnoremap <leader>el :CtrlP lib<cr>
nnoremap <leader>ea :CtrlP app/assets<cr>
nnoremap <leader>ep :CtrlP public<cr>
nnoremap <leader>er :topleft :vsplit config/routes.rb<cr>
nnoremap <leader>eg :topleft :vsplit Gemfile<cr>
" Misc stuff
Bundle '~/Dropbox/.gitrepos/utilz.vim.git'
Expand Down

0 comments on commit cb11ed3

Please sign in to comment.