Shortcuts to navigate file tree in a commit from diff panel #5616
GuillaumeDesforges
started this conversation in
Ideas
Replies: 1 comment
-
|
I would find this useful too, but it's tricky. If no pager is being used we might parse the diff and work out where the next file starts; but if a pager is used, the diff format depends on the pager and we'd have to use a heuristic to guess where the next file starts. I'm not excited about that direction. My own workaround for large commits is that yes, I switch to the commit files view, and I find this acceptable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use lazygit to review commits (btw love it, thanks you so much!).
I focus the diff panel and zoom it to have it fullscreen.
At the moment I scroll the whole diff to navigate the changes.
This is limiting on bigger commits when I want to go to the diff of a specific file.
I can switch to file tree and move, but that's friction.
Navigating to next/previous file from the diff panel using keyboard shortcuts would alleviate the friction.
Ideally, navigating to a file by name (ideally fuzzy search, telescope-style) would be amazing, since most of the time I have at least a rough idea of the file name.
Beta Was this translation helpful? Give feedback.
All reactions