vimrc: load nerdcommenter right away
This commit is contained in:
parent
b6d34d41e1
commit
152a57b45d
@ -29,7 +29,7 @@ Plug 'vim-airline/vim-airline-themes'
|
|||||||
Plug 'ctrlpvim/ctrlp.vim', { 'on': [] }
|
Plug 'ctrlpvim/ctrlp.vim', { 'on': [] }
|
||||||
" 🌷 Distraction-free writing in Vim
|
" 🌷 Distraction-free writing in Vim
|
||||||
Plug 'junegunn/goyo.vim', { 'for': 'markdown' }
|
Plug 'junegunn/goyo.vim', { 'for': 'markdown' }
|
||||||
Plug 'preservim/nerdcommenter', { 'on': [] }
|
Plug 'preservim/nerdcommenter'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
@ -364,9 +364,9 @@ au BufNewFile,BufRead *.cshtml
|
|||||||
|
|
||||||
augroup async_plug_load
|
augroup async_plug_load
|
||||||
autocmd!
|
autocmd!
|
||||||
" these two take the longest to load, let's do it in a semi-non-blocking
|
" these plugins take the longest to load, let's do it in a semi-non-blocking
|
||||||
" fashion
|
" fashion
|
||||||
autocmd CursorHold,CursorHoldI * call plug#load('syntastic', 'nerdcommenter', 'vim-clang', 'vim-speeddating', 'ctrlp.vim')
|
autocmd CursorHold,CursorHoldI * call plug#load('syntastic', 'vim-clang', 'vim-speeddating', 'ctrlp.vim')
|
||||||
\| autocmd! async_plug_load
|
\| autocmd! async_plug_load
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user