Skip to content

Added Plug installation option to README.md #144

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

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
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,27 @@ Here is a screenshot of this plugin at work:

## Installation
There are a few ways you can go about installing this plugin:

1. If you have [Vundle](https://github.com/gmarik/Vundle.vim) you can simply add:
1. If you have [Plug](https://github.com/junegunn/vim-plug) you can simply add:
```vim
Plug 'ntpeters/vim-better-whitespace'
```
to your `.vimrc` file then run:
```vim
:PlugInstall
```
2. If you have [Vundle](https://github.com/gmarik/Vundle.vim) you can simply add:
```vim
Plugin 'ntpeters/vim-better-whitespace'
```
to your `.vimrc` file then run:
```vim
:PluginInstall
```
2. If you are using [Pathogen](https://github.com/tpope/vim-pathogen), you can just run the following command:
3. If you are using [Pathogen](https://github.com/tpope/vim-pathogen), you can just run the following command:
```
git clone git://github.com/ntpeters/vim-better-whitespace.git ~/.vim/bundle/vim-better-whitespace
```
3. While this plugin can also be installed by copying its contents into your `~/.vim/` directory, I would
4. While this plugin can also be installed by copying its contents into your `~/.vim/` directory, I would
highly recommend using one of the above methods as they make managing your Vim plugins painless.

## Usage
Expand Down