diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/emacs/site-lisp/my-modal.el | 6 |
1 files changed, 4 insertions, 2 deletions
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 "<return>") . 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 "<return>") + "S" "F" "H" "J" "K" "L" ":" "\"" "Z" "X" "V" "N" "M" "<" ">" )) |
