vim: add vim-commentary
This commit is contained in:
2
vimrc
2
vimrc
@@ -29,6 +29,7 @@ call plug#begin('~/.vim/plugged')
|
|||||||
" Plug 'Valloric/YouCompleteMe'
|
" Plug 'Valloric/YouCompleteMe'
|
||||||
|
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
@@ -149,6 +150,7 @@ augroup cprog
|
|||||||
" simulate C++ comments (sort of) and provide a means to uncomment easily
|
" simulate C++ comments (sort of) and provide a means to uncomment easily
|
||||||
map // ^i/* <ESC>$a */<ESC>
|
map // ^i/* <ESC>$a */<ESC>
|
||||||
map \\ bhh/ *[*][/]<CR>d/[/]<CR>x?[/][*]<CR>dw
|
map \\ bhh/ *[*][/]<CR>d/[/]<CR>x?[/][*]<CR>dw
|
||||||
|
" map // 0v$gc
|
||||||
call TabSize(4)
|
call TabSize(4)
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user