neoscroll.nvim icon indicating copy to clipboard operation
neoscroll.nvim copied to clipboard

bug: laggy with multiple window panes

Open steveshi7 opened this issue 1 year ago • 3 comments

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): ezgif-4-03007650fc

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
	},

steveshi7 avatar Feb 23 '24 02:02 steveshi7