I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one?
So the question is, how can I make VIM (run in iTerm2) the default text editor?
|
I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one? So the question is, how can I make VIM (run in iTerm2) the default text editor? | |||
feedback
|
|
See my answer here, but use a Run AppleScript action in Automator instead and use the following AppleScript code:
This'll open a new iTerm window if there's none, otherwise a new tab, and open the file in there. Result:
| |||||||||||
feedback
|