* fredianiadrien <[email protected]> [2015-07-16 04:13]: > 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?
There is expand() builtin function. Also read about filename-modifiers. -- Dmitri Vereshchagin -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
