developer's diary

最近はc#のエントリが多いです

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