aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-15 07:05:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-12-15 07:09:39 +0800
commitcaa93b5e1e621e63777def5d9fdd49d613e1c274 (patch)
tree23ff107efe5b44b09d0ad5bdda059e3b88f12306 /src/nvim/options.lua
parent433b342baa04b35fb1ab24d4ef38f126d12ea714 (diff)
downloadrneovim-caa93b5e1e621e63777def5d9fdd49d613e1c274.tar.gz
rneovim-caa93b5e1e621e63777def5d9fdd49d613e1c274.tar.bz2
rneovim-caa93b5e1e621e63777def5d9fdd49d613e1c274.zip
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 <cb@256bit.org>
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua2
1 files changed, 2 insertions, 0 deletions
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.