From b938dc4e32ad71e6ba557d912c154e6a12e4cf12 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Sun, 22 Mar 2026 19:44:39 -0700 Subject: modal return for next line --- config/emacs/site-lisp/my-modal.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/emacs/site-lisp/my-modal.el') diff --git a/config/emacs/site-lisp/my-modal.el b/config/emacs/site-lisp/my-modal.el index 0220ac4..28bcf4d 100644 --- a/config/emacs/site-lisp/my-modal.el +++ b/config/emacs/site-lisp/my-modal.el @@ -50,7 +50,7 @@ trigger EFFECT or consult UNTIL." (lambda () (add-hook 'post-command-hook ',name 0 ,local))))) -(defconst mm/moves '(("h" . backward-char) +(defconst mm/moves `(("h" . backward-char) ("j" . next-line) ("k" . previous-line) ("l" . forward-char) @@ -63,6 +63,8 @@ trigger EFFECT or consult UNTIL." ("0" . move-beginning-of-line) ("$" . move-end-of-line) + (,(kbd "") . next-line) + ("[" . beginning-of-defun) ("]" . end-of-defun) ("{" . backward-paragraph) @@ -89,7 +91,7 @@ trigger EFFECT or consult UNTIL." "~" "!" "@" "#" "%" "^" "&" "*" "(" ")" "_" "+" "Q" "W" "R" "T" "Y" "U" "|" - "S" "F" "H" "J" "K" "L" ":" "\"" ,(kbd "") + "S" "F" "H" "J" "K" "L" ":" "\"" "Z" "X" "V" "N" "M" "<" ">" )) -- cgit v1.2.3