# VIM

### Installation <a href="#installation" id="installation"></a>

To install the latest version, use homebrew:

```
brew install vim
```

### The Ultimate vimrc <a href="#the-ultimate-vimrc" id="the-ultimate-vimrc"></a>

[The Ultimate vimrc](https://github.com/amix/vimrc) it's 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
```

Now, download the vimrc files:

```
git clone https://github.com/amix/vimrc.git ~/.vim_runtime
```

To install the complete version, run:

```
sh ~/.vim_runtime/install_awesome_vimrc.sh
```

To install the *basic* version, run:

```
sh ~/.vim_runtime/install_basic_vimrc.sh
```

#### Update <a href="#update" id="update"></a>

To update the vimrc scripts, run:

```
cd ~/.vim_runtime && git pull --rebase && cd -
```

### Maximum Awesome <a href="#maximum-awesome" id="maximum-awesome"></a>

[Maximum Awesome](https://github.com/square/maximum-awesome) it's a collection of vim configuration and plugins, like a configuration manager for the vim environment.

#### Installation <a href="#installation" id="installation"></a>

To install it, just make a clone of the repository with the git client:

```
git clone https://github.com/square/maximum-awesome.git
```

Then install it:

```
cd maximum-awesome
rake
```

> **NOTE:** the rake command will install all dependencies needed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.mikaelsamvelian.com/macos-setup/iterm/vim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
