Update runtime files

This commit is contained in:
Bram Moolenaar
2022-10-28 20:47:54 +01:00
parent 3f68a4136e
commit 6ebe4f970b
24 changed files with 482 additions and 311 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.0. Last change: 2022 Oct 14
*builtin.txt* For Vim version 9.0. Last change: 2022 Oct 21
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1583,11 +1583,9 @@ col({expr}) The result is a Number, which is the byte index of the column
buffer.
For the cursor position, when 'virtualedit' is active, the
column is one higher if the cursor is after the end of the
line. This can be used to obtain the column in Insert mode: >
:imap <F2> <C-O>:let save_ve = &ve<CR>
\<C-O>:set ve=all<CR>
\<C-O>:echo col(".") .. "\n" <Bar>
\let &ve = save_ve<CR>
line. Also, when using a <Cmd> mapping the cursor isn't
moved, this can be used to obtain the column in Insert mode: >
:imap <F2> <Cmd>echo col(".")<CR>
< Can also be used as a |method|: >
GetPos()->col()