Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VIM built-in package management to the read me #401

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ Comment functions so powerful—no comment necessary.

## Installation

Below are just some of the methods for installing nerdcommenter. Do not follow all of these instructions; just pick your favorite one. Other plugin managers exist, and nerdcommenter should install just fine with any of them.

#### Vim 8+ packages

If you are using VIM version 8 or higher you can use its built-in package
solution, remember, in this case you should keep the plugin update manuelly, see `:help packages` for more information. Just run these commands in your terminal:

```bash
git clone https://github.com/scrooloose/nerdcommenter.git ~/.vim/pack/vendor/start/nerdcommenter
vim -u NONE -c "helptags ~/.vim/pack/vendor/start/nerdcommenter/doc" -c q
```

Otherwise, if you are looking for an automatic way these are some of the several 3rd-party plugin managers you can choose from. Be sure you read the instructions for your chosen plugin, as there typically are additional steps you need to take.

### Via Plugin Manager (Recommended)

#### [Vim-Plug](https://github.com/junegunn/vim-plug)
Expand Down