I set (global-set-key (kbd "H-g") 'keyboard-quit)
.
When the minibuffer is open and waiting for input, and I want to quit out of it, when I hit H-g
, the bell rings and I see the Quit message, but the minibuffer remains open and accepting input. C-g
works as expected: closes the minibuffer.
How can I make H-g
quit the minibuffer?
keyboard-escape-quit
instead. – abo-abo Jan 2 '15 at 17:42C-g
callsabort-recursive-edit
(you can see this viaC-h k C-g
when in the minibuffer). That's another command you can consider. However, there are a lot of minibuffer maps (tryM-x apropos minibuffer map
), and I'm not sure which ones inherit from which. – Dan♦ Jan 2 '15 at 17:43H-g
toC-g
such thatH-g
will do whateverC-g
does in the current context? – sandinmyjoints Jan 2 '15 at 18:12