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

vertical split couse slow down of cinnamon

Open Spo0on opened this issue 2 years ago • 0 comments

When I have only one window open moves smooth and is responsive, but once I open a window splitted vertically the cursor slow down a lot. This is my configuration:

require("cinnamon").setup({
	-- KEYMAPS:
	default_keymaps = true, -- Create default keymaps.
	extra_keymaps = true, -- Create extra keymaps.
	extended_keymaps = true, -- Create extended keymaps.
	override_keymaps = false, -- The plugin keymaps will override any existing keymaps.

	-- OPTIONS:
	always_scroll = true, -- Scroll the cursor even when the window hasn't scrolled.
	centered = false, -- Keep cursor centered in window when using window scrolling.
	default_delay = 10, -- The default delay (in ms) between each line when scrolling.
	hide_cursor = false, -- Hide the cursor while scrolling. Requires enabling termguicolors!
	horizontal_scroll = true, -- Enable smooth horizontal scrolling when view shifts left or right.
	max_length = 200, -- Maximum length (in ms) of a command. The line delay will be
	-- re-calculated. Setting to -1 will disable this option.
	scroll_limit = 100, -- Max number of lines moved before scrolling is skipped. Setting
	-- to -1 will disable this option.
})

This bug occurs with any types of buffer, even empty ones.

Spo0on avatar Dec 18 '22 17:12 Spo0on