I\'d like to be able to send the HTML file I\'m currently editing in vim to my web browser, Chrome. I\'m running Linux.
This gets me very close:
For Mac, you might have to type something that looks more like this:
nnoremap f :exe ':silent !open -a /Applications/Firefox.app %'
nnoremap c :exe ':silent !open -a /Applications/Google\ Chrome.app %'
nnoremap g :exe ':silent !open -a /Applications/Google\ Chrome.app %'
nnoremap s :exe ':silent !open /Applications/Safari.app %'
Notce it's Safari.app on the end...it'll save you a few minutes. :)