aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2022-04-13 12:05:02 +0100
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2022-04-13 13:12:42 +0200
commit7e87b82660668cb10f1f9838ddd622abab1f7a62 (patch)
treef4a2aa572fee7a29f884eac7ca75152ce032826c /evil-macros.el
parentdbab24f01daeef99039e6cd6f671d8b9ff1b4796 (diff)
Ex yank doesn't move point
In visual state, it restores point to beginning of visual range Fixes #1593
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 329f54c..fe26723 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -480,6 +480,8 @@ Optional keyword arguments are:
- `:keep-visual' - if non-nil, the selection is not disabled when the
operator is executed in visual state. By default, visual state is
exited automatically.
+- `:restore-point' - if non-nil, point is restored when the
+ operator is executed from ex.
\(fn OPERATOR (BEG END ARGS...) DOC [[KEY VALUE]...] BODY...)"
(declare (indent defun)