Skip to content

Commit

Permalink
refactor: mwim.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Sep 25, 2023
1 parent ccda702 commit 9b43ba8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lisp/init-edit.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
("<home>" . mwim-beginning-of-line-or-code)
("<end>" . 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
Expand Down

0 comments on commit 9b43ba8

Please sign in to comment.