Last Updated: February 25, 2016
·
561
· wojtekkruszewsk

Quickly access source of a gem in Vim

  1. Open new buffer (new tab/split window)
  2. :lcd `bundle show devise` to switch to gem dir in this buffer
  3. Browse the source: e . to open directory listing, Use ctrl+p plugin for fuzzy-searching or Ack plugin for searching code.