vimからchromeを起動する
保存してからコマンドを実行?
:w :! google-chrome index.html
とかでいいのかな?
ちなみにfirefoxだとこう。
:! firefox index.html
変わりないね。
macでvimからchromeを起動する方法は、
:w :!/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome index.html
保存してからコマンドを実行?
:w :! google-chrome index.html
とかでいいのかな?
ちなみにfirefoxだとこう。
:! firefox index.html
変わりないね。
macでvimからchromeを起動する方法は、
:w :!/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome index.html