Added commentary new key

This commit is contained in:
Marcin Woźniak 2021-11-24 15:52:24 +01:00
parent 21c539737c
commit 546df12178
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -202,10 +202,17 @@ nmap <leader>rr <Plug>(coc-rename)
nmap <silent> <leader>gp <Plug>(coc-diagnostic-prev) nmap <silent> <leader>gp <Plug>(coc-diagnostic-prev)
nmap <silent> <leader>gn <Plug>(coc-diagnostic-next) nmap <silent> <leader>gn <Plug>(coc-diagnostic-next)
nnoremap <leader>cr :CocRestart nnoremap <leader>cr :CocRestart
" Adding commentary
xmap <leader>c <Plug>Commentary xmap <leader>c <Plug>Commentary
nmap <leader>c <Plug>Commentary nmap <leader>c <Plug>Commentary
omap <leader>c <Plug>Commentary omap <leader>c <Plug>Commentary
nmap <leader>cc <Plug>CommentaryLine nmap <leader>c <Plug>CommentaryLine
xmap <C-_> <Plug>Commentary
nmap <C-_> <Plug>Commentary
omap <C-_> <Plug>Commentary
nmap <C-_> <Plug>CommentaryLine
" Better tab " Better tab
vnoremap <Tab> > vnoremap <Tab> >