put comment to ctrl slash

This commit is contained in:
Oliver Hartmann 2022-05-31 09:56:37 +02:00
parent b31bd343fa
commit 9b4fcca0ce

View File

@ -204,6 +204,20 @@ command_center.add({
description = 'Github open PR in browser',
cmd = '<CMD>Octo pr browser<CR>',
},
{
description = 'Comment line',
cmd = '<Plug>(comment_toggle_current_linewise)',
keybindings = {
{ 'n', '<c-_>', silent_noremap },
},
},
{
description = 'Comment line',
cmd = '<Plug>(comment_toggle_linewise_visual)gv',
keybindings = {
{ 'v', '<c-_>', silent_noremap },
},
},
})