aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorEivind Fonn <evfonn@gmail.com>2019-12-31 16:15:18 +0100
committerEivind Fonn <evfonn@gmail.com>2019-12-31 16:22:26 +0100
commitef4f345b8bfa45f61448cb6dc747496d3b561dcc (patch)
treebd9920ce2b57c3f8465c328e9b22346cc48ec366 /evil-macros.el
parent30e951fd41ae408fab7fc19004f88c31205c0e4a (diff)
Docs: fix use of \\[...] to display key sequences
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 79cd8d8..5142649 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -120,7 +120,8 @@ Optional keyword arguments are:
`inclusive', `line', `block' and `exclusive', or a self-defined
motion type)
- `:jump' - if non-nil, the previous position is stored in the jump
- list, so that it can be restored with \\[C-o]
+ list, so that it can be restored with \
+\\<evil-motion-state-map>\\[evil-jump-backward]
\(fn MOTION (COUNT ARGS...) DOC [[KEY VALUE]...] BODY...)"
(declare (indent defun)
@@ -472,7 +473,8 @@ Optional keyword arguments are:
- `:motion' - use a predetermined motion instead of waiting for one
from the keyboard. This does not affect the behavior in visual
state, where selection boundaries are always used.
-- `:repeat' - if non-nil (default), then \\[.] will repeat the
+- `:repeat' - if non-nil (default), then \
+ \\<evil-normal-state-map>\\[evil-repeat] will repeat the
operator.
- `:move-point' - if non-nil (default), the cursor will be moved to
the beginning of the range before the body executes