diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-15 03:43:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 03:43:33 +0800 |
commit | aa1d0ac095dcc08b6069d716222739e83cbe051f (patch) | |
tree | 03b80415d539a8b601505a4bd8426bcd596b332b /runtime/doc/repeat.txt | |
parent | f6a3fdd6848d67dc54cebb6c297f8ebdc109c3a3 (diff) | |
download | rneovim-aa1d0ac095dcc08b6069d716222739e83cbe051f.tar.gz rneovim-aa1d0ac095dcc08b6069d716222739e83cbe051f.tar.bz2 rneovim-aa1d0ac095dcc08b6069d716222739e83cbe051f.zip |
fix(defaults): only repeat macro for each selected line if linewise (#28289)
As mentioned in #28287, repeating a macro for each selected line doesn't
really make sense in non-linewise Visual mode.
Fix #28287
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r-- | runtime/doc/repeat.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index ae827fa06f..2263b20d1a 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -149,8 +149,8 @@ q Stops recording. @@ Repeat the previous @{0-9a-z":*} [count] times. *v_@-default* -{Visual}@{0-9a-z".=*+} In Visual mode, execute the contents of the register -{Visual}@@ but for each selected line. +{Visual}@{0-9a-z".=*+} In linewise Visual mode, execute the contents of the +{Visual}@@ register for each selected line. See |visual-repeat|, |default-mappings|. *Q* @@ -158,8 +158,8 @@ Q Repeat the last recorded register [count] times. See |reg_recorded()|. *v_Q-default* -{Visual}Q In Visual mode, repeat the last recorded register for - each selected line. +{Visual}Q In linewise Visual mode, repeat the last recorded + register for each selected line. See |visual-repeat|, |default-mappings|. *:@* |