mirror of
https://github.com/neovim/neovim.git
synced 2025-12-12 01:22:41 +00:00
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 7.4. Last change: 2016 Mar 26
|
*autocmd.txt* For Vim version 7.4. Last change: 2016 Apr 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -544,6 +544,9 @@ CursorHold When the user doesn't press a key for the time
|
|||||||
|
|
||||||
*CursorHoldI*
|
*CursorHoldI*
|
||||||
CursorHoldI Just like CursorHold, but in Insert mode.
|
CursorHoldI Just like CursorHold, but in Insert mode.
|
||||||
|
Not triggered when waiting for another key,
|
||||||
|
e.g. after CTRL-V, and not when in CTRL-X mode
|
||||||
|
|insert_expand|.
|
||||||
|
|
||||||
*CursorMoved*
|
*CursorMoved*
|
||||||
CursorMoved After the cursor was moved in Normal or Visual
|
CursorMoved After the cursor was moved in Normal or Visual
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 7.4. Last change: 2016 Mar 08
|
*change.txt* For Vim version 7.4. Last change: 2016 Apr 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -813,7 +813,7 @@ Examples: >
|
|||||||
:s/abcde/abc^Mde/ modifies "abcde" to "abc", "de" (two lines)
|
:s/abcde/abc^Mde/ modifies "abcde" to "abc", "de" (two lines)
|
||||||
:s/$/\^M/ modifies "abcde" to "abcde^M"
|
:s/$/\^M/ modifies "abcde" to "abcde^M"
|
||||||
:s/\w\+/\u\0/g modifies "bla bla" to "Bla Bla"
|
:s/\w\+/\u\0/g modifies "bla bla" to "Bla Bla"
|
||||||
:s/\w\+/\L\u/g modifies "BLA bla" to "Bla Bla"
|
:s/\w\+/\L\u\0/g modifies "BLA bla" to "Bla Bla"
|
||||||
|
|
||||||
Note: "\L\u" can be used to capitalize the first letter of a word. This is
|
Note: "\L\u" can be used to capitalize the first letter of a word. This is
|
||||||
not compatible with Vi and older versions of Vim, where the "\u" would cancel
|
not compatible with Vi and older versions of Vim, where the "\u" would cancel
|
||||||
@@ -1164,7 +1164,7 @@ which does not specify a register. Additionally you can access it with the
|
|||||||
name '"'. This means you have to type two double quotes. Writing to the ""
|
name '"'. This means you have to type two double quotes. Writing to the ""
|
||||||
register writes to register "0.
|
register writes to register "0.
|
||||||
|
|
||||||
2. Numbered registers "0 to "9 *quote_number* *quote0* *quote1*
|
2. Numbered registers "0 to "9 *quote_number* *quote0* *quote1*
|
||||||
*quote2* *quote3* *quote4* *quote9*
|
*quote2* *quote3* *quote4* *quote9*
|
||||||
Vim fills these registers with text from yank and delete commands.
|
Vim fills these registers with text from yank and delete commands.
|
||||||
Numbered register 0 contains the text from the most recent yank command,
|
Numbered register 0 contains the text from the most recent yank command,
|
||||||
|
|||||||
@@ -1152,7 +1152,7 @@ Examples: >
|
|||||||
|
|
||||||
If you want to always use ":confirm", set the 'confirm' option.
|
If you want to always use ":confirm", set the 'confirm' option.
|
||||||
|
|
||||||
*:browse* *:bro* *E338* *E614* *E615* *E616* *E578*
|
*:browse* *:bro* *E338* *E614* *E615* *E616*
|
||||||
:bro[wse] {command} Open a file selection dialog for an argument to
|
:bro[wse] {command} Open a file selection dialog for an argument to
|
||||||
{command}. At present this works for |:e|, |:w|,
|
{command}. At present this works for |:e|, |:w|,
|
||||||
|:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,
|
|:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,
|
||||||
|
|||||||
@@ -783,7 +783,7 @@ A |Dictionary| can only be compared with a |Dictionary| and only "equal", "not
|
|||||||
equal" and "is" can be used. This compares the key/values of the |Dictionary|
|
equal" and "is" can be used. This compares the key/values of the |Dictionary|
|
||||||
recursively. Ignoring case means case is ignored when comparing item values.
|
recursively. Ignoring case means case is ignored when comparing item values.
|
||||||
|
|
||||||
*E693* *E694*
|
*E694*
|
||||||
A |Funcref| can only be compared with a |Funcref| and only "equal" and "not
|
A |Funcref| can only be compared with a |Funcref| and only "equal" and "not
|
||||||
equal" can be used. Case is never ignored.
|
equal" can be used. Case is never ignored.
|
||||||
|
|
||||||
@@ -2174,14 +2174,17 @@ sqrt({expr}) Float square root of {expr}
|
|||||||
str2float({expr}) Float convert String to Float
|
str2float({expr}) Float convert String to Float
|
||||||
str2nr({expr} [, {base}]) Number convert String to Number
|
str2nr({expr} [, {base}]) Number convert String to Number
|
||||||
strchars({expr} [, {skipcc}]) Number character length of the String {expr}
|
strchars({expr} [, {skipcc}]) Number character length of the String {expr}
|
||||||
|
strcharpart({str}, {start}[, {len}])
|
||||||
|
String {len} characters of {str} at {start}
|
||||||
strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
|
strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
|
||||||
strftime({format}[, {time}]) String time in specified format
|
strftime({format}[, {time}]) String time in specified format
|
||||||
|
strgetchar({str}, {index}) Number get char {index} from {str}
|
||||||
stridx({haystack}, {needle}[, {start}])
|
stridx({haystack}, {needle}[, {start}])
|
||||||
Number index of {needle} in {haystack}
|
Number index of {needle} in {haystack}
|
||||||
string({expr}) String String representation of {expr} value
|
string({expr}) String String representation of {expr} value
|
||||||
strlen({expr}) Number length of the String {expr}
|
strlen({expr}) Number length of the String {expr}
|
||||||
strpart({src}, {start}[, {len}])
|
strpart({str}, {start}[, {len}])
|
||||||
String {len} characters of {src} at {start}
|
String {len} characters of {str} at {start}
|
||||||
strridx({haystack}, {needle} [, {start}])
|
strridx({haystack}, {needle} [, {start}])
|
||||||
Number last index of {needle} in {haystack}
|
Number last index of {needle} in {haystack}
|
||||||
strtrans({expr}) String translate string to make it printable
|
strtrans({expr}) String translate string to make it printable
|
||||||
@@ -2591,7 +2594,9 @@ byteidx({expr}, {nr}) *byteidx()*
|
|||||||
same: >
|
same: >
|
||||||
let s = strpart(str, byteidx(str, 3))
|
let s = strpart(str, byteidx(str, 3))
|
||||||
echo strpart(s, 0, byteidx(s, 1))
|
echo strpart(s, 0, byteidx(s, 1))
|
||||||
< If there are less than {nr} characters -1 is returned.
|
< Also see |strgetchar()| and |strcharpart()|.
|
||||||
|
|
||||||
|
If there are less than {nr} characters -1 is returned.
|
||||||
If there are exactly {nr} characters the length of the string
|
If there are exactly {nr} characters the length of the string
|
||||||
in bytes is returned.
|
in bytes is returned.
|
||||||
|
|
||||||
@@ -3330,6 +3335,10 @@ feedkeys({string} [, {mode}]) *feedkeys()*
|
|||||||
will behave as if <Esc> is typed, to avoid getting
|
will behave as if <Esc> is typed, to avoid getting
|
||||||
stuck, waiting for a character to be typed before the
|
stuck, waiting for a character to be typed before the
|
||||||
script continues.
|
script continues.
|
||||||
|
'!' When used with 'x' will not end Insert mode. Can be
|
||||||
|
used in a test when a timer is set to exit Insert mode
|
||||||
|
a little later. Useful for testing CursorHoldI.
|
||||||
|
|
||||||
Return value is always 0.
|
Return value is always 0.
|
||||||
|
|
||||||
filereadable({file}) *filereadable()*
|
filereadable({file}) *filereadable()*
|
||||||
@@ -4088,16 +4097,21 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|
|||||||
The result is a String, which is the contents of register
|
The result is a String, which is the contents of register
|
||||||
{regname}. Example: >
|
{regname}. Example: >
|
||||||
:let cliptext = getreg('*')
|
:let cliptext = getreg('*')
|
||||||
< getreg('=') returns the last evaluated value of the expression
|
< When {regname} was not set the result is a empty string.
|
||||||
|
|
||||||
|
getreg('=') returns the last evaluated value of the expression
|
||||||
register. (For use in maps.)
|
register. (For use in maps.)
|
||||||
getreg('=', 1) returns the expression itself, so that it can
|
getreg('=', 1) returns the expression itself, so that it can
|
||||||
be restored with |setreg()|. For other registers the extra
|
be restored with |setreg()|. For other registers the extra
|
||||||
argument is ignored, thus you can always give it.
|
argument is ignored, thus you can always give it.
|
||||||
If {list} is present and non-zero result type is changed to
|
|
||||||
|List|. Each list item is one text line. Use it if you care
|
If {list} is present and non-zero, the result type is changed
|
||||||
|
to |List|. Each list item is one text line. Use it if you care
|
||||||
about zero bytes possibly present inside register: without
|
about zero bytes possibly present inside register: without
|
||||||
third argument both NLs and zero bytes are represented as NLs
|
third argument both NLs and zero bytes are represented as NLs
|
||||||
(see |NL-used-for-Nul|).
|
(see |NL-used-for-Nul|).
|
||||||
|
When the register was not set an empty list is returned.
|
||||||
|
|
||||||
If {regname} is not specified, |v:register| is used.
|
If {regname} is not specified, |v:register| is used.
|
||||||
|
|
||||||
|
|
||||||
@@ -5635,7 +5649,6 @@ pumvisible() *pumvisible()*
|
|||||||
This can be used to avoid some things that would remove the
|
This can be used to avoid some things that would remove the
|
||||||
popup menu.
|
popup menu.
|
||||||
|
|
||||||
*E860*
|
|
||||||
py3eval({expr}) *py3eval()*
|
py3eval({expr}) *py3eval()*
|
||||||
Evaluate Python expression {expr} and return its result
|
Evaluate Python expression {expr} and return its result
|
||||||
converted to Vim data structures.
|
converted to Vim data structures.
|
||||||
@@ -6761,7 +6774,6 @@ strchars({expr} [, {skipcc}]) *strchars()*
|
|||||||
counted separately.
|
counted separately.
|
||||||
When {skipcc} set to 1, Composing characters are ignored.
|
When {skipcc} set to 1, Composing characters are ignored.
|
||||||
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
Also see |strlen()|, |strdisplaywidth()| and |strwidth()|.
|
||||||
|
|
||||||
|
|
||||||
{skipcc} is only available after 7.4.755. For backward
|
{skipcc} is only available after 7.4.755. For backward
|
||||||
compatibility, you can define a wrapper function: >
|
compatibility, you can define a wrapper function: >
|
||||||
@@ -6779,6 +6791,13 @@ strchars({expr} [, {skipcc}]) *strchars()*
|
|||||||
endfunction
|
endfunction
|
||||||
endif
|
endif
|
||||||
<
|
<
|
||||||
|
strcharpart({src}, {start}[, {len}]) *strcharpart()*
|
||||||
|
Like |strpart()| but using character index and length instead
|
||||||
|
of byte index and length.
|
||||||
|
When a character index is used where a character does not
|
||||||
|
exist it is assumed to be one byte. For example: >
|
||||||
|
strcharpart('abc', -1, 2)
|
||||||
|
< results in 'a'.
|
||||||
|
|
||||||
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
|
||||||
@@ -6812,6 +6831,12 @@ strftime({format} [, {time}]) *strftime()*
|
|||||||
< Not available on all systems. To check use: >
|
< Not available on all systems. To check use: >
|
||||||
:if exists("*strftime")
|
:if exists("*strftime")
|
||||||
|
|
||||||
|
strgetchar({str}, {index}) *strgetchar()*
|
||||||
|
Get character {index} from {str}. This uses a character
|
||||||
|
index, not a byte index. Composing characters are considered
|
||||||
|
separate characters here.
|
||||||
|
Also see |strcharpart()| and |strchars()|.
|
||||||
|
|
||||||
stridx({haystack}, {needle} [, {start}]) *stridx()*
|
stridx({haystack}, {needle} [, {start}]) *stridx()*
|
||||||
The result is a Number, which gives the byte index in
|
The result is a Number, which gives the byte index in
|
||||||
{haystack} of the first occurrence of the String {needle}.
|
{haystack} of the first occurrence of the String {needle}.
|
||||||
@@ -6866,14 +6891,17 @@ strlen({expr}) The result is a Number, which is the length of the String
|
|||||||
strpart({src}, {start}[, {len}]) *strpart()*
|
strpart({src}, {start}[, {len}]) *strpart()*
|
||||||
The result is a String, which is part of {src}, starting from
|
The result is a String, which is part of {src}, starting from
|
||||||
byte {start}, with the byte length {len}.
|
byte {start}, with the byte length {len}.
|
||||||
When non-existing bytes are included, this doesn't result in
|
To count characters instead of bytes use |strcharpart()|.
|
||||||
an error, the bytes are simply omitted.
|
|
||||||
|
When bytes are selected which do not exist, this doesn't
|
||||||
|
result in an error, the bytes are simply omitted.
|
||||||
If {len} is missing, the copy continues from {start} till the
|
If {len} is missing, the copy continues from {start} till the
|
||||||
end of the {src}. >
|
end of the {src}. >
|
||||||
strpart("abcdefg", 3, 2) == "de"
|
strpart("abcdefg", 3, 2) == "de"
|
||||||
strpart("abcdefg", -2, 4) == "ab"
|
strpart("abcdefg", -2, 4) == "ab"
|
||||||
strpart("abcdefg", 5, 4) == "fg"
|
strpart("abcdefg", 5, 4) == "fg"
|
||||||
strpart("abcdefg", 3) == "defg"
|
strpart("abcdefg", 3) == "defg"
|
||||||
|
|
||||||
< Note: To get the first character, {start} must be 0. For
|
< Note: To get the first character, {start} must be 0. For
|
||||||
example, to get three bytes under and after the cursor: >
|
example, to get three bytes under and after the cursor: >
|
||||||
strpart(getline("."), col(".") - 1, 3)
|
strpart(getline("."), col(".") - 1, 3)
|
||||||
@@ -8499,14 +8527,6 @@ This does NOT work: >
|
|||||||
endfor
|
endfor
|
||||||
< Note that reordering the list (e.g., with sort() or
|
< Note that reordering the list (e.g., with sort() or
|
||||||
reverse()) may have unexpected effects.
|
reverse()) may have unexpected effects.
|
||||||
Note that the type of each list item should be
|
|
||||||
identical to avoid errors for the type of {var}
|
|
||||||
changing. Unlet the variable at the end of the loop
|
|
||||||
to allow multiple item types: >
|
|
||||||
for item in ["foo", ["bar"]]
|
|
||||||
echo item
|
|
||||||
unlet item " E706 without this
|
|
||||||
endfor
|
|
||||||
|
|
||||||
:for [{var1}, {var2}, ...] in {listlist}
|
:for [{var1}, {var2}, ...] in {listlist}
|
||||||
:endfo[r]
|
:endfo[r]
|
||||||
|
|||||||
@@ -96,8 +96,8 @@ command does the same and also splits the window (short: "scs").
|
|||||||
|
|
||||||
The available subcommands are:
|
The available subcommands are:
|
||||||
|
|
||||||
*E563* *E564* *E566* *E568* *E569* *E622* *E623*
|
*E563* *E564* *E566* *E568* *E622* *E623* *E625*
|
||||||
*E625* *E626* *E609*
|
*E626* *E609*
|
||||||
add : Add a new cscope database/connection.
|
add : Add a new cscope database/connection.
|
||||||
|
|
||||||
USAGE :cs add {file|dir} [pre-path] [flags]
|
USAGE :cs add {file|dir} [pre-path] [flags]
|
||||||
|
|||||||
@@ -699,7 +699,7 @@ if the `:py3` command is working: >
|
|||||||
:py3 print("Hello")
|
:py3 print("Hello")
|
||||||
< *:py3file*
|
< *:py3file*
|
||||||
The `:py3file` command works similar to `:pyfile`.
|
The `:py3file` command works similar to `:pyfile`.
|
||||||
*:py3do* *E863*
|
*:py3do*
|
||||||
The `:py3do` command works similar to `:pydo`.
|
The `:py3do` command works similar to `:pydo`.
|
||||||
|
|
||||||
*E880*
|
*E880*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 7.4. Last change: 2016 Mar 12
|
*index.txt* For Vim version 7.4. Last change: 2016 Apr 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -48,6 +48,7 @@ tag char action in Insert mode ~
|
|||||||
|i_CTRL-G_k| CTRL-G k line up, to column where inserting started
|
|i_CTRL-G_k| CTRL-G k line up, to column where inserting started
|
||||||
|i_CTRL-G_k| CTRL-G <Up> line up, to column where inserting started
|
|i_CTRL-G_k| CTRL-G <Up> line up, to column where inserting started
|
||||||
|i_CTRL-G_u| CTRL-G u start new undoable edit
|
|i_CTRL-G_u| CTRL-G u start new undoable edit
|
||||||
|
|i_CTRL-G_U| CTRL-G U don't break undo with next cursor movement
|
||||||
|i_<BS>| <BS> delete character before the cursor
|
|i_<BS>| <BS> delete character before the cursor
|
||||||
|i_digraph| {char1}<BS>{char2}
|
|i_digraph| {char1}<BS>{char2}
|
||||||
enter digraph (only when 'digraph' option set)
|
enter digraph (only when 'digraph' option set)
|
||||||
@@ -857,6 +858,7 @@ tag command note action in Visual mode ~
|
|||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|v_CTRL-\_CTRL-N| CTRL-\ CTRL-N stop Visual mode
|
|v_CTRL-\_CTRL-N| CTRL-\ CTRL-N stop Visual mode
|
||||||
|v_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode'
|
|v_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode'
|
||||||
|
|v_CTRL-A| CTRL-A 2 add N to number in highlighted text
|
||||||
|v_CTRL-C| CTRL-C stop Visual mode
|
|v_CTRL-C| CTRL-C stop Visual mode
|
||||||
|v_CTRL-G| CTRL-G toggle between Visual mode and Select mode
|
|v_CTRL-G| CTRL-G toggle between Visual mode and Select mode
|
||||||
|v_<BS>| <BS> 2 Select mode: delete highlighted area
|
|v_<BS>| <BS> 2 Select mode: delete highlighted area
|
||||||
@@ -865,6 +867,7 @@ tag command note action in Visual mode ~
|
|||||||
command
|
command
|
||||||
|v_CTRL-V| CTRL-V make Visual mode blockwise or stop Visual
|
|v_CTRL-V| CTRL-V make Visual mode blockwise or stop Visual
|
||||||
mode
|
mode
|
||||||
|
|v_CTRL-X| CTRL-X 2 subtract N from number in highlighted text
|
||||||
|v_<Esc>| <Esc> stop Visual mode
|
|v_<Esc>| <Esc> stop Visual mode
|
||||||
|v_CTRL-]| CTRL-] jump to highlighted tag
|
|v_CTRL-]| CTRL-] jump to highlighted tag
|
||||||
|v_!| !{filter} 2 filter the highlighted lines through the
|
|v_!| !{filter} 2 filter the highlighted lines through the
|
||||||
@@ -921,6 +924,8 @@ tag command note action in Visual mode ~
|
|||||||
|v_a}| a} same as aB
|
|v_a}| a} same as aB
|
||||||
|v_c| c 2 delete highlighted area and start insert
|
|v_c| c 2 delete highlighted area and start insert
|
||||||
|v_d| d 2 delete highlighted area
|
|v_d| d 2 delete highlighted area
|
||||||
|
|v_g_CTRL-A| g CTRL-A 2 add N to number in highlighted text
|
||||||
|
|v_g_CTRL-X| g CTRL-X 2 subtract N from number in highlighted text
|
||||||
|v_gJ| gJ 2 join the highlighted lines without
|
|v_gJ| gJ 2 join the highlighted lines without
|
||||||
inserting spaces
|
inserting spaces
|
||||||
|v_gq| gq 2 format the highlighted lines
|
|v_gq| gq 2 format the highlighted lines
|
||||||
|
|||||||
@@ -1352,7 +1352,7 @@ Possible attributes are:
|
|||||||
Note that -range=N and -count=N are mutually exclusive - only one should be
|
Note that -range=N and -count=N are mutually exclusive - only one should be
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
*E889* *:command-addr*
|
*:command-addr*
|
||||||
It is possible that the special characters in the range like `.`, `$` or `%`
|
It is possible that the special characters in the range like `.`, `$` or `%`
|
||||||
which by default correspond to the current line, last line and the whole
|
which by default correspond to the current line, last line and the whole
|
||||||
buffer, relate to arguments, (loaded) buffers, windows or tab pages.
|
buffer, relate to arguments, (loaded) buffers, windows or tab pages.
|
||||||
|
|||||||
@@ -573,7 +573,7 @@ An atom can be followed by an indication of how many times the atom can be
|
|||||||
matched and in what way. This is called a multi. See |/multi| for an
|
matched and in what way. This is called a multi. See |/multi| for an
|
||||||
overview.
|
overview.
|
||||||
|
|
||||||
*/star* */\star* *E56*
|
*/star* */\star*
|
||||||
* (use \* when 'magic' is not set)
|
* (use \* when 'magic' is not set)
|
||||||
Matches 0 or more of the preceding atom, as many as possible.
|
Matches 0 or more of the preceding atom, as many as possible.
|
||||||
Example 'nomagic' matches ~
|
Example 'nomagic' matches ~
|
||||||
@@ -593,7 +593,7 @@ overview.
|
|||||||
the end of the file and then tries matching "END", backing up one
|
the end of the file and then tries matching "END", backing up one
|
||||||
character at a time.
|
character at a time.
|
||||||
|
|
||||||
*/\+* *E57*
|
*/\+*
|
||||||
\+ Matches 1 or more of the preceding atom, as many as possible.
|
\+ Matches 1 or more of the preceding atom, as many as possible.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
^.\+$ any non-empty line
|
^.\+$ any non-empty line
|
||||||
@@ -608,7 +608,7 @@ overview.
|
|||||||
\? Just like \=. Cannot be used when searching backwards with the "?"
|
\? Just like \=. Cannot be used when searching backwards with the "?"
|
||||||
command.
|
command.
|
||||||
|
|
||||||
*/\{* *E58* *E60* *E554* *E870*
|
*/\{* *E60* *E554* *E870*
|
||||||
\{n,m} Matches n to m of the preceding atom, as many as possible
|
\{n,m} Matches n to m of the preceding atom, as many as possible
|
||||||
\{n} Matches n of the preceding atom
|
\{n} Matches n of the preceding atom
|
||||||
\{n,} Matches at least n of the preceding atom, as many as possible
|
\{n,} Matches at least n of the preceding atom, as many as possible
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*pi_netrw.txt* For Vim version 7.4. Last change: 2016 Feb 16
|
*pi_netrw.txt* For Vim version 7.4. Last change: 2016 Apr 20
|
||||||
|
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
NETRW REFERENCE MANUAL by Charles E. Campbell
|
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||||
@@ -1523,6 +1523,7 @@ the |'isfname'| option (which is global, so netrw doesn't modify it).
|
|||||||
Associated setting variables:
|
Associated setting variables:
|
||||||
|g:netrw_gx| control how gx picks up the text under the cursor
|
|g:netrw_gx| control how gx picks up the text under the cursor
|
||||||
|g:netrw_nogx| prevent gx map while editing
|
|g:netrw_nogx| prevent gx map while editing
|
||||||
|
|g:netrw_suppress_gx_mesg| controls gx's suppression of browser messages
|
||||||
|
|
||||||
*netrw_filehandler*
|
*netrw_filehandler*
|
||||||
|
|
||||||
@@ -2929,6 +2930,13 @@ your browsing preferences. (see also: |netrw-settings|)
|
|||||||
such as listing, file removal, etc.
|
such as listing, file removal, etc.
|
||||||
default: ssh
|
default: ssh
|
||||||
|
|
||||||
|
*g:netrw_suppress_gx_mesg* =1 : browsers sometimes produce messages
|
||||||
|
which are normally unwanted intermixed
|
||||||
|
with the page.
|
||||||
|
However, when using links, for example,
|
||||||
|
those messages are what the browser produces.
|
||||||
|
By setting this option to 0, netrw will not
|
||||||
|
suppress browser messages.
|
||||||
|
|
||||||
*g:netrw_tmpfile_escape* =' &;'
|
*g:netrw_tmpfile_escape* =' &;'
|
||||||
escape() is applied to all temporary files
|
escape() is applied to all temporary files
|
||||||
@@ -3755,6 +3763,23 @@ netrw:
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
12. History *netrw-history* {{{1
|
12. History *netrw-history* {{{1
|
||||||
|
|
||||||
|
v156: Feb 18, 2016 * Changed =~ to =~# where appropriate
|
||||||
|
Feb 23, 2016 * s:ComposePath(base,subdir) now uses
|
||||||
|
fnameescape() on the base portion
|
||||||
|
Mar 01, 2016 * (gt_macki) reported where :Explore would
|
||||||
|
make file unlisted. Fixed (tst943)
|
||||||
|
Apr 04, 2016 * (reported by John Little) netrw normally
|
||||||
|
suppresses browser messages, but sometimes
|
||||||
|
those "messages" are what is wanted.
|
||||||
|
See |g:netrw_suppress_gx_mesg|
|
||||||
|
Apr 06, 2016 * (reported by Carlos Pita) deleting a remote
|
||||||
|
file was giving an error message. Fixed.
|
||||||
|
Apr 08, 2016 * (Charles Cooper) had a problem with an
|
||||||
|
undefined b:netrw_curdir. He also provided
|
||||||
|
a fix.
|
||||||
|
Apr 20, 2016 * Changed s:NetrwGetBuffer(); now uses
|
||||||
|
dictionaries. Also fixed the "No Name"
|
||||||
|
buffer problem.
|
||||||
v155: Oct 29, 2015 * (Timur Fayzrakhmanov) reported that netrw's
|
v155: Oct 29, 2015 * (Timur Fayzrakhmanov) reported that netrw's
|
||||||
mapping of ctrl-l was not allowing refresh of
|
mapping of ctrl-l was not allowing refresh of
|
||||||
other windows when it was done in a netrw
|
other windows when it was done in a netrw
|
||||||
|
|||||||
@@ -473,7 +473,7 @@ correct values.
|
|||||||
|
|
||||||
One command can be used to set the screen size:
|
One command can be used to set the screen size:
|
||||||
|
|
||||||
*:mod* *:mode* *E359* *E362*
|
*:mod* *:mode*
|
||||||
:mod[e]
|
:mod[e]
|
||||||
|
|
||||||
Detects the screen size and redraws the screen.
|
Detects the screen size and redraws the screen.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: Vim script
|
" Language: Vim script
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2016 Jan 24
|
" Last Change: 2016 Apr 19
|
||||||
|
|
||||||
" Only load this indent file when no other was loaded.
|
" Only load this indent file when no other was loaded.
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
@@ -60,7 +60,7 @@ function GetVimIndentIntern()
|
|||||||
else
|
else
|
||||||
let ind = ind + shiftwidth() * 3
|
let ind = ind + shiftwidth() * 3
|
||||||
endif
|
endif
|
||||||
elseif prev_text =~ '^\s*aug\%[roup]' && prev_text !~ '^\s*aug\%[roup]\s*!\=\s\+END'
|
elseif prev_text =~ '^\s*aug\%[roup]' && prev_text !~ '^\s*aug\%[roup]\s*!\=\s\+[eE][nN][dD]'
|
||||||
let ind = ind + shiftwidth()
|
let ind = ind + shiftwidth()
|
||||||
else
|
else
|
||||||
" A line starting with :au does not increment/decrement indent.
|
" A line starting with :au does not increment/decrement indent.
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
if &cp || exists("g:loaded_netrwPlugin")
|
if &cp || exists("g:loaded_netrwPlugin")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_netrwPlugin = "v155"
|
let g:loaded_netrwPlugin = "v156"
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
"DechoRemOn
|
"DechoRemOn
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: php PHP 3/4/5
|
" Language: php PHP 3/4/5
|
||||||
" Maintainer: Jason Woofenden <jason@jasonwoof.com>
|
" Maintainer: Jason Woofenden <jason@jasonwoof.com>
|
||||||
" Last Change: Dec 26, 2015
|
" Last Change: Apr 18, 2016
|
||||||
" URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD
|
" URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD
|
||||||
" Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
|
" Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
|
||||||
" Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
" Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
|
||||||
@@ -136,7 +136,7 @@ syn keyword phpConstant __LINE__ __FILE__ __FUNCTION__ __METHOD__ __CLASS__ __D
|
|||||||
|
|
||||||
" Function and Methods ripped from php_manual_de.tar.gz Jan 2003
|
" Function and Methods ripped from php_manual_de.tar.gz Jan 2003
|
||||||
syn keyword phpFunctions apache_child_terminate apache_get_modules apache_get_version apache_getenv apache_lookup_uri apache_note apache_request_headers apache_response_headers apache_setenv ascii2ebcdic ebcdic2ascii getallheaders virtual contained
|
syn keyword phpFunctions apache_child_terminate apache_get_modules apache_get_version apache_getenv apache_lookup_uri apache_note apache_request_headers apache_response_headers apache_setenv ascii2ebcdic ebcdic2ascii getallheaders virtual contained
|
||||||
syn keyword phpFunctions array_change_key_case array_chunk array_combine array_count_values array_diff_assoc array_diff_uassoc array_diff array_fill array_filter array_flip array_intersect_assoc array_intersect array_key_exists array_keys array_map array_merge_recursive array_merge array_multisort array_pad array_pop array_push array_rand array_reduce array_reverse array_search array_shift array_slice array_splice array_sum array_udiff_assoc array_udiff_uassoc array_udiff array_unique array_unshift array_values array_walk array arsort asort compact count current each end extract in_array key krsort ksort list natcasesort natsort next pos prev range reset rsort shuffle sizeof sort uasort uksort usort contained
|
syn keyword phpFunctions array_change_key_case array_chunk array_column array_combine array_count_values array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_diff array_fill_keys array_fill array_filter array_flip array_intersect_assoc array_intersect_key array_intersect_uassoc array_intersect_ukey array_intersect array_key_exists array_keys array_map array_merge_recursive array_merge array_multisort array_pad array_pop array_product array_push array_rand array_reduce array_replace_recursive array_replace array_reverse array_search array_shift array_slice array_splice array_sum array_udiff_assoc array_udiff_uassoc array_udiff array_uintersect_assoc array_uintersect_uassoc array_uintersect array_unique array_unshift array_values array_walk_recursive array_walk arsort asort count current each end in_array key_exists key krsort ksort natcasesort natsort next pos prev range reset rsort shuffle sizeof sort uasort uksort usort contained
|
||||||
syn keyword phpFunctions aspell_check aspell_new aspell_suggest contained
|
syn keyword phpFunctions aspell_check aspell_new aspell_suggest contained
|
||||||
syn keyword phpFunctions bcadd bccomp bcdiv bcmod bcmul bcpow bcpowmod bcscale bcsqrt bcsub contained
|
syn keyword phpFunctions bcadd bccomp bcdiv bcmod bcmul bcpow bcpowmod bcscale bcsqrt bcsub contained
|
||||||
syn keyword phpFunctions bzclose bzcompress bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite contained
|
syn keyword phpFunctions bzclose bzcompress bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite contained
|
||||||
|
|||||||
Reference in New Issue
Block a user