ctagsをインストールする
$ brew install ctags ==> Downloading https://homebrew.bintray.com/bottles/ctags-5.8_1.yosemite.bottle.tar.gz ######################################################################## 100.0% ==> Pouring ctags-5.8_1.yosemite.bottle.tar.gz ==> Caveats Under some circumstances, emacs and ctags can conflict. By default, emacs provides an executable `ctags` that would conflict with the executable of the same name that ctags provides. To prevent this, Homebrew removes the emacs `ctags` and its manpage before linking. However, if you install emacs with the `--keep-ctags` option, then the `ctags` emacs provides will not be removed. In that case, you won't be able to install ctags successfully. It will build but not link. ==> Summary 🍺 /usr/local/Cellar/ctags/5.8_1: 8 files, 364K
tagを生成する
$ ctags --langmap=RUBY:.rb --exclude="*.js" --exclude=".git*" -R .
vimでの操作する
CTRL-] → 定義元にジャンプ
CTRL-T → 定義先へジャンプ
参考記事
macにctagsインストールして、vimでRailsのソースコード読む – Qiita
http://qiita.com/maeharin/items/9f98c0d63ab764ee21a8