(Emacs/config|core|elisp)+move.el

Library to move words forward and backward as well as lines up and
down.  These movements keep the object in question under the cursor
which provides a nice experience.
This commit is contained in:
2024-04-27 14:42:15 +05:30
parent eb5b11e71b
commit 870ce03d02
3 changed files with 94 additions and 22 deletions

View File

@@ -119,9 +119,11 @@ Some bindings that I couldn't fit elsewhere easily.
("C-x d" #'delete-frame)
(nmmap
:keymaps 'override
"C-M-j" #'move-line-down
"C-M-k" #'move-line-up)
:keymaps '(text-mode-map prog-mode-map)
"C-M-h" #'+move/word-backward
"C-M-j" #'+move/line-down
"C-M-k" #'+move/line-up
"C-M-l" #'+move/word-forward)
(nmmap
"C--" #'text-scale-decrease