Skip to content

Commit 96fecf5

Browse files
authored
Remove H-* keys from example keybindings (#724)
Commit 33414b9 had breaking changes for configuration, and this updates the examples to match.
1 parent 0314cd1 commit 96fecf5

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

KEYBINDING_COLEMAK.org

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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)

KEYBINDING_DVORAK.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

KEYBINDING_DVP.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

KEYBINDING_QWERTY.org

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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)

TUTORIAL.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ however then the original command on k/j is not accessible. To access the origin
7171
Here'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

7777
The settings we made works in all special modes.

0 commit comments

Comments
 (0)