diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-09 19:55:48 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-09 19:55:48 -0400 |
| commit | 63f28fafe4a471fb6cd88f5ebe562d7d15083d3d (patch) | |
| tree | 831f2a38fb1bf010003c064c220d817045ef63a7 | |
| parent | Fix ESC key behavior (diff) | |
| download | mmosmacs-63f28fafe4a471fb6cd88f5ebe562d7d15083d3d.tar.gz mmosmacs-63f28fafe4a471fb6cd88f5ebe562d7d15083d3d.tar.bz2 mmosmacs-63f28fafe4a471fb6cd88f5ebe562d7d15083d3d.zip | |
Replace yes/no prompts with y/n
| -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) | ||