There you go, now you can launch MacVim through Alfred. The last and final step is to add that folder to the Search Scope of Alfred.
#Getting macvim install
The file browser will automatically be in the containing folder that you have just dragged into.ĥ. Run the following on the command line (in Terminal): brew install macvim -with-override-system-vim brew linkapps Edit your shell startup files to ensure that /usr/local/bin comes first in your PATH.
![getting macvim getting macvim](https://i.redd.it/n0cjzfw3p6v11.jpg)
Then drag and drop the folder to the file browser like what is done in the following picture. So I would type something like open usr/local/Cellar/macvim Normally it is located in usr/local/Cellar/macvim The easiest way to do this is to type vim in a search box, expand the All Editors category, and click on the arrow-looking icons next to the desired packages, as demonstrated in the following screenshot: The preceding screenshot shows version -1. To find the folder where MacVim is located in, my recommended way is to launch terminal. Here, we want to select the vim, gvim, and vim-doc packages. Now search for the folder where MacVim is located in. Under “Search Scope setting”, hit the + signĤ. Now, there’s a tip which allows Alfred to launch it.ģ. Moving the MacVim.app file to /Applications folder is not recommended as it will render the “mvim” command useless. I’ve try symlinking it to the Applications directory, but Alfred does not pick up.
![getting macvim getting macvim](https://qiita-image-store.s3.amazonaws.com/0/1668/01fccc8e-74ac-73b9-ded4-e03d92766814.png)
![getting macvim getting macvim](https://i.stack.imgur.com/p8TCr.png)
If you guys install MacVim through “brew” command, I guess you’ll notice that alfred can’t pick up MacVim.app as it wasn’t installed in the /Applications directory. Today i’m going to talk about launching MacVim with alfred.