Skip to content

ux: keybindings for branch rename (F2) and close Blame and FileHistories modal windows (ESC) #2294

Closed
asliturk wants to merge 2 commits intosourcegit-scm:developfrom
asliturk:keybindings
Closed

ux: keybindings for branch rename (F2) and close Blame and FileHistories modal windows (ESC) #2294
asliturk wants to merge 2 commits intosourcegit-scm:developfrom
asliturk:keybindings

Conversation

@asliturk
Copy link
Copy Markdown

No description provided.

@love-linger
Copy link
Copy Markdown
Collaborator

I have no questions about renaming keybindings. But I do not like using ESC to close a non-modal dialog window (both Blame and File History are not modal dialogs)

@asliturk
Copy link
Copy Markdown
Author

asliturk commented Apr 23, 2026

I just realized they are not modal. But they feel like they are. I always feel like I should be able to close them with ESC.

There is no key combination to close these windows, would Command+F4 (Alt+F4) be more appropriate?

love-linger added a commit that referenced this pull request May 8, 2026
Co-authored-by: Hüseyin Aslıtürk <huseyin@asliturk.com>
Signed-off-by: leo <longshuang@msn.cn>
@love-linger
Copy link
Copy Markdown
Collaborator

I do not like to add a keybindings to close a normal window. PS: You can already use Alt+F4 to close File History or Blame window on Windows.

And I've pushed a commit that adds the F2 hotkey bindings

@love-linger love-linger self-assigned this May 8, 2026
@love-linger love-linger closed this May 8, 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.

2 participants