Submitting the commit form via keyboard shortcuts

Answered

Hopefully a simple question with a simple answer.

When the commit window is open, how can I commit using the keyboard rather than clicking the "Commit" button?

I can see the shortcut for commit + push is Option-Command-K, I can see the shortcut for opening the commit dropdown is Alt-Shift-Return.

But I cannot see what shortcut simply commits without a push.

I'm on MacOS.

Thanks!

3 comments
Comment actions Permalink

> When the commit window is open, how can I commit using the keyboard rather than clicking the "Commit" button?

The best way is to use Ctrl+Enter. it is a common shortcut across the entire IDE to confirm dialogs that have other controls except for buttons.

It is also possible to use Ctrl+Alt+I mnemonic.

0
Comment actions Permalink

Hi Dmitriy thanks for the response.

Neither of those seem to work for me. Is that a binding that can be reconfigured & if so what keybinding should I look for?

0
Comment actions Permalink

Sorry, it is not Cmd+Enter, it is Ctrl+Enter. I'll edit the initial post. Should be Cmd+Enter on Mac, though - see https://youtrack.jetbrains.com/issue/IDEA-18213

No, it can't be reconfigured.

1

Please sign in to leave a comment.