Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Monday, October 26, 2020

Installing Vim on a Mac

Installing Vim on Macs is not complicated! Let's review how.
Photo by Alex Knight on Unsplash

As previously seen, Vim is not very popular among developers and sysadmins. Turns out that Vim's also very popular with Mac users too! On this post we'll learn how to setup Vim on your Mac.

Requirements

To install Vim on your Mac you'll need Homebrew installed. It's a pretty straightforward install and simplifies a lot our Vim install.

Installing Vim

With Homebrew installed, installing Vim is simple. Open a terminal and type:

brew install vim

Testing the Install

With Vim installed, next step is to test if it's running with:

vim

Exiting Vim

In case it's your first time with Vim, to exit press:

<Esc> :q!

Listing installed features

It's also possible to list which features are installed in your setup by running:

vim --version
The enabled features will be marked with (+) while the disabled should have the (-) symbol aside.

Conclusion

One this post we reviewed how to install Vim on a Mac using Homebrew. We hope it helps!

See Also

Any comment about this page? Please contact us on Twitter

Featured Article

Vim - Ex Mode

When learning Vim, it's important to understand its modes, including the  Ex Mode  where you can continually type your commands u...

Popular Posts