summaryrefslogtreecommitdiff
path: root/runtime/doc/visual.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/visual.txt')
-rw-r--r--runtime/doc/visual.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index e817f0908..c04db4a0e 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -1,4 +1,4 @@
-*visual.txt* For Vim version 7.2. Last change: 2006 Sep 26
+*visual.txt* For Vim version 7.2. Last change: 2009 Oct 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -217,7 +217,7 @@ The objects that can be used are:
i[ inner [] block |v_i[|
Additionally the following commands can be used:
- : start ex command for highlighted lines (1) |v_:|
+ : start Ex command for highlighted lines (1) |v_:|
r change (4) |v_r|
s change |v_s|
C change (2)(4) |v_C|
@@ -309,8 +309,6 @@ The block is shifted by 'shiftwidth'. The RHS of the block is irrelevant. The
LHS of the block determines the point from which to apply a right shift, and
padding includes TABs optimally according to 'ts' and 'et'. The LHS of the
block determines the point upto which to shift left.
- Note: v_< padding is buggy if the Visual Block starts and ends in the same
- TAB. (Vim 5.4c)
See |v_b_>_example|.
See |v_b_<_example|.
@@ -465,6 +463,10 @@ work both in Visual mode and in Select mode. When these are used in Select
mode Vim automatically switches to Visual mode, so that the same behavior as
in Visual mode is effective. If you don't want this use |:xmap| or |:smap|.
+Users will expect printable characters to replace the selected area.
+Therefore avoid mapping printable characters in Select mode. Or use
+|:sunmap| after |:map| and |:vmap| to remove it for Select mode.
+
After the mapping or menu finishes, the selection is enabled again and Select
mode entered, unless the selected area was deleted, another buffer became
the current one or the window layout was changed.