Added ,m and ,M jump-to-method(tag) via CtrlP

This commit is contained in:
yan 2012-05-02 22:41:51 -07:00
parent 95f5d40b43
commit 52a6266ce4
2 changed files with 10 additions and 2 deletions

View File

@ -306,7 +306,8 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,t` - CtrlP fuzzy file selector
* `,b` - CtrlP buffer selector
* `Cmd-Shift-P` - Clear CtrlP cache
* `,m` - jump to method - CtrlP tag search within current buffer
* `,M` - jump to any Method - CtrlP tag search within all buffers
* `,jm` jump (via CtrlP) to app/models
* `,jc` app/controllers
* `,jv` app/views
@ -320,6 +321,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,jC` config
* `,jV` vendor
* `,jF` factories
* `Cmd-Shift-P` - Clear CtrlP cache
#### RSI-reduction

View File

@ -27,8 +27,14 @@ map ,jl :CtrlP lib<CR>
map ,jp :CtrlP public<CR>
map ,js :CtrlP spec<CR>
map ,jf :CtrlP fast_spec<CR>
map ,jt :CtrlP test<CR>
map ,jd :CtrlP db<CR>
map ,jC :CtrlP config<CR>
map ,jV :CtrlP vendor<CR>
map ,jF :CtrlP factories<CR>
map ,jT :CtrlP test<CR>
"Cmd-(m)ethod - jump to a method (tag in current file)
map ,m :CtrlPBufTag<CR>
"Ctrl-(M)ethod - jump to a method (tag in all files)
map ,M :CtrlPBufTagAll<CR>