Today I Learned

hashrocket A Hashrocket project

Open a URL from Vim

If you have Vim and Netrw, you can open a URL in your browser of choice, right from the editor.

Place the cursor on the URL and type gx.

This will invoke your file handler; open for OSX. As a result, it also works with file types such as images, GIFs, and videos.

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.