From 0aa07d33cc0214b02c175e65a53d7456cad3be21 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 17 Nov 2024 15:00:22 +0000 Subject: emacs: Bind C-c DEL to ‘bury-buffer’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/early-init.el | 1 + emacs/init.el | 1 + 2 files changed, 2 insertions(+) (limited to 'emacs') 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) -- cgit v1.2.3-70-g09d2