aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1b2ac9d..b6a1837 100644
--- a/init.el
+++ b/init.el
@@ -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)