Created
January 30, 2014 21:16
-
-
Save torgeir/8719227 to your computer and use it in GitHub Desktop.
Open file from intellij in macvim, move the cursor to the current line.
This file contains 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
#!/bin/bash | |
vim="/usr/local/bin/mvim $*" | |
osascript<<END | |
tell app "iTerm" | |
activate | |
do shell script "$vim" | |
end tell | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Intellij -> Settings -> External Tools -> Add
Name: mvim
Open console: no
Program: /path/til/launch_mvim_intellij.sh
Parameters: --remote-tab-silent +$LineNumber$ "$FilePath$"