From fbe97dc110a93a9ff3be6937ae8919416691eed6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 16 Jul 2025 11:11:13 +0200 Subject: emacs: Always use crux-move-beginning-of-line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bringing back from my old Doom configuration, remap the default's GNU Emacs `move-beginning-of-line` to the more useful crux one. Signed-off-by: Miquel Sabaté Solà --- .config/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/emacs') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index e9845cb..cea1546 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -183,7 +183,8 @@ ;; on the `crux-delete-file-and-buffer', which will delete the file related to ;; the current buffer as well as the buffer itself. (use-package crux - :bind (("C-c D" . crux-delete-file-and-buffer))) + :bind (("C-c D" . crux-delete-file-and-buffer)) + :general ([remap move-beginning-of-line] #'crux-move-beginning-of-line)) ;; Show me which functions are available for the key I half-pressed. (use-package which-key -- cgit v1.2.3