MacVim is a text/source editor for Mac that offers Vim built around GUI, that comes with extra features and support Mac-based keyboard shortcuts, which makes it very handy to use, MacVim added interactive interface like menus to tasks that had to be done using commands or keyboard shortcuts. It’s similar to GVim on Linux.
To install MacVim we need to get Homebrew
Open Terminal (⌘ + SPACE type terminal)
Paste this in your Terminal (You need to have XCode installed)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install MacVim using Homebrew
brew install macvim
Adding shortcut to
brew linkapps macvim
If you want to set MacVim to open when
vim is typed in the Terminal.
brew install macvim --override-system-vim
To check if everything is running fine run.
Now you have MacVim installed If you have any questions feel free to leave a comment below.