mirror of
https://github.com/zoriya/vim.git
synced 2026-06-04 12:27:58 +00:00
Updated runtime files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.4. Last change: 2015 Dec 28
|
||||
*eval.txt* For Vim version 7.4. Last change: 2015 Dec 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -865,8 +865,8 @@ expr1'th single byte from expr8. expr8 is used as a String, expr1 as a
|
||||
Number. This doesn't recognize multi-byte encodings, see |byteidx()| for
|
||||
an alternative.
|
||||
|
||||
Index zero gives the first character. This is like it works in C. Careful:
|
||||
text column numbers start with one! Example, to get the character under the
|
||||
Index zero gives the first byte. This is like it works in C. Careful:
|
||||
text column numbers start with one! Example, to get the byte under the
|
||||
cursor: >
|
||||
:let c = getline(".")[col(".") - 1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user