Hello,
I'm a vim beginner, and I'm trying to do the following:
Given my sources files, organized this way:
src/models/Model1.js
src/views/View1.js
...
And my tests:
tests/models/Model1.spec.js
tests/views/View1.spec.js
I would like to write/use a vim command to open from one, the other.
For exemple if I have src/models/Model1.js open:
<Leader> os => :vsp tests/models/Model1.spec.js
For exemple if I have tests/views/View1.spec.js:
<Leader> os => :vsp src/views/View1.js
I don't really know where to start to make this thing works and even not sure it's feasable?
Maybe someone could give me a hand,
Thanks,
Adrien
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, July 15, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment