use command center for yanky

This commit is contained in:
2022-04-20 22:54:51 +02:00
parent 7bd0f10847
commit c65f2c543b
2 changed files with 18 additions and 3 deletions

View File

@ -167,4 +167,22 @@ command_center.add({
{ 'n', '<space>x', silent_noremap },
},
},
{
description = 'Yanky cycle forward',
cmd = '<Plug>(YankyCycleForward)',
keybindings = {
{ 'n', '<c-n>', silent_noremap },
},
},
{
description = 'Yanky cycle backward',
cmd = '<Plug>(YankyCycleBackward)',
keybindings = {
{ 'n', '<c-p>', silent_noremap },
},
},
})