From caa93b5e1e621e63777def5d9fdd49d613e1c274 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 15 Dec 2024 07:05:12 +0800 Subject: vim-patch:ed89206: runtime(doc): add a note about inclusive motions and exclusive selection related: vim/vim#16202 https://github.com/vim/vim/commit/ed89206efe404a94e8424ccfe03c978fd93470f1 Co-authored-by: Christian Brabandt --- src/nvim/options.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index de152fb315..6dc32658fe 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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. -- cgit