enabel scrollwheel scaling

This commit is contained in:
Oliver Hartmann 2023-04-02 20:41:32 +02:00
parent 63ff84fae1
commit 0139368180

View File

@ -56,4 +56,6 @@ if vim.g.neovide then
end
vim.keymap.set('n', '<C-=>', function() change_scale_factor(1.25) end)
vim.keymap.set('n', '<C-->', function() change_scale_factor(1 / 1.25) end)
vim.keymap.set('n', '<C-ScrollWheelUp>', function() change_scale_factor(1.25) end)
vim.keymap.set('n', '<C-ScrollWheelDown>', function() change_scale_factor(1 / 1.25) end)
end