feat(keymap): add keymap to scroll right- and leftways

This commit is contained in:
Sven Vogel 2024-11-08 18:11:41 +01:00
parent 9c8afc73b4
commit 840ac3d0cb
1 changed files with 12 additions and 0 deletions

View File

@ -115,6 +115,18 @@ local keymaps = {
end, end,
desc = "Close buffer" desc = "Close buffer"
}, },
{
mode = { 'i', 'n', 'v' },
keys = '<S-ScrollWheelDown>',
cmd = '<ScrollWheelRight>',
desc = "Scroll rightways"
},
{
mode = { 'i', 'n', 'v' },
keys = '<S-ScrollWheelUp>',
cmd = '<ScrollWheelLeft>',
desc = "Scroll leftways"
},
-- --
-- Tab (barbar) controls -- Tab (barbar) controls
-- .............................................. -- ..............................................