Mercurial > vim
comparison runtime/doc/repeat.txt @ 20891:4bdc07beeadb v8.2.0997
patch 8.2.0997: cannot execute a register containing line continuation
Commit: https://github.com/vim/vim/commit/856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 17 21:47:23 2020 +0200
patch 8.2.0997: cannot execute a register containing line continuation
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes #6272)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Jun 2020 22:00:05 +0200 |
parents | 74e3316c1d5a |
children | 3a1ed539ae2a |
comparison
equal
deleted
inserted
replaced
20890:2ac788c89015 | 20891:4bdc07beeadb |
---|---|
161 default when 'nocompatible' is used. | 161 default when 'nocompatible' is used. |
162 For ":@=" the last used expression is used. The | 162 For ":@=" the last used expression is used. The |
163 result of evaluating the expression is executed as an | 163 result of evaluating the expression is executed as an |
164 Ex command. | 164 Ex command. |
165 Mappings are not recognized in these commands. | 165 Mappings are not recognized in these commands. |
166 When the |line-continuation| character (\) is present | |
167 at the beginning of a line in a linewise register, | |
168 then it is combined with the previous line. This is | |
169 useful for yanking and executing parts of a Vim | |
170 script. | |
166 Future: Will execute the register for each line in the | 171 Future: Will execute the register for each line in the |
167 address range. | 172 address range. |
168 | 173 |
169 *:@:* | 174 *:@:* |
170 :[addr]@: Repeat last command-line. First set cursor at line | 175 :[addr]@: Repeat last command-line. First set cursor at line |