From 667bc64d28d22229f06a14419910e1e51dbd71c2 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 1 Nov 2022 12:12:19 +0000 Subject: Try mwim --- .emacs.d/lisp/init-crux.el | 1 - .emacs.d/lisp/init-editor.el | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-crux.el b/.emacs.d/lisp/init-crux.el index c819c25..94045a5 100644 --- a/.emacs.d/lisp/init-crux.el +++ b/.emacs.d/lisp/init-crux.el @@ -26,7 +26,6 @@ ("C-^" . crux-top-join-line) ("C-" . crux-kill-line-backwards) ([remap kill-whole-line] . crux-kill-whole-line) - ("C-a" . crux-move-beginning-of-line) ;; TODO don't need all of these ("C-" . crux-smart-open-line) ("S-" . crux-smart-open-line) diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index c0caff7..951b696 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -174,5 +174,10 @@ :diminish :hook (prog-mode . ws-butler-mode)) +(use-package mwim + :bind + ("C-a" . mwim-beginning) + ("C-e" . mwim-end)) + (provide 'init-editor) ;;; init-editor.el ends here -- cgit 1.4.1-2-gfad0