Sadly, it's not the latest stable version so I'm going to update it to ^ 8.1.x. Then delete the MacVim related plist files. Check out the latest stable Vim version at vim.org/download.php. The most current version at this time of writing is Vim 8.1.
No need to install if your current version is the latest stable version.
I spent like 30 mins trying to figure out how to install Vim when I first heard about it, so I'm saving you the wasted effort: Vim comes pre-installed in MacOS. You technically don't need to leave the Terminal to code. (I am not an Applescript or MacOS dev, and I have no idea where the string "iterm_application" originated I did search through iTerm.app's codebase and I did use an app called Apparency to see if something jumped out.It's a powerful open-source text editor that allows you to edit your text files on the command line. I tried some obvious variations like "macvim", "MacVim", "macvim_application", etc., but those didn't do the trick. I was able to find that the equivalent for " 2" is " ", but I don't know what goes in place of "iterm_application". I figure, okay, all I need to do is to replace the iterm stuff with MacVim stuff. Var app = Application(getenv("iterm_application", "2")) ΔΆ.
This line of code in it is clearly important: The normal installation path is c:\Program Files (x86)\Vim (Let call this MVIMHOME. In the filter.js file for the workflow the alfred-tty code controls iTerm by looking for active windows. Windows The Vim installer will add the VIMEXEDIR and the path into system PATH. The workflow uses two files, action.js and filter.js. That looked very promising, but I got stuck on this: My first thought was that I could simply steal from the alfred-tty workflow. What I'm thinking is that an analogue for MacVim would display a list of open MacVim sessions, titled by filename, and that one could switch to that particular MacVim session in the same fashion as the iTerm workflow I've described. Selecting one of them switches to that window. The alfred-tty workflow I'm referencing allows someone to invoke Alfred, type in the keyword 'tty' and be shown a list of running iTerm windows, titled by the cwd of the iTerm window. I am talking about the MacOS GUI MacVim.app, not about Vim running as a console app. I sometimes use tabs in MacVim, as well, but I tend to have multiple MacVim windows going no matter what. I asked in r/Alfred if anyone had done something like this, but no answers, so I thought I would ask here. I discovered a cool Alfred workflow to switch between iTerm windows (Robin Breathe's nifty alfred-tty workflow) and I thought it would be fantastic if I could do the same in MacVim. Navigation between open file windows is simple: press Controlkey + w and then either 'h', 'j', 'k', or 'l' to move the cursor to the file window to either the left, the bottom, the top, or the right of the current window.