aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-15 19:21:17 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-15 19:21:17 +0800
commitd391940b9a074bca7ee82460ccaaabf46b5f2ba9 (patch)
tree28749131a7bf6984e8f41c7d72da6aeaccd3bb69 /runtime
parent574a5822023939d534d922eaa345bb7e0633d2b8 (diff)
downloadrneovim-d391940b9a074bca7ee82460ccaaabf46b5f2ba9.tar.gz
rneovim-d391940b9a074bca7ee82460ccaaabf46b5f2ba9.tar.bz2
rneovim-d391940b9a074bca7ee82460ccaaabf46b5f2ba9.zip
vim-patch:8.2.3227: 'virtualedit' can only be set globally
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes vim/vim#8638) https://github.com/vim/vim/commit/53ba05b09075f14227f9be831a22ed16f7cc26b2 I changed some macros to unsigned integer literals to avoid compiler warnings.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 06236741c2..08f719f16c 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6782,12 +6782,16 @@ A jump table for the options with a short description can be found at |Q_op|.
*'virtualedit'* *'ve'*
'virtualedit' 've' string (default "")
- global
+ global or local to buffer |global-local|
A comma separated list of these words:
block Allow virtual editing in Visual block mode.
insert Allow virtual editing in Insert mode.
all Allow virtual editing in all modes.
onemore Allow the cursor to move just past the end of the line
+ none When used as the local value, do not allow virtual
+ editing even when the global value is set. When used
+ as the global value, "none" is the same as "".
+ NONE Alternative spelling of "none".
Virtual editing means that the cursor can be positioned where there is
no actual character. This can be halfway into a tab or beyond the end