neoscroll.nvim
neoscroll.nvim copied to clipboard
bug: laggy with multiple window panes
This works great with only one window pane but I notice noticeable lag when there is more than one.
Example (gif compression made this ~30% more sluggish than it actually is):
config:
{
"karb94/neoscroll.nvim",
enabled = true,
config = function()
local t = {}
-- Syntax: t[keys] = {function, {function arguments}}
t['<C-u>'] = { 'scroll', { '-vim.wo.scroll', 'true', '80', [['sine']] } }
t['<C-d>'] = { 'scroll', { 'vim.wo.scroll', 'true', '80', [['sine']] } }
require('neoscroll.config').set_mappings(t)
end
},