summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el index 196792b..d9850fa 100644 --- a/init.el +++ b/init.el
@@ -34,6 +34,10 @@
34 ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults 34 ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults
35 (global-set-key (kbd "C-h") 'delete-backward-char) 35 (global-set-key (kbd "C-h") 'delete-backward-char)
36 (keyboard-translate ?\C-h ?\C-?)) 36 (keyboard-translate ?\C-h ?\C-?))
37 (define-advice keyboard-escape-quit (:around (fn &rest r))
38 "Don't close splits on `keyboard-escape-quit'."
39 (let ((buffer-quit-function #'ignore))
40 (apply fn r)))
37 41
38(setup (:require +init) 42(setup (:require +init)
39 (:bind "C-c s" (lambda () 43 (:bind "C-c s" (lambda ()