Last active
August 29, 2015 14:02
-
-
Save pgchamberlin/00c28f859a1c0fe19879 to your computer and use it in GitHub Desktop.
Vim command to open file in Chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the current file in Chrome in OSX from Vim | |
# Add this to ~/.vimrc | |
# Usage: `:Browse` | |
command Browse execute "!/usr/bin/open -a \"/Applications/Google Chrome.app\"" expand('%:p') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment