Created
February 8, 2012 00:57
-
-
Save codelahoma/1763670 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" CtrlP config to replace Gary Bernhardt's Command-T config | |
" from 'File Navigation with Vim' | |
" (http://www.destroyallsoftware.com/file-navigation-in-vim.html) | |
map <leader>f :ClearCtrlPCache<cr>\|:CtrlPCurWD<cr> | |
map <leader>gf :ClearCtrlPCache<cr>\|:CtrlPCurFile<cr> | |
map <leader>b :CtrlPBuffer<cr> | |
" Custom Rails specific CtrlP mappings | |
map <leader>gv :ClearCtrlPCache<cr>\|:CtrlP app/views<cr> | |
map <leader>gc :ClearCtrlPCache<cr>\|:CtrlP app/controllers<cr> | |
map <leader>gm :ClearCtrlPCache<cr>\|:CtrlP app/models<cr> | |
map <leader>gh :ClearCtrlPCache<cr>\|:CtrlP app/helpers<cr> | |
map <leader>gl :ClearCtrlPCache<cr>\|:CtrlP lib<cr> | |
map <leader>gp :ClearCtrlPCache<cr>\|:CtrlP public<cr> | |
map <leader>gs :ClearCtrlPCache<cr>\|:CtrlP public/stylesheets<cr> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment