Dash is an incredibly useful Mac app that I’d highly recommend all developers check out. It lets you instantly search developer documentation (devdocs) straight from your computer:
If you want to constrain your search to a specific set of devdocs, you can prefix your search such as
ruby:gsub and it will only check the Ruby docs.
I also set Cmd+Shift+D to load Dash so that I can pull it up while I’m coding, perform a search, and Alt+Tab back to Sublime without ever touching the mouse.
It’s free to try and $24.99 to buy. Give it a shot and rejoice that you’ll never again have to Google for documentation.