diff options
author | Case Duckworth | 2021-01-14 20:23:52 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-14 20:23:52 -0600 |
commit | c6c90622f4367096fea88862b2652d22489e0bb6 (patch) | |
tree | 99c95bde962bb6a7e578e88af8dd11895307de5c | |
parent | Use my fork of gemini-write (diff) | |
download | emacs-c6c90622f4367096fea88862b2652d22489e0bb6.tar.gz emacs-c6c90622f4367096fea88862b2652d22489e0bb6.zip |
Add mwim
-rw-r--r-- | config.org | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config.org b/config.org index f42037a..fcfd615 100644 --- a/config.org +++ b/config.org | |||
@@ -5,7 +5,7 @@ | |||
5 | #+EXPORT_FILE_NAME: README.md | 5 | #+EXPORT_FILE_NAME: README.md |
6 | #+OPTIONS: toc:nil | 6 | #+OPTIONS: toc:nil |
7 | #+BANKRUPTCY_COUNT: 3.2 | 7 | #+BANKRUPTCY_COUNT: 3.2 |
8 | #+Time-stamp: <2021-01-14 17:59:25 aduckworth> | 8 | #+Time-stamp: <2021-01-14 20:21:43 acdw> |
9 | 9 | ||
10 | * Basics | 10 | * Basics |
11 | 11 | ||
@@ -1176,6 +1176,19 @@ from [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-mag | |||
1176 | (global-set-key (kbd "C-=") #'er/expand-region) | 1176 | (global-set-key (kbd "C-=") #'er/expand-region) |
1177 | #+end_src | 1177 | #+end_src |
1178 | 1178 | ||
1179 | *** Move where I mean | ||
1180 | |||
1181 | #+begin_src emacs-lisp | ||
1182 | (straight-use-package 'mwim) | ||
1183 | (require 'mwim) | ||
1184 | |||
1185 | (cuss mwim-beginning-of-line-function 'beginning-of-visual-line) | ||
1186 | (cuss mwim-end-of-line-function 'end-of-visual-line) | ||
1187 | |||
1188 | (global-set-key (kbd "C-a") #'mwim-beginning) | ||
1189 | (global-set-key (kbd "C-e") #'mwim-end) | ||
1190 | #+end_src | ||
1191 | |||
1179 | * Programming | 1192 | * Programming |
1180 | 1193 | ||
1181 | ** Prettify symbols | 1194 | ** Prettify symbols |