summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-02 20:30:35 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-02 20:30:35 +0200
commite2e69e48134cbfdedea7802810932f8592705024 (patch)
tree5de70fd649143a4e94584ef3a648b1877900b02f /runtime
parent3653822546fb0f1005c32bb5b70dc9bfacdfc954 (diff)
downloadvim-git-e2e69e48134cbfdedea7802810932f8592705024.tar.gz
patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041
Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/visual.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 0a91b9f48..59315019d 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -314,8 +314,8 @@ Visual-block Insert *v_b_I*
With a blockwise selection, I{string}<ESC> will insert {string} at the start
of block on every line of the block, provided that the line extends into the
block. Thus lines that are short will remain unmodified. TABs are split to
-retain visual columns.
-See |v_b_I_example|.
+retain visual columns. Works only for adding text to a line, not for
+deletions. See |v_b_I_example|.
Visual-block Append *v_b_A*
With a blockwise selection, A{string}<ESC> will append {string} to the end of
@@ -331,6 +331,7 @@ See |v_b_A_example|.
Note: "I" and "A" behave differently for lines that don't extend into the
selected block. This was done intentionally, so that you can do it the way
you want.
+Works only for adding text to a line, not for deletions.
Visual-block change *v_b_c*
All selected text in the block will be replaced by the same text string. When