File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed
Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,13 @@ Add it to your configuration and call it before ~(meow-global-mode 1)~.
1313#+begin_src emacs-lisp
1414 (defun meow-setup ()
1515 (setq meow-cheatsheet-layout meow-cheatsheet-layout-colemak)
16- (meow-motion-overwrite- define-key
16+ (meow-motion-define-key
1717 ;; Use e to move up, n to move down.
1818 ;; Since special modes usually use n to move down, we only overwrite e here.
1919 '("e" . meow-prev)
2020 '("<escape>" . ignore))
2121 (meow-leader-define-key
2222 '("?" . meow-cheatsheet)
23- ;; To execute the originally e in MOTION state, use SPC e.
24- '("e" . "H-e")
2523 '("1" . meow-digit-argument)
2624 '("2" . meow-digit-argument)
2725 '("3" . meow-digit-argument)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Add it to your configuration and call it before ~(meow-global-mode 1)~.
2121 '("0" . meow-digit-argument)
2222 '("/" . meow-keypad-describe-key)
2323 '("?" . meow-cheatsheet))
24- (meow-motion-overwrite- define-key
24+ (meow-motion-define-key
2525 ;; custom keybinding for motion state
2626 '("<escape>" . ignore))
2727 (meow-normal-define-key
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Add it to your configuration and call it before ~(meow-global-mode 1)~.
1010 (setq meow-cheatsheet-layout meow-cheatsheet-layout-dvp)
1111 (meow-leader-define-key
1212 '("?" . meow-cheatsheet))
13- (meow-motion-overwrite- define-key
13+ (meow-motion-define-key
1414 ;; custom keybinding for motion state
1515 '("<escape>" . ignore))
1616 (meow-normal-define-key
Original file line number Diff line number Diff line change @@ -8,14 +8,11 @@ Add it to your configuration and call it before ~(meow-global-mode 1)~.
88#+begin_src emacs-lisp
99 (defun meow-setup ()
1010 (setq meow-cheatsheet-layout meow-cheatsheet-layout-qwerty)
11- (meow-motion-overwrite- define-key
11+ (meow-motion-define-key
1212 '("j" . meow-next)
1313 '("k" . meow-prev)
1414 '("<escape>" . ignore))
1515 (meow-leader-define-key
16- ;; SPC j/k will run the original command in MOTION state.
17- '("j" . "H-j")
18- '("k" . "H-k")
1916 ;; Use SPC (0-9) for digit arguments.
2017 '("1" . meow-digit-argument)
2118 '("2" . meow-digit-argument)
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ however then the original command on k/j is not accessible. To access the origin
7171Here's an example: you want use ~j~ as ~next-line~ globally.
7272
7373#+begin_src emacs-lisp
74- (meow-motion-overwrite- define-key '("j" . next-line))
74+ (meow-motion-define-key '("j" . next-line))
7575#+end_src
7676
7777The settings we made works in all special modes.
You can’t perform that action at this time.
0 commit comments