diff options
| -rw-r--r-- | init.el | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -92,3 +92,15 @@ | |||
| 92 | ;; Fix the keybinds for the ESC key | 92 | ;; Fix the keybinds for the ESC key |
| 93 | (global-set-key (kbd "<escape>") 'mm/keyboard-escape-quit-keep-windows) | 93 | (global-set-key (kbd "<escape>") 'mm/keyboard-escape-quit-keep-windows) |
| 94 | (global-unset-key (kbd "C-x ESC ESC")) | 94 | (global-unset-key (kbd "C-x ESC ESC")) |
| 95 | |||
| 96 | |||
| 97 | ;; --------------------------------- | ||
| 98 | ;; Replace yes/no prompts with y/n | ||
| 99 | ;; ------------------------------- | ||
| 100 | ;; It's too much to ask for me to | ||
| 101 | ;; type 3 whole letters to confirm | ||
| 102 | ;; something. I demand to only have | ||
| 103 | ;; to press a single key. | ||
| 104 | ;; --------------------------------- | ||
| 105 | |||
| 106 | (defalias 'yes-or-no-p 'y-or-n-p) | ||