Skip to content

fix: exit diff view with move-left (h)#2932

Open
leno23 wants to merge 1 commit into
gitui-org:masterfrom
leno23:fix/diff-exit-move-left-2806
Open

fix: exit diff view with move-left (h)#2932
leno23 wants to merge 1 commit into
gitui-org:masterfrom
leno23:fix/diff-exit-move-left-2806

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • Status tab: move-left leaves the diff pane (same as Esc), returning focus to the file list.
  • Inspect commit / file revlog / compare commits popups: move-left unfocuses diff when focused; otherwise keeps existing behavior.

Fixes #2806

Test plan

  • Status tab: focus diff with l / Right, exit with h / Left
  • Inspect commit popup: same flow
  • Esc still works as before

Made with Cursor

Mirror Esc behavior: move-left unfocuses the diff pane instead of
only working from the file list.

Fixes gitui-org#2806

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Add a binding for exiting the diff view

1 participant