I'd like to be able to prevent Magit from closing a buffer when I press ESC. I also want to prevent my
evil-escape-mode sequence (kj) from closing it as well.
Running C-h k ESC gives
<escape> runs the command magit-mode-bury-buffer, which is an interactive compiled Lisp function in ‘magit-mode.el’. It is bound to <escape>, <normal-state> <escape>, <menu-bar> <Magit> <Quit Magit>.
I'm not sure what the best approach is. Can I unbind
magit-mode-bury-buffer from all of those commands? If so, how?