Quick swapping of related buffers for Meteor, assuming you've laid the source tree out as Meteor air-quotes best practice suggests.
To install:
- Put
meteor_find_alternate
on your$PATH
andchmod +x
- Put vim snippet in
~/.vimrc
Assuming your leader is \
, then the following commands will work:
\mt
-> open a vsplit to show the template js when in the template html, and vice-versa, creates if doesn't exist
\mT
-> same as above, except uses the current window instead
\mu
-> open a vsplit to show the unit test when in any js file, creates if doesn't exist
\mU
-> same as above, except uses the current window instead