From d4855b233e950ae251021854bacd3a8300cc6c0f Mon Sep 17 00:00:00 2001 From: Nate Sire Date: Tue, 13 Apr 2021 00:37:51 -0400 Subject: [PATCH] Wrap installation blurbs in expandable summary/detail blocks --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index e606602..c3b3fa6 100644 --- a/README.md +++ b/README.md @@ -8,33 +8,55 @@ Comment functions so powerful—no comment necessary. ### Via Plugin Manager (Recommended) +
+ Vim Plug + #### [Vim-Plug](https://github.com/junegunn/vim-plug) 1. Add `Plug 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:PlugInstall` +
+ +
+ Vundle + #### [Vundle](https://github.com/VundleVim/Vundle.vim) or similar 1. Add `Plugin 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:BundleInstall` +
+ +
+ NeoBundle + #### [NeoBundle](https://github.com/Shougo/neobundle.vim) 1. Add `NeoBundle 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:NeoUpdate` +
+ +
+ Pathogen + #### [Pathogen](https://github.com/tpope/vim-pathogen) ```sh cd ~/.vim/bundle git clone https://github.com/preservim/nerdcommenter.git ``` +
### Manual Installation +
+ Unix + #### Unix (For Neovim, change `~/.vim/` to `~/.config/nvim/`.) @@ -45,7 +67,10 @@ curl -fLo ~/.vim/plugin/NERD_Commenter.vim --create-dirs \ curl -fLo ~/.vim/doc/NERD_Commenter.txt --create-dirs \ https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/NERD_commenter.txt ``` +
+
+ Windows #### Windows (PowerShell) ```powershell @@ -56,6 +81,7 @@ $docsuri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc (New-Object Net.WebClient).DownloadFile($pluguri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\plugin\NERD_commenter.vim")) (New-Object Net.WebClient).DownloadFile($docsuri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\doc\NERD_commenter.txt")) ``` +
### Post Installation