2 ms·
Fwiw with a couple of plugins[1], I have very nice code completion in vim with ruby/rails along with useful "go to definition". Perhaps not as challenging as pu
by e12e 9y ago
Fwiw with a couple of plugins[1], I have very nice code completion in vim with ruby/rails along with useful "go to definition". Perhaps not as challenging as punching cards - but it's not like vim is some kind of bare bones editor...
[1] for a starting point see https://github.com/tpope/gem-ctags/blob/master/README.markdown https://github.com/tpope/gem-ctags/blob/master/README.markdo... I'm on my cell, but as far as I can rember my ruby specific part of vim rc is ~5 lines or so. Coupled with 'guard' to run ctags over changed files...
At a glance, this seems to cover the essentials:
https://chodounsky.net/2016/12/09/using-tags-to-browse-ruby-and-gem-source-with-vim/ https://chodounsky.net/2016/12/09/using-tags-to-browse-ruby-...