diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-12-15 07:05:12 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-12-15 07:09:39 +0800 |
commit | caa93b5e1e621e63777def5d9fdd49d613e1c274 (patch) | |
tree | 23ff107efe5b44b09d0ad5bdda059e3b88f12306 /runtime/lua/vim/_meta/options.lua | |
parent | 433b342baa04b35fb1ab24d4ef38f126d12ea714 (diff) | |
download | rneovim-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 'runtime/lua/vim/_meta/options.lua')
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index fecbece655..63bf0df5f6 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -5214,6 +5214,8 @@ vim.go.sect = vim.go.sections --- 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. |