From c6c90622f4367096fea88862b2652d22489e0bb6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 14 Jan 2021 20:23:52 -0600 Subject: Add mwim --- config.org | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index f42037a..fcfd615 100644 --- a/config.org +++ b/config.org @@ -5,7 +5,7 @@ #+EXPORT_FILE_NAME: README.md #+OPTIONS: toc:nil #+BANKRUPTCY_COUNT: 3.2 -#+Time-stamp: <2021-01-14 17:59:25 aduckworth> +#+Time-stamp: <2021-01-14 20:21:43 acdw> * Basics @@ -1176,6 +1176,19 @@ from [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-mag (global-set-key (kbd "C-=") #'er/expand-region) #+end_src +*** Move where I mean + + #+begin_src emacs-lisp + (straight-use-package 'mwim) + (require 'mwim) + + (cuss mwim-beginning-of-line-function 'beginning-of-visual-line) + (cuss mwim-end-of-line-function 'end-of-visual-line) + + (global-set-key (kbd "C-a") #'mwim-beginning) + (global-set-key (kbd "C-e") #'mwim-end) + #+end_src + * Programming ** Prettify symbols -- cgit 1.4.1-21-gabe81