Share Highlighted Code
Today I learned a cool trick.
Select a range of code, enter command mode, and type
This opens Github in your browser with the range of code highlighted. Github support seems to be standard; I believe you can add other code hosting providers.
Here's a link I made with this command:
This also accepts a line number: