Option + i on Mac in commit dialog replaces commit message with ˆ and commits with that as the message

Answered

I am using IntelliJ 2018.2.4 on MacOS 10.14.1.

It seems that Option-I is mapped to adding circumflex so when I press it to trigger the commit button on the commit dialog it writes that over the currently fully selected commit message before committing the changes.

Is not overriding typing the ˆ a bug in IntelliJ? 

Does anyone know if I can disable the option-i writes circumflex on MacOS? (I really don't ever need to circumflex characters.)

2
2 comments

Why do you use Cmd+I to commit instead of just Ctrl+Enter?

There is indeed conflict between native MacOs way of entering spec-characters and mnemonics in IntelliJ - see https://youtrack.jetbrains.com/issue/IDEA-164154 and related.

It is not possible to disable special chars input, but you could disable mnemonics.

Either totally in Preferences | Appearance & Behavior | Appearance - Window Options, or only Alt-based mnemonics, (to use Ctrl+Alt to trigger mnemonics instead), by disabling the ide.mac.alt.mnemonic.without.ctrl registry settings.

 

1

Just in case it helps to respond to the question:

Why do you use Cmd+I to commit instead of just Ctrl+Enter?

The UI is actually suggesting to do so (related issue).

0

Please sign in to leave a comment.