From 9b43ba8a81e59a02b6fac4f231900a861b8af0b4 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 25 Sep 2023 11:51:50 +0800 Subject: [PATCH] refactor: mwim. --- lisp/init-edit.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/init-edit.el b/lisp/init-edit.el index 110ddfd65..33261c103 100644 --- a/lisp/init-edit.el +++ b/lisp/init-edit.el @@ -330,10 +330,8 @@ ;; Move to the beginning/end of line or code (use-package mwim - :bind (("C-a" . mwim-beginning-of-code-or-line) - ("C-e" . mwim-end-of-code-or-line) - ("" . mwim-beginning-of-line-or-code) - ("" . mwim-end-of-line-or-code))) + :bind (([remap move-beginning-of-line] . mwim-beginning) + ([remap move-end-of-line] . mwim-end))) ;; Treat undo history as a tree (if emacs/>=28p