greyblake / vim-preview

Vim plugin for previewing markup files(markdown,rdoc,textile,html)
GNU General Public License v2.0
209 stars 29 forks source link

I added better support for OSX #7

Closed spf13 closed 13 years ago

spf13 commented 13 years ago

It's a really simple fix. It simply adds open the the front of the applications which is in the PATH by default on OSX.

This works without any configuration and will open the preview in the default browser.

If anyone wants it, I'm happy to add additional configuration options, but this seems to work easily and well.

frejsoya commented 13 years ago

You could use xdg-open as well on linux, it uses the file mime type to lookup the associated application.

greyblake commented 13 years ago

The default value of PreviewBrowsers for OS X now start with open. Closed.