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

Ignore `sidescrolloff`

Open boltlessengineer opened this issue 3 years ago • 0 comments

First, thank you for this great plugin. I installed it yesterday and really enjoying smooth & automatic window resizing.

I usually set sidescrolloff value to 15.

And this seem to cause rendering problem when I switch to another window.

image

Notice my cursor is quite right side of left window. But not making sidescroll yet

스크린샷 2023-02-25 오후 5 34 14

After moving cursor to right window, you can see left window is side-scrolled.

image

This problem also cause rendering issue with indent-blankline.nvim.

Maybe saving original sidescrolloff value and change it to 0 before leaving window will be helpful. Or just providing pre_hook and post_hook callback option in config would be great.

boltlessengineer avatar Feb 25 '23 08:02 boltlessengineer