mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:979243b
Update help files. https://github.com/vim/vim/commit/979243b
This commit is contained in:
parent
0429b7714f
commit
18be6e0b30
@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 7.4. Last change: 2015 Feb 10
|
*change.txt* For Vim version 7.4. Last change: 2015 Jun 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -366,14 +366,45 @@ Adding and subtracting ~
|
|||||||
CTRL-A Add [count] to the number or alphabetic character at
|
CTRL-A Add [count] to the number or alphabetic character at
|
||||||
or after the cursor.
|
or after the cursor.
|
||||||
|
|
||||||
|
*v_CTRL-A*
|
||||||
|
{Visual}CTRL-A Add [count] to the number or alphabetic character in
|
||||||
|
the highlighted text. {not in Vi}
|
||||||
|
|
||||||
|
*v_g_CTRL-A*
|
||||||
|
{Visual}g CTRL-A Add [count] to the number or alphabetic character in
|
||||||
|
the highlighted text. If several lines are
|
||||||
|
highlighted, each one will be incremented by an
|
||||||
|
additional [count] (so effectively creating a
|
||||||
|
[count] incrementing sequence). {not in Vi}
|
||||||
|
For Example, if you have this list of numbers:
|
||||||
|
1. ~
|
||||||
|
1. ~
|
||||||
|
1. ~
|
||||||
|
1. ~
|
||||||
|
Move to the second "1." and Visually select three
|
||||||
|
lines, pressing g CTRL-A results in:
|
||||||
|
1. ~
|
||||||
|
2. ~
|
||||||
|
3. ~
|
||||||
|
4. ~
|
||||||
|
|
||||||
*CTRL-X*
|
*CTRL-X*
|
||||||
CTRL-X Subtract [count] from the number or alphabetic
|
CTRL-X Subtract [count] from the number or alphabetic
|
||||||
character at or after the cursor.
|
character at or after the cursor.
|
||||||
|
|
||||||
The CTRL-A and CTRL-X commands can work for:
|
*v_CTRL-X*
|
||||||
- signed and unsigned decimal numbers
|
{Visual}CTRL-X Subtract [count] from the number or alphabetic
|
||||||
- unsigned binary, octal and hexadecimal numbers
|
character in the highlighted text. {not in Vi}
|
||||||
- alphabetic characters
|
|
||||||
|
*v_g_CTRL-X*
|
||||||
|
{Visual}g CTRL-X Subtract [count] from the number or alphabetic
|
||||||
|
character in the highlighted text. If several lines
|
||||||
|
are highlighted, each value will be decremented by an
|
||||||
|
additional [count] (so effectively creating a [count]
|
||||||
|
decrementing sequence). {not in Vi}
|
||||||
|
|
||||||
|
The CTRL-A and CTRL-X commands work for (signed) decimal numbers, unsigned
|
||||||
|
binary/octal/hexadecimal numbers and alphabetic characters.
|
||||||
|
|
||||||
This depends on the 'nrformats' option:
|
This depends on the 'nrformats' option:
|
||||||
- When 'nrformats' includes "bin", Vim assumes numbers starting with '0b' or
|
- When 'nrformats' includes "bin", Vim assumes numbers starting with '0b' or
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.4. Last change: 2015 Nov 30
|
*eval.txt* For Vim version 7.4. Last change: 2015 Jun 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1003,7 +1003,7 @@ function. Example: >
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
string *string* *expr-string* *E114*
|
string *string* *String* *expr-string* *E114*
|
||||||
------
|
------
|
||||||
"string" string constant *expr-quote*
|
"string" string constant *expr-quote*
|
||||||
|
|
||||||
@ -6157,15 +6157,17 @@ str2nr( {expr} [, {base}]) *str2nr()*
|
|||||||
Text after the number is silently ignored.
|
Text after the number is silently ignored.
|
||||||
|
|
||||||
|
|
||||||
strchars({expr}) *strchars()*
|
strchars({expr} [, {skipcc}]) *strchars()*
|
||||||
The result is a Number, which is the number of characters
|
The result is a Number, which is the number of characters
|
||||||
String {expr} occupies. Composing characters are counted
|
in String {expr}.
|
||||||
separately.
|
When {skipcc} is omitted or zero, composing characters are
|
||||||
|
counted separately.
|
||||||
|
When {skipcc} set to 1, Composing characters are ignored.
|
||||||
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
||||||
|
|
||||||
strdisplaywidth({expr}[, {col}]) *strdisplaywidth()*
|
strdisplaywidth({expr}[, {col}]) *strdisplaywidth()*
|
||||||
The result is a Number, which is the number of display cells
|
The result is a Number, which is the number of display cells
|
||||||
String {expr} occupies on the screen when it starts a {col}.
|
String {expr} occupies on the screen when it starts at {col}.
|
||||||
When {col} is omitted zero is used. Otherwise it is the
|
When {col} is omitted zero is used. Otherwise it is the
|
||||||
screen column where to start. This matters for Tab
|
screen column where to start. This matters for Tab
|
||||||
characters.
|
characters.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 7.4. Last change: 2015 May 22
|
*insert.txt* For Vim version 7.4. Last change: 2015 Jun 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -78,8 +78,8 @@ CTRL-W Delete the word before the cursor (see |i_backspacing| about
|
|||||||
|word-motions|, for the definition of a word.
|
|word-motions|, for the definition of a word.
|
||||||
*i_CTRL-U*
|
*i_CTRL-U*
|
||||||
CTRL-U Delete all entered characters before the cursor in the current
|
CTRL-U Delete all entered characters before the cursor in the current
|
||||||
line. If there are no newly entereed characters and
|
line. If there are no newly entered characters and
|
||||||
'backspace'is not empty, delete all characters before the
|
'backspace' is not empty, delete all characters before the
|
||||||
cursor in the current line.
|
cursor in the current line.
|
||||||
See |i_backspacing| about joining lines.
|
See |i_backspacing| about joining lines.
|
||||||
*i_CTRL-I* *i_<Tab>* *i_Tab*
|
*i_CTRL-I* *i_<Tab>* *i_Tab*
|
||||||
|
Loading…
Reference in New Issue
Block a user