On Mon, 9 Jul 2012, rubyonrailsx wrote:
> Hi, All
> My first post here .
>
> I want have a custom helper which can help me navigate between
> source and test file. Anybody have any idea?
Based on your username, you may be looking for Tim Pope's vim-rails
plugin¹. Its :R command will let you jump to the "Related" file, which
is often the test file from the source file (or vice versa).
If you're new to Vim, a few of my coworkers have liked the Janus²
"distribution".
If you don't want to go that route, at least do yourself a favor and use
a plugin manager. Personally, I find vim-addon-manager³ to be extremely
useful for installing plugins, but I use pathogen⁴ to actually activate
them on startup.
--
Best,
Ben
¹: https://github.com/tpope/vim-rails/
²: https://github.com/carlhuda/janus/
³: https://github.com/MarcWeber/vim-addon-manager
⁴: https://github.com/tpope/vim-pathogen/
--
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
Monday, July 9, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment