Skip to content

Commit

Permalink
Update repository URLs with new org namespace
Browse files Browse the repository at this point in the history
See #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.
  • Loading branch information
alerque committed Dec 29, 2019
1 parent 4f247d1 commit f536709
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ 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`

#### [Pathogen](https://github.com/tpope/vim-pathogen)

```sh
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdcommenter.git
git clone https://github.com/preservim/nerdcommenter.git
```

### Manual Installation
Expand All @@ -39,18 +39,18 @@ 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)

```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"))
```
Expand Down
2 changes: 1 addition & 1 deletion doc/NERD_commenter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
2 changes: 1 addition & 1 deletion plugin/NERD_commenter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3090,7 +3090,7 @@ inoremap <silent> <plug>NERDCommenterInsert <SPACE><BS><ESC>:call NERDComment('i
nnoremap <plug>NERDCommenterAltDelims :call <SID>SwitchToAlternativeDelimiters(1)<cr>
" 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 :

0 comments on commit f536709

Please sign in to comment.