ConEmu disable Esc shortcut

1

I'm having problems with ConEmu because of the Esc shortcut that hides the window. When I use something that makes use of Esc, such as Vim or git commit, an escape hides the window instead of removing focus and disabling current activity.

I already use Ctrl+~ to hide the console. So I don't need that hotkey. How can I remove it?

If I go to Keys & Macros in settings, I find that shortcut, but it's disabled and cannot be changed at all!

The Quantum Physicist

Posted 2016-12-21T18:00:41.647

Reputation: 648

What shortcut? Who can guess? – Maximus – 2016-12-22T09:36:03.257

@Maximus the Esc shortcut? – The Quantum Physicist – 2016-12-22T10:54:42.467

The Esc is the key. I've asked you about action (hotkey description in the list) you try to modify. – Maximus – 2016-12-30T09:33:18.960

@Maximus What I see in "Settings", in the "Keys & Macro" section, is a big list. In that list, there's a Hotkey that is "Esc", a Type that is "System", and a Description that is "Minimize ConEmu by Esc when no open consoles left...". I hope that answers your question. If not, let me know. – The Quantum Physicist – 2016-12-31T03:13:33.610

You said "when no open consoles left". Obviously, when you have vim, there is a console. So the shortcut is not triggered in your case. – Maximus – 2016-12-31T15:53:00.203

@Maximus but this is the only shortcut associated with Esc! If I filter with "Esc", everything else is gone! Is this a bug? – The Quantum Physicist – 2016-12-31T17:38:04.383

@Maximus Hi there. Could you please look at this issue again and suggest solutions, since you're the developer of this software? I would really appreciate it. – The Quantum Physicist – 2017-01-11T07:02:16.253

ConEmu doesn't minimize on Esc when there is a console. Run ConEmu -basic to check. – Maximus – 2017-01-11T11:04:09.683

@Maximus Your hint inspired me to hack into the config file, and I did, and fixed the problem (check the answer). Thanks. Also thanks for the great console too :) ... I love it! – The Quantum Physicist – 2017-01-11T11:16:13.307

1ESC does hide the window, which gets me stuck in vim's edit mode. – rzb – 2017-12-28T04:54:48.213

Answers

1

So I solved the problem by modifying the config file manually. If one opens the "Settings" of the program, the first thing that appears is a path to a file called "storage", which is an XML file.

There, I found the line:

<value name="Multi.MinByEsc" type="hex" data="01"/>

and changed it to:

<value name="Multi.MinByEsc" type="hex" data="00"/>

And that solved the problem.

The Quantum Physicist

Posted 2016-12-21T18:00:41.647

Reputation: 648