Open HTML File In Browser From Vim
Open the HTML file you are editing in the browser. No more hunting in Finder.
(Mac only): Add this to your ~/.vimrc file and replace Safari with whatever browser you use:
:map <Leader>p :!open -a Safari %<CR><CR>
To use, in command mode just hit \p. No more searching for that file in Finder just to preview it.
(Replace the p with any key you want to be the shortcut.)
