vim-patch:ed89206: runtime(doc): add a note about inclusive motions and exclusive selection

related: vim/vim#16202

ed89206efe

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-12-15 07:05:12 +08:00
parent 433b342baa
commit caa93b5e1e
4 changed files with 13 additions and 0 deletions

View File

@@ -7011,6 +7011,8 @@ return {
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.