$ open -a "IntelliJ IDEA 12" $file
or add the following to .bashrc
alias vim='open -a "IntelliJ IDEA 12"'
# or vi, emacs, and so on.
More than 5 years have passed since last update.
$ open -a "IntelliJ IDEA 12" $file
or add the following to .bashrc
alias vim='open -a "IntelliJ IDEA 12"'
# or vi, emacs, and so on.
Register as a new user and use Qiita more conveniently