Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -163,6 +163,11 @@ q Stops recording. (Implementation no result of evaluating the expression is executed as an Ex command. Mappings are not recognized in these commands. + When the |line-continuation| character (\) is present + at the beginning of a line in a linewise register, + then it is combined with the previous line. This is + useful for yanking and executing parts of a Vim + script. Future: Will execute the register for each line in the address range.