aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-16 11:11:13 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-16 11:11:13 +0200
commitfbe97dc110a93a9ff3be6937ae8919416691eed6 (patch)
treead8b3b98eeb670752b2738f38c9acd34ab8f7a17 /.config
parentc8afbf89a3b0ae4b847bb0c56049f6d49f9bfd84 (diff)
downloaddotfiles-fbe97dc110a93a9ff3be6937ae8919416691eed6.tar.gz
dotfiles-fbe97dc110a93a9ff3be6937ae8919416691eed6.zip
emacs: Always use crux-move-beginning-of-line
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à <mikisabate@gmail.com>
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
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