switch nerdcommenter to vim-commentary for (n)vim

This commit is contained in:
Hedy Li 2021-06-13 12:30:32 +00:00
parent da8787e0d5
commit 3404215bee
3 changed files with 4 additions and 10 deletions

View File

@ -1,8 +0,0 @@
# Defined via `source`
function nv --description 'alias nv=nvim'
if command -sq nvim
nvim $argv
else
vim $argv
end
end

View File

@ -8,7 +8,8 @@ Plug 'Yggdroot/indentLine' " indentLine plugin
Plug 'stautob/vim-fish' " fish support for vim
Plug 'jiangmiao/auto-pairs' " auto insert and del quotes in pairs
Plug 'tpope/vim-surround' " quoting and parenthesizing plugin
Plug 'preservim/nerdcommenter' " commenting made simple
"Plug 'preservim/nerdcommenter' " commenting made simple
Plug 'https://github.com/tpope/vim-commentary'
Plug 'vim-airline/vim-airline' " airline plugin for status bar
Plug 'mbbill/undotree' " undo tree
Plug 'bling/vim-bufferline' " buffer line

3
.vimrc
View File

@ -12,7 +12,8 @@ Plugin 'dracula/vim', {'name': 'dracula'} " dracula color theme
Plugin 'stautob/vim-fish' " fish support for vim
Plugin 'jiangmiao/auto-pairs' " auto insert and del quotes in pairs
Plugin 'tpope/vim-surround' " quoting and parenthesizing plugin
Plugin 'preservim/nerdcommenter' " commenting made simple
" Plugin 'preservim/nerdcommenter' " commenting made simple
Plugin 'tpope/vim-commentary'
Plugin 'bling/vim-bufferline' " buffer line
Plugin 'preservim/nerdtree' " NERDTree :)