vim-rails icon indicating copy to clipboard operation
vim-rails copied to clipboard

Command for opening rails documentation for the current rails version

Open anhari opened this issue 7 years ago • 1 comments
trafficstars

What do you think of adding a command to open the API documentation for the current Rails version?

Something like :Rapidocs that would navigate to http://api.rubyonrails.org with the current version appended as a path, i.e. http://api.rubyonrails.org/v4.2.10/.

anhari avatar Apr 20 '18 15:04 anhari

Ages ago this was a feature. See 06b055ef2f8d8c9e8189b26c3a9d6e5b63ed904d. I ended up removing it because just opening the root URL was absurdly low value. Version number ups that value a teensy bit, but not enough to justify editor integration imho. Now if we could search for the keyword under the cursor or something, I'd be on board. But RDoc doesn't seem particularly amenable to that sort of stuff.

tpope avatar Apr 20 '18 23:04 tpope