diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-01 12:12:19 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-01 12:12:19 +0000 |
commit | 667bc64d28d22229f06a14419910e1e51dbd71c2 (patch) | |
tree | 9eb151f9910e02ea9f891416cd9d604ab101c461 /.emacs.d | |
parent | 9df48fb3ed9ec68016e9b9c5a350115482498a60 (diff) | |
download | dotfiles-667bc64d28d22229f06a14419910e1e51dbd71c2.tar.gz |
Try mwim
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-crux.el | 1 | ||||
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 5 |
2 files changed, 5 insertions, 1 deletions
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-<backspace>" . 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-<return>" . crux-smart-open-line) ("S-<return>" . 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 |