runtime(doc): add a note about inclusive motions and exclusive selection

related: #16202

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-12-14 20:23:39 +01:00
parent e203841e0d
commit ed89206efe
3 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2024 Dec 07
*options.txt* For Vim version 9.1. Last change: 2024 Dec 14
VIM REFERENCE MANUAL by Bram Moolenaar
@ -7018,6 +7018,8 @@ A jump table for the options with a short description can be found at |Q_op|.
selection.
When "old" is used and 'virtualedit' allows the cursor to move past
the end of line the line break still isn't included.
When "exclusive" is used, cursor position in visual mode will be
adjusted for inclusive motions |inclusive-motion-selection-exclusive|.
Note that when "exclusive" is used and selecting from the end
backwards, you cannot include the last character of a line, when
starting in Normal mode and 'virtualedit' empty.