From 8786861a3caffb6e1122def808d6c2cd4f434ec3 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sun, 29 Dec 2019 11:01:36 +0300 Subject: [PATCH] Update repository URLs with new org namespace See https://github.com/preservim/nerdcommenter/issues/400 Old URLs will continue to work for the foreseeable future since Github forwards them, but new users in particular should be encouraged to use the new org namespace when installing the plugin. --- README.md | 16 ++++++++-------- doc/NERD_commenter.txt | 2 +- plugin/NERD_commenter.vim | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 659cd2f7..5f07bc6e 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,19 @@ Comment functions so powerful—no comment necessary. #### [Vim-Plug](https://github.com/junegunn/vim-plug) -1. Add `Plug 'scrooloose/nerdcommenter'` to your vimrc file. +1. Add `Plug 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:PlugInstall` #### [Vundle](https://github.com/VundleVim/Vundle.vim) or similar -1. Add `Plugin 'scrooloose/nerdcommenter'` to your vimrc file. +1. Add `Plugin 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:BundleInstall` #### [NeoBundle](https://github.com/Shougo/neobundle.vim) -1. Add `NeoBundle 'scrooloose/nerdcommenter'` to your vimrc file. +1. Add `NeoBundle 'preservim/nerdcommenter'` to your vimrc file. 2. Reload your vimrc or restart 3. Run `:NeoUpdate` @@ -28,7 +28,7 @@ Comment functions so powerful—no comment necessary. ```sh cd ~/.vim/bundle -git clone https://github.com/scrooloose/nerdcommenter.git +git clone https://github.com/preservim/nerdcommenter.git ``` ### Manual Installation @@ -39,9 +39,9 @@ git clone https://github.com/scrooloose/nerdcommenter.git ```sh curl -fLo ~/.vim/plugin/NERD_Commenter.vim --create-dirs \ - https://raw.githubusercontent.com/scrooloose/nerdcommenter/master/plugin/NERD_commenter.vim + https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/NERD_commenter.vim curl -fLo ~/.vim/doc/NERD_Commenter.txt --create-dirs \ - https://raw.githubusercontent.com/scrooloose/nerdcommenter/master/doc/NERD_commenter.txt + https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/NERD_commenter.txt ``` #### Windows (PowerShell) @@ -49,8 +49,8 @@ curl -fLo ~/.vim/doc/NERD_Commenter.txt --create-dirs \ ```powershell md ~\vimfiles\plugin md ~\vimfiles\doc -$pluguri = 'https://raw.githubusercontent.com/scrooloose/nerdcommenter/master/plugin/NERD_commenter.vim' -$docsuri = 'https://raw.githubusercontent.com/scrooloose/nerdcommenter/master/doc/NERD_commenter.txt' +$pluguri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/NERD_commenter.vim' +$docsuri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/NERD_commenter.txt' (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")) ``` diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 27f5775a..0ae75828 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -941,7 +941,7 @@ The latest stable versions can be found at http://www.vim.org/scripts/script.php?script_id=1218 The latest dev versions are on github - http://github.com/scrooloose/nerdcommenter + http://github.com/preservim/nerdcommenter ============================================================================== 8. Changelog *NERDCommenterChangelog* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index bd53c0ca..c5805fcb 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -3090,7 +3090,7 @@ inoremap NERDCommenterInsert :call NERDComment('i nnoremap NERDCommenterAltDelims :call SwitchToAlternativeDelimiters(1) " This is a workaround to enable lazy-loading from supported plugin managers: -" See https://github.com/scrooloose/nerdcommenter/issues/176 +" See https://github.com/preservim/nerdcommenter/issues/176 call s:SetUpForNewFiletype(&filetype, 1) " vim: set foldmethod=marker :