Vim - The ultimate text editor?

andrehatlo

André Hatlo-Johansen

Posted on March 28, 2022

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
💖 💪 🙅 🚩
andrehatlo
André Hatlo-Johansen

Posted on March 28, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Vim - The ultimate text editor?
editor Vim - The ultimate text editor?

March 28, 2022