Skip to content

docs: note scrollopt+=hor for trackpad users - #20

Open
Arelav wants to merge 1 commit into
clabby:mainfrom
Arelav:docs/trackpad-scroll-sync
Open

Arelav wants to merge 1 commit into
clabby:mainfrom
Arelav:docs/trackpad-scroll-sync

Conversation

@Arelav

@Arelav Arelav commented Aug 25, 2026 •

Copy link
Copy Markdown

With a trackpad, scrolling the diff sideways moves one pane alone: the panes only sync vertically, because 'scrollbind' covers the axes listed in 'scrollopt' and the default is ver,jump.

Adds a README note with the one-line fix, in Lua and Vimscript.

'scrollbind' only syncs the axes listed in 'scrollopt', which defaults to
"ver,jump", so the panes do not scroll together horizontally.
@Arelav
Arelav force-pushed the docs/trackpad-scroll-sync branch from b051149 to 0b52a35 Compare August 25, 2026 17:38
@Arelav Arelav changed the title docs: explain how to sync the panes horizontally for trackpad users docs: note scrollopt+=hor for trackpad users Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant