DEV Community

Cover image for Vim - The ultimate text editor?
André Hatlo-Johansen
André Hatlo-Johansen

Posted on

3 2

Vim - The ultimate text editor?

Vim

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple macOS.

Installation

Because we want an addon thats called You complete me, we cant use the standard vim that comes with the macbook pro.

To install the latest version, use homebrew:

brew install vim 
Enter fullscreen mode Exit fullscreen mode

Set the following infront of your path so when you use vim <file> it will open the version you just installed via homebrew.

In .zshrc copy it should look something like this:

export PATH="/usr/local/bin:$PATH
Enter fullscreen mode Exit fullscreen mode

Now you have vim with python 8 so you can use all the features of your normal text editor in vim.

The Ultimate vimrc

The Ultimate vimrc is a collection of vimrc configurations to make easy the usage of vim.

To download the The Ultimate vimrc, you need to install the git client. If you need install it, use home brew:

brew install git
Enter fullscreen mode Exit fullscreen mode

Now, download the vimrc files:

git clone https://github.com/amix/vimrc.git ~/.vim_runtime
Enter fullscreen mode Exit fullscreen mode

To install the complete version, run:

sh ~/.vim_runtime/install_awesome_vimrc.sh
Enter fullscreen mode Exit fullscreen mode

To install the basic version, run:

sh ~/.vim_runtime/install_basic_vimrc.sh
Enter fullscreen mode Exit fullscreen mode

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay