You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Page-scroll the diff pane while the file tree has focus (page-sized J/K) #357
J/K scroll the diff viewport from either pane (#220), but only by a few lines. PgDown/PgUp and Ctrl+d/Ctrl+u stay pane-relative: with the tree focused they
page the tree, not the diff. To skim a file page by page I still have to Tab into
the diff and back.
lazygit binds <pgup>/<pgdown> (alts <c-u>/<c-d>) to scroll-main, so paging
works from any side panel.
Proposal
Add page-sized versions of the existing actions — e.g. scroll_diff_page_down / scroll_diff_page_up (plus half-page) — handled in handleTreeAction next to ActionScrollDiffDown/Up, scrolling by viewport height and honouring --page-overlap.
That alone lets users get lazygit behaviour with map pgdown scroll_diff_page_down. Whether PgDown/PgUp should point at the new
actions by default, and whether the tree then keeps its own paging, is your call —
I'd be fine with remap-only.
Activity
feat(keymap): add page-sized scroll_diff actions (#357)
feat(keymap): add page-sized scroll_diff actions (umputun#357)