How to disable closing of a window on Esc?

I use an escape key often to close autocomplete popups, etc. and it's quite inconvenient when i'm doing changes in diff window and esc closes it and i have to reopen it on a needed file. Is there a preference to turn that off completely?

Upd: And as a result of the question another question arises: how to reopen the last closed window?

5
1 comment

To prevent any action with Escape key, can go to Setting → Keymap and then click the following icon to search by key.

Press escape on the search window by key and remove all those related items and save.

0

Please sign in to leave a comment.