summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-11-17 15:00:22 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-11-17 15:01:13 +0000
commit0aa07d33cc0214b02c175e65a53d7456cad3be21 (patch)
tree404ac77205221351393fe0ad5bcc05e6559d447e
parent0906f2f8c3b762b7ca8b1f01f49515765c101aee (diff)
emacs: Bind C-c DEL to ‘bury-buffer’
-rw-r--r--emacs/early-init.el1
-rw-r--r--emacs/init.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 1547a41..381323e 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -2,6 +2,7 @@
(file-truename (concat user-emacs-directory "../"))
"Directory containing all configuration files.")
+
;; Helper Loading Functions
(defun my/load-file (filename)
diff --git a/emacs/init.el b/emacs/init.el
index 5140228..1276891 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -42,6 +42,7 @@
(electric-indent-mode -1)
(global-auto-revert-mode 1)
+(keymap-global-set "C-c DEL" #'bury-buffer)
(keymap-global-set "C-c j" #'join-line)
(keymap-global-set "C-c q" #'electric-quote-local-mode)