put comment to ctrl slash
This commit is contained in:
parent
b31bd343fa
commit
9b4fcca0ce
@ -204,6 +204,20 @@ command_center.add({
|
|||||||
description = 'Github open PR in browser',
|
description = 'Github open PR in browser',
|
||||||
cmd = '<CMD>Octo pr browser<CR>',
|
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 },
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user