From 9ea60397e8fc028050dd3c829585154f6b6929c0 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Thu, 18 Feb 2021 01:13:48 +0000 Subject: [PATCH] Added `Plug` installation option to README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a900470..af665f7 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,15 @@ 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' ``` @@ -20,11 +27,11 @@ There are a few ways you can go about installing this plugin: ```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