mirror of
https://github.com/zoriya/vim.git
synced 2025-12-14 19:26:18 +00:00
Compare commits
95 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ac681a280 | ||
|
|
968a5b62ff | ||
|
|
affd0bc626 | ||
|
|
caf1a2f296 | ||
|
|
3b814af7e1 | ||
|
|
47f6db9089 | ||
|
|
1b0a9dd413 | ||
|
|
26d711645c | ||
|
|
b69c6fb7b4 | ||
|
|
90478f35a8 | ||
|
|
2d6d718dde | ||
|
|
5ffefbb35a | ||
|
|
2346a63784 | ||
|
|
4ee9d8e04d | ||
|
|
e70e12b32f | ||
|
|
2e66b0d137 | ||
|
|
c2dec4cac4 | ||
|
|
c3a27bbd53 | ||
|
|
6d1792d408 | ||
|
|
d9f31c13d2 | ||
|
|
e99d422bbd | ||
|
|
e6174fd58d | ||
|
|
4a27aefe3b | ||
|
|
a993153538 | ||
|
|
7423577180 | ||
|
|
6654ca702c | ||
|
|
0b71955552 | ||
|
|
5958549760 | ||
|
|
744aecf877 | ||
|
|
22db0d549f | ||
|
|
8de901e1f1 | ||
|
|
f0a4069e3d | ||
|
|
4f13527598 | ||
|
|
3044324e8d | ||
|
|
7b4f76c030 | ||
|
|
544a38e44d | ||
|
|
31e299c08f | ||
|
|
a42e6e0082 | ||
|
|
54656015d3 | ||
|
|
c04f2a4cd4 | ||
|
|
e3f50ad640 | ||
|
|
b55d618f19 | ||
|
|
a733042b12 | ||
|
|
445f11d5bc | ||
|
|
dc73b4b75d | ||
|
|
c41badb748 | ||
|
|
8cf02e5cf8 | ||
|
|
2f9c209ba0 | ||
|
|
f7a023e580 | ||
|
|
3a7503c34c | ||
|
|
f05d2fc539 | ||
|
|
e729ce294f | ||
|
|
6db7b6375a | ||
|
|
518df27ebe | ||
|
|
99285550a9 | ||
|
|
2067733b5c | ||
|
|
c64ed2b714 | ||
|
|
3cfa5b16b0 | ||
|
|
7a2217bedd | ||
|
|
f5bfa8faa7 | ||
|
|
2752360646 | ||
|
|
59b262362f | ||
|
|
1328bde9d4 | ||
|
|
c6d71532dd | ||
|
|
8da6d6db34 | ||
|
|
b288ba9f1d | ||
|
|
4f2417ffee | ||
|
|
84e9ade826 | ||
|
|
21492743e8 | ||
|
|
56cddb3879 | ||
|
|
5fa9b24440 | ||
|
|
6c4c404c58 | ||
|
|
24951a67c2 | ||
|
|
6e0b553fa1 | ||
|
|
4f3c57f798 | ||
|
|
5072b47a22 | ||
|
|
85eee5b969 | ||
|
|
0a808598e4 | ||
|
|
01c798c31a | ||
|
|
a83d06026d | ||
|
|
c3cb1c92a3 | ||
|
|
0f37e3561d | ||
|
|
a2e468fcac | ||
|
|
eecf2b35a1 | ||
|
|
eeec254878 | ||
|
|
b54abeeafb | ||
|
|
6f1d2aa437 | ||
|
|
6a43b37b76 | ||
|
|
3d9c4eefe6 | ||
|
|
bb162367ac | ||
|
|
2ac7184d34 | ||
|
|
ef8706fb84 | ||
|
|
2fa9384ca1 | ||
|
|
d2ea7cf10a | ||
|
|
6ef5ab5904 |
2
Filelist
2
Filelist
@@ -68,6 +68,7 @@ SRC_ALL = \
|
|||||||
src/fileio.c \
|
src/fileio.c \
|
||||||
src/filepath.c \
|
src/filepath.c \
|
||||||
src/findfile.c \
|
src/findfile.c \
|
||||||
|
src/float.c \
|
||||||
src/fold.c \
|
src/fold.c \
|
||||||
src/getchar.c \
|
src/getchar.c \
|
||||||
src/globals.h \
|
src/globals.h \
|
||||||
@@ -246,6 +247,7 @@ SRC_ALL = \
|
|||||||
src/proto/fileio.pro \
|
src/proto/fileio.pro \
|
||||||
src/proto/filepath.pro \
|
src/proto/filepath.pro \
|
||||||
src/proto/findfile.pro \
|
src/proto/findfile.pro \
|
||||||
|
src/proto/float.pro \
|
||||||
src/proto/fold.pro \
|
src/proto/fold.pro \
|
||||||
src/proto/getchar.pro \
|
src/proto/getchar.pro \
|
||||||
src/proto/gui.pro \
|
src/proto/gui.pro \
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
|
|
||||||
<sub>For translations of this README see the end.</sub>
|
<sub>For translations of this README see the end.</sub>
|
||||||
|
|
||||||
|
If you find a bug or want to discuss the best way to add a new feature, please
|
||||||
|
open an [issue](https://github.com/vim/vim/issues).
|
||||||
|
If you have a question or want to discuss the best way to do something with
|
||||||
|
Vim, you can use [StackExchange](https://vi.stackexchange.com/)
|
||||||
|
or one of the [Maillists](https://www.vim.org/community.php).
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 8.2. Last change: 2021 Apr 25
|
*autocmd.txt* For Vim version 8.2. Last change: 2021 May 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -985,9 +985,10 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
|
|||||||
*QuitPre*
|
*QuitPre*
|
||||||
QuitPre When using `:quit`, `:wq` or `:qall`, before
|
QuitPre When using `:quit`, `:wq` or `:qall`, before
|
||||||
deciding whether it closes the current window
|
deciding whether it closes the current window
|
||||||
or quits Vim. Can be used to close any
|
or quits Vim. For `:wq` the buffer is written
|
||||||
non-essential window if the current window is
|
before QuitPre is triggered. Can be used to
|
||||||
the last ordinary window.
|
close any non-essential window if the current
|
||||||
|
window is the last ordinary window.
|
||||||
Also see |ExitPre|.
|
Also see |ExitPre|.
|
||||||
*RemoteReply*
|
*RemoteReply*
|
||||||
RemoteReply When a reply from a Vim that functions as
|
RemoteReply When a reply from a Vim that functions as
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.2. Last change: 2021 Mar 01
|
*change.txt* For Vim version 8.2. Last change: 2021 Jun 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1042,6 +1042,10 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
cursor to the end of line (which is more logical,
|
cursor to the end of line (which is more logical,
|
||||||
but not Vi-compatible) use ":map Y y$".
|
but not Vi-compatible) use ":map Y y$".
|
||||||
|
|
||||||
|
*zy*
|
||||||
|
["x]zy{motion} Yank {motion} text [into register x]. Only differs
|
||||||
|
from `y` when selecting a block of text, see |v_zy|.
|
||||||
|
|
||||||
*v_y*
|
*v_y*
|
||||||
{Visual}["x]y Yank the highlighted text [into register x] (for
|
{Visual}["x]y Yank the highlighted text [into register x] (for
|
||||||
{Visual} see |Visual-mode|).
|
{Visual} see |Visual-mode|).
|
||||||
@@ -1050,6 +1054,12 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
{Visual}["x]Y Yank the highlighted lines [into register x] (for
|
{Visual}["x]Y Yank the highlighted lines [into register x] (for
|
||||||
{Visual} see |Visual-mode|).
|
{Visual} see |Visual-mode|).
|
||||||
|
|
||||||
|
*v_zy*
|
||||||
|
{Visual}["x]zy Yank the highlighted text [into register x]. Trailing
|
||||||
|
whitespace at the end of each line of a selected block
|
||||||
|
won't be yanked. Especially useful in combination
|
||||||
|
with `zp`. (for {Visual} see |Visual-mode|)
|
||||||
|
|
||||||
*:y* *:yank* *E850*
|
*:y* *:yank* *E850*
|
||||||
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
||||||
"* or "+ registers is possible only when the
|
"* or "+ registers is possible only when the
|
||||||
@@ -1126,6 +1136,12 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
Using the mouse only works when 'mouse' contains 'n'
|
Using the mouse only works when 'mouse' contains 'n'
|
||||||
or 'a'.
|
or 'a'.
|
||||||
|
|
||||||
|
["x]zp or *zp* *zP*
|
||||||
|
["x]zP Like "p" and "P", except without adding trailing spaces
|
||||||
|
when pasting a block. Thus the inserted text will not
|
||||||
|
always be a rectangle. Especially useful in
|
||||||
|
combination with |v_zy|.
|
||||||
|
|
||||||
You can use these commands to copy text from one place to another. Do this
|
You can use these commands to copy text from one place to another. Do this
|
||||||
by first getting the text into a register with a yank, delete or change
|
by first getting the text into a register with a yank, delete or change
|
||||||
command, then inserting the register contents with a put command. You can
|
command, then inserting the register contents with a put command. You can
|
||||||
@@ -1165,6 +1181,9 @@ a register, a paste on a visual selected area will paste that single line on
|
|||||||
each of the selected lines (thus replacing the blockwise selected region by a
|
each of the selected lines (thus replacing the blockwise selected region by a
|
||||||
block of the pasted line).
|
block of the pasted line).
|
||||||
|
|
||||||
|
Use |zP|/|zp| to paste a blockwise yanked register without appending trailing
|
||||||
|
spaces.
|
||||||
|
|
||||||
*blockwise-register*
|
*blockwise-register*
|
||||||
If you use a blockwise Visual mode command to get the text into the register,
|
If you use a blockwise Visual mode command to get the text into the register,
|
||||||
the block of text will be inserted before ("P") or after ("p") the cursor
|
the block of text will be inserted before ("P") or after ("p") the cursor
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 08
|
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1134,7 +1134,7 @@ in Normal mode and Insert mode.
|
|||||||
It is possible to use ":", "/" and other commands that use the command-line,
|
It is possible to use ":", "/" and other commands that use the command-line,
|
||||||
but it's not possible to open another command-line window then. There is no
|
but it's not possible to open another command-line window then. There is no
|
||||||
nesting.
|
nesting.
|
||||||
*E11*
|
*E11* *E1188*
|
||||||
The command-line window is not a normal window. It is not possible to move to
|
The command-line window is not a normal window. It is not possible to move to
|
||||||
another window or edit another buffer. All commands that would do this are
|
another window or edit another buffer. All commands that would do this are
|
||||||
disabled in the command-line window. Of course it _is_ possible to execute
|
disabled in the command-line window. Of course it _is_ possible to execute
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.2. Last change: 2021 Feb 10
|
*diff.txt* For Vim version 8.2. Last change: 2021 May 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -345,9 +345,11 @@ between file1 and file2: >
|
|||||||
|
|
||||||
The ">" is replaced with the value of 'shellredir'.
|
The ">" is replaced with the value of 'shellredir'.
|
||||||
|
|
||||||
The output of "diff" must be a normal "ed" style diff or a unified diff. Do
|
The output of "diff" must be a normal "ed" style diff or a unified diff. A
|
||||||
NOT use a context diff. This example explains the format that Vim expects for
|
context diff will NOT work. For a unified diff no context lines can be used.
|
||||||
the "ed" style diff: >
|
Using "diff -u" will NOT work, use "diff -U0".
|
||||||
|
|
||||||
|
This example explains the format that Vim expects for the "ed" style diff: >
|
||||||
|
|
||||||
1a2
|
1a2
|
||||||
> bbb
|
> bbb
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
*editing.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1320,8 +1320,8 @@ present in 'cpoptions' and "!" is not used in the command.
|
|||||||
*:chd* *:chdir*
|
*:chd* *:chdir*
|
||||||
:chd[ir][!] [path] Same as |:cd|.
|
:chd[ir][!] [path] Same as |:cd|.
|
||||||
|
|
||||||
*:tcd*
|
*:tc* *:tcd*
|
||||||
:tcd[!] {path} Like |:cd|, but only set the directory for the current
|
:tc[d][!] {path} Like |:cd|, but only set the directory for the current
|
||||||
tab. The current window will also use this directory.
|
tab. The current window will also use this directory.
|
||||||
The current directory is not changed for windows in
|
The current directory is not changed for windows in
|
||||||
other tabs and for windows in the current tab that
|
other tabs and for windows in the current tab that
|
||||||
@@ -1331,7 +1331,7 @@ present in 'cpoptions' and "!" is not used in the command.
|
|||||||
:tch[dir][!] Same as |:tcd|.
|
:tch[dir][!] Same as |:tcd|.
|
||||||
|
|
||||||
*:tcd-*
|
*:tcd-*
|
||||||
:tcd[!] - Change to the previous current directory, before the
|
:tc[d][!] - Change to the previous current directory, before the
|
||||||
last ":tcd {path}" command.
|
last ":tcd {path}" command.
|
||||||
|
|
||||||
*:lc* *:lcd*
|
*:lc* *:lcd*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.2. Last change: 2021 May 07
|
*eval.txt* For Vim version 8.2. Last change: 2021 Jun 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -2102,7 +2102,7 @@ v:null An empty String. Used to put "null" in JSON. See
|
|||||||
v:numbermax Maximum value of a number.
|
v:numbermax Maximum value of a number.
|
||||||
|
|
||||||
*v:numbermin* *numbermin-variable*
|
*v:numbermin* *numbermin-variable*
|
||||||
v:numbermin Minimum value of a number (negative)
|
v:numbermin Minimum value of a number (negative).
|
||||||
|
|
||||||
*v:numbersize* *numbersize-variable*
|
*v:numbersize* *numbersize-variable*
|
||||||
v:numbersize Number of bits in a Number. This is normally 64, but on some
|
v:numbersize Number of bits in a Number. This is normally 64, but on some
|
||||||
@@ -2594,10 +2594,12 @@ getbufline({expr}, {lnum} [, {end}])
|
|||||||
getbufvar({expr}, {varname} [, {def}])
|
getbufvar({expr}, {varname} [, {def}])
|
||||||
any variable {varname} in buffer {expr}
|
any variable {varname} in buffer {expr}
|
||||||
getchangelist([{expr}]) List list of change list items
|
getchangelist([{expr}]) List list of change list items
|
||||||
getchar([expr]) Number get one character from the user
|
getchar([expr]) Number or String
|
||||||
|
get one character from the user
|
||||||
getcharmod() Number modifiers for the last typed character
|
getcharmod() Number modifiers for the last typed character
|
||||||
getcharpos({expr}) List position of cursor, mark, etc.
|
getcharpos({expr}) List position of cursor, mark, etc.
|
||||||
getcharsearch() Dict last character search
|
getcharsearch() Dict last character search
|
||||||
|
getcharstr([expr]) String get one character from the user
|
||||||
getcmdline() String return the current command-line
|
getcmdline() String return the current command-line
|
||||||
getcmdpos() Number return cursor position in command-line
|
getcmdpos() Number return cursor position in command-line
|
||||||
getcmdtype() String return current command-line type
|
getcmdtype() String return current command-line type
|
||||||
@@ -4949,7 +4951,7 @@ funcref({name} [, {arglist}] [, {dict}])
|
|||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
GetFuncname()->funcref([arg])
|
GetFuncname()->funcref([arg])
|
||||||
<
|
<
|
||||||
*function()* *E700* *E922* *E923*
|
*function()* *partial* *E700* *E922* *E923*
|
||||||
function({name} [, {arglist}] [, {dict}])
|
function({name} [, {arglist}] [, {dict}])
|
||||||
Return a |Funcref| variable that refers to function {name}.
|
Return a |Funcref| variable that refers to function {name}.
|
||||||
{name} can be the name of a user defined function or an
|
{name} can be the name of a user defined function or an
|
||||||
@@ -5232,6 +5234,7 @@ getchar([expr]) *getchar()*
|
|||||||
Return zero otherwise.
|
Return zero otherwise.
|
||||||
If [expr] is 1, only check if a character is available, it is
|
If [expr] is 1, only check if a character is available, it is
|
||||||
not consumed. Return zero if no character available.
|
not consumed. Return zero if no character available.
|
||||||
|
If you prefer always getting a string use |getcharstr()|.
|
||||||
|
|
||||||
Without [expr] and when [expr] is 0 a whole character or
|
Without [expr] and when [expr] is 0 a whole character or
|
||||||
special key is returned. If it is a single character, the
|
special key is returned. If it is a single character, the
|
||||||
@@ -5357,6 +5360,20 @@ getcharsearch() *getcharsearch()*
|
|||||||
:nnoremap <expr> , getcharsearch().forward ? ',' : ';'
|
:nnoremap <expr> , getcharsearch().forward ? ',' : ';'
|
||||||
< Also see |setcharsearch()|.
|
< Also see |setcharsearch()|.
|
||||||
|
|
||||||
|
|
||||||
|
getcharstr([expr]) *getcharstr()*
|
||||||
|
Get a single character from the user or input stream as a
|
||||||
|
string.
|
||||||
|
If [expr] is omitted, wait until a character is available.
|
||||||
|
If [expr] is 0 or false, only get a character when one is
|
||||||
|
available. Return an empty string otherwise.
|
||||||
|
If [expr] is 1 or true, only check if a character is
|
||||||
|
available, it is not consumed. Return an empty string
|
||||||
|
if no character is available.
|
||||||
|
Otherwise this works like |getchar()|, except that a number
|
||||||
|
result is converted to a string.
|
||||||
|
|
||||||
|
|
||||||
getcmdline() *getcmdline()*
|
getcmdline() *getcmdline()*
|
||||||
Return the current command-line. Only works when the command
|
Return the current command-line. Only works when the command
|
||||||
line is being edited, thus requires use of |c_CTRL-\_e| or
|
line is being edited, thus requires use of |c_CTRL-\_e| or
|
||||||
@@ -5483,8 +5500,8 @@ getcurpos([{winid}])
|
|||||||
|
|
||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
GetWinid()->getcurpos()
|
GetWinid()->getcurpos()
|
||||||
|
<
|
||||||
< *getcursorcharpos()*
|
*getcursorcharpos()*
|
||||||
getcursorcharpos([{winid}])
|
getcursorcharpos([{winid}])
|
||||||
Same as |getcurpos()| but the column number in the returned
|
Same as |getcurpos()| but the column number in the returned
|
||||||
List is a character index instead of a byte index.
|
List is a character index instead of a byte index.
|
||||||
@@ -5493,8 +5510,8 @@ getcursorcharpos([{winid}])
|
|||||||
With the cursor on '보' in line 3 with text "여보세요": >
|
With the cursor on '보' in line 3 with text "여보세요": >
|
||||||
getcursorcharpos() returns [0, 3, 2, 0, 3]
|
getcursorcharpos() returns [0, 3, 2, 0, 3]
|
||||||
getcurpos() returns [0, 3, 4, 0, 3]
|
getcurpos() returns [0, 3, 4, 0, 3]
|
||||||
|
<
|
||||||
< Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
GetWinid()->getcursorcharpos()
|
GetWinid()->getcursorcharpos()
|
||||||
|
|
||||||
< *getcwd()*
|
< *getcwd()*
|
||||||
@@ -5719,11 +5736,11 @@ getmarklist([{expr}]) *getmarklist()*
|
|||||||
see |bufname()|.
|
see |bufname()|.
|
||||||
|
|
||||||
Each item in the returned List is a |Dict| with the following:
|
Each item in the returned List is a |Dict| with the following:
|
||||||
name - name of the mark prefixed by "'"
|
mark name of the mark prefixed by "'"
|
||||||
pos - a |List| with the position of the mark:
|
pos a |List| with the position of the mark:
|
||||||
[bufnum, lnum, col, off]
|
[bufnum, lnum, col, off]
|
||||||
Refer to |getpos()| for more information.
|
Refer to |getpos()| for more information.
|
||||||
file - file name
|
file file name
|
||||||
|
|
||||||
Refer to |getpos()| for getting information about a specific
|
Refer to |getpos()| for getting information about a specific
|
||||||
mark.
|
mark.
|
||||||
@@ -5805,7 +5822,7 @@ getpos({expr}) Get the position for {expr}. For possible values of {expr}
|
|||||||
'> is a large number.
|
'> is a large number.
|
||||||
The column number in the returned List is the byte position
|
The column number in the returned List is the byte position
|
||||||
within the line. To get the character position in the line,
|
within the line. To get the character position in the line,
|
||||||
use |getcharpos()|
|
use |getcharpos()|.
|
||||||
The column number can be very large, e.g. 2147483647, in which
|
The column number can be very large, e.g. 2147483647, in which
|
||||||
case it means "after the end of the line".
|
case it means "after the end of the line".
|
||||||
This can be used to save and restore the position of a mark: >
|
This can be used to save and restore the position of a mark: >
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ Numbers, subscripts and superscripts are available with 's' and 'S':
|
|||||||
1s ₁ 1S ¹ ~
|
1s ₁ 1S ¹ ~
|
||||||
2s ₂ 9S ⁹ ~
|
2s ₂ 9S ⁹ ~
|
||||||
|
|
||||||
But some don´t come defined by default. Those are digraph definitions you can
|
But some don't come defined by default. Those are digraph definitions you can
|
||||||
add in your ~/.vimrc file. >
|
add in your ~/.vimrc file. >
|
||||||
exec 'digraph \\ '.char2nr('∖')
|
exec 'digraph \\ '.char2nr('∖')
|
||||||
exec 'digraph \< '.char2nr('≼')
|
exec 'digraph \< '.char2nr('≼')
|
||||||
|
|||||||
@@ -440,7 +440,7 @@ the space bar):
|
|||||||
replace the column list with the list of tables.
|
replace the column list with the list of tables.
|
||||||
- This allows you to quickly drill down into a
|
- This allows you to quickly drill down into a
|
||||||
table to view its columns and back again.
|
table to view its columns and back again.
|
||||||
- <Right> and <Left> can be also be chosen via
|
- <Right> and <Left> can also be chosen via
|
||||||
your |.vimrc| >
|
your |.vimrc| >
|
||||||
let g:ftplugin_sql_omni_key_right = '<Right>'
|
let g:ftplugin_sql_omni_key_right = '<Right>'
|
||||||
let g:ftplugin_sql_omni_key_left = '<Left>'
|
let g:ftplugin_sql_omni_key_left = '<Left>'
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ Advanced editing ~
|
|||||||
|windows.txt| commands for using multiple windows and buffers
|
|windows.txt| commands for using multiple windows and buffers
|
||||||
|tabpage.txt| commands for using multiple tab pages
|
|tabpage.txt| commands for using multiple tab pages
|
||||||
|spell.txt| spell checking
|
|spell.txt| spell checking
|
||||||
|diff.txt| working with two to four versions of the same file
|
|diff.txt| working with two to eight versions of the same file
|
||||||
|autocmd.txt| automatically executing commands on an event
|
|autocmd.txt| automatically executing commands on an event
|
||||||
|eval.txt| expression evaluation, conditional commands
|
|eval.txt| expression evaluation, conditional commands
|
||||||
|channel.txt| Jobs, Channels, inter-process communication
|
|channel.txt| Jobs, Channels, inter-process communication
|
||||||
@@ -145,6 +145,7 @@ Special issues ~
|
|||||||
|term.txt| using different terminals and mice
|
|term.txt| using different terminals and mice
|
||||||
|terminal.txt| Terminal window support
|
|terminal.txt| Terminal window support
|
||||||
|popup.txt| popup window support
|
|popup.txt| popup window support
|
||||||
|
|vim9.txt| using Vim9 script
|
||||||
|
|
||||||
Programming language support ~
|
Programming language support ~
|
||||||
|indent.txt| automatic indenting for C and other languages
|
|indent.txt| automatic indenting for C and other languages
|
||||||
@@ -153,6 +154,8 @@ Programming language support ~
|
|||||||
|filetype.txt| settings done specifically for a type of file
|
|filetype.txt| settings done specifically for a type of file
|
||||||
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
||||||
|ft_ada.txt| Ada (the programming language) support
|
|ft_ada.txt| Ada (the programming language) support
|
||||||
|
|ft_ps1.txt| Filetype plugin for Windows PowerShell
|
||||||
|
|ft_raku.txt| Filetype plugin for Raku
|
||||||
|ft_rust.txt| Filetype plugin for Rust
|
|ft_rust.txt| Filetype plugin for Rust
|
||||||
|ft_sql.txt| about the SQL filetype plugin
|
|ft_sql.txt| about the SQL filetype plugin
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_tcl.txt* For Vim version 8.2. Last change: 2019 Jul 21
|
*if_tcl.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ingo Wilken
|
VIM REFERENCE MANUAL by Ingo Wilken
|
||||||
@@ -25,12 +25,12 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
1. Commands *tcl-ex-commands* *E571* *E572*
|
1. Commands *tcl-ex-commands* *E571* *E572*
|
||||||
|
|
||||||
*:tcl* *:tc*
|
*:tcl*
|
||||||
:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
|
:tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
|
||||||
is working: >
|
is working: >
|
||||||
:tcl puts "Hello"
|
:tcl puts "Hello"
|
||||||
|
|
||||||
:[range]tc[l] << [trim] [{endmarker}]
|
:[range]tcl << [trim] [{endmarker}]
|
||||||
{script}
|
{script}
|
||||||
{endmarker}
|
{endmarker}
|
||||||
Execute Tcl script {script}.
|
Execute Tcl script {script}.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 8.2. Last change: 2021 Apr 24
|
*index.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -864,6 +864,8 @@ tag char note action in Normal mode ~
|
|||||||
|zm| zm subtract one from 'foldlevel'
|
|zm| zm subtract one from 'foldlevel'
|
||||||
|zn| zn reset 'foldenable'
|
|zn| zn reset 'foldenable'
|
||||||
|zo| zo open fold
|
|zo| zo open fold
|
||||||
|
|zp| zp paste in block-mode without trailing spaces
|
||||||
|
|zP| zP paste in block-mode without trailing spaces
|
||||||
|zr| zr add one to 'foldlevel'
|
|zr| zr add one to 'foldlevel'
|
||||||
|zs| zs when 'wrap' off scroll horizontally to
|
|zs| zs when 'wrap' off scroll horizontally to
|
||||||
position the cursor at the start (left
|
position the cursor at the start (left
|
||||||
@@ -876,6 +878,7 @@ tag char note action in Normal mode ~
|
|||||||
|zv| zv open enough folds to view the cursor line
|
|zv| zv open enough folds to view the cursor line
|
||||||
|zw| zw permanently mark word as incorrectly spelled
|
|zw| zw permanently mark word as incorrectly spelled
|
||||||
|zx| zx re-apply 'foldlevel' and do "zv"
|
|zx| zx re-apply 'foldlevel' and do "zv"
|
||||||
|
|zy| zy yank without trailing spaces
|
||||||
|zz| zz redraw, cursor line at center of window
|
|zz| zz redraw, cursor line at center of window
|
||||||
|z<Left>| z<Left> same as "zh"
|
|z<Left>| z<Left> same as "zh"
|
||||||
|z<Right>| z<Right> same as "zl"
|
|z<Right>| z<Right> same as "zl"
|
||||||
@@ -1657,9 +1660,9 @@ tag command action ~
|
|||||||
|:tab| :tab create new tab when opening new window
|
|:tab| :tab create new tab when opening new window
|
||||||
|:tag| :ta[g] jump to tag
|
|:tag| :ta[g] jump to tag
|
||||||
|:tags| :tags show the contents of the tag stack
|
|:tags| :tags show the contents of the tag stack
|
||||||
|:tcd| :tcd change directory for tab page
|
|:tcd| :tc[d] change directory for tab page
|
||||||
|:tchdir| :tch[dir] change directory for tab page
|
|:tchdir| :tch[dir] change directory for tab page
|
||||||
|:tcl| :tc[l] execute Tcl command
|
|:tcl| :tcl execute Tcl command
|
||||||
|:tcldo| :tcld[o] execute Tcl command for each line
|
|:tcldo| :tcld[o] execute Tcl command for each line
|
||||||
|:tclfile| :tclf[ile] execute Tcl script file
|
|:tclfile| :tclf[ile] execute Tcl script file
|
||||||
|:tearoff| :te[aroff] tear-off a menu
|
|:tearoff| :te[aroff] tear-off a menu
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.2. Last change: 2021 Mar 28
|
*motion.txt* For Vim version 8.2. Last change: 2021 Jun 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -59,9 +59,14 @@ or change text. The following operators are available:
|
|||||||
|<| < shift left
|
|<| < shift left
|
||||||
|zf| zf define a fold
|
|zf| zf define a fold
|
||||||
|g@| g@ call function set with the 'operatorfunc' option
|
|g@| g@ call function set with the 'operatorfunc' option
|
||||||
|
*motion-count-multiplied*
|
||||||
If the motion includes a count and the operator also had a count before it,
|
If the motion includes a count and the operator also had a count before it,
|
||||||
the two counts are multiplied. For example: "2d3w" deletes six words.
|
the two counts are multiplied. For example: "2d3w" deletes six words.
|
||||||
|
*operator-doubled*
|
||||||
|
When doubling the operator it operates on a line. When using a count, before
|
||||||
|
or after the first character, that many lines are operated upon. Thus `3dd`
|
||||||
|
deletes three lines. A count before and after the first character is
|
||||||
|
multiplied, thus `2y3y` yanks six lines.
|
||||||
|
|
||||||
After applying the operator the cursor is mostly left at the start of the text
|
After applying the operator the cursor is mostly left at the start of the text
|
||||||
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"
|
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.2. Last change: 2021 May 15
|
*options.txt* For Vim version 8.2. Last change: 2021 May 31
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -3116,9 +3116,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
because Vim cannot detect an error, thus the encoding is always
|
because Vim cannot detect an error, thus the encoding is always
|
||||||
accepted.
|
accepted.
|
||||||
The special value "default" can be used for the encoding from the
|
The special value "default" can be used for the encoding from the
|
||||||
environment. This is the default value for 'encoding'. It is useful
|
environment. On MS-Windows this is the system encoding. Otherwise
|
||||||
when 'encoding' is set to "utf-8" and your environment uses a
|
this is the default value for 'encoding'. It is useful when
|
||||||
non-latin1 encoding, such as Russian.
|
'encoding' is set to "utf-8" and your environment uses a non-latin1
|
||||||
|
encoding, such as Russian.
|
||||||
When 'encoding' is "utf-8" and a file contains an illegal byte
|
When 'encoding' is "utf-8" and a file contains an illegal byte
|
||||||
sequence it won't be recognized as UTF-8. You can use the |8g8|
|
sequence it won't be recognized as UTF-8. You can use the |8g8|
|
||||||
command to find the illegal byte sequence.
|
command to find the illegal byte sequence.
|
||||||
@@ -7495,6 +7496,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'switchbuf' 'swb' string (default "")
|
'switchbuf' 'swb' string (default "")
|
||||||
global
|
global
|
||||||
This option controls the behavior when switching between buffers.
|
This option controls the behavior when switching between buffers.
|
||||||
|
Mostly for |quickfix| commands some values are also used for other
|
||||||
|
commands, as mentioned below.
|
||||||
Possible values (comma separated list):
|
Possible values (comma separated list):
|
||||||
useopen If included, jump to the first open window that
|
useopen If included, jump to the first open window that
|
||||||
contains the specified buffer (if there is one).
|
contains the specified buffer (if there is one).
|
||||||
|
|||||||
@@ -1217,7 +1217,7 @@ x A single character, with no special meaning, matches itself
|
|||||||
|
|
||||||
\%d123 Matches the character specified with a decimal number. Must be
|
\%d123 Matches the character specified with a decimal number. Must be
|
||||||
followed by a non-digit.
|
followed by a non-digit.
|
||||||
\%o40 Matches the character specified with an octal number up to 0377.
|
\%o40 Matches the character specified with an octal number up to 0o377.
|
||||||
Numbers below 0o40 must be followed by a non-octal digit or a
|
Numbers below 0o40 must be followed by a non-octal digit or a
|
||||||
non-digit.
|
non-digit.
|
||||||
\%x2a Matches the character specified with up to two hexadecimal characters.
|
\%x2a Matches the character specified with up to two hexadecimal characters.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 8.2. Last change: 2021 May 02
|
*quickfix.txt* For Vim version 8.2. Last change: 2021 May 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1386,7 +1386,8 @@ Basic items
|
|||||||
%o module name (finds a string)
|
%o module name (finds a string)
|
||||||
%l line number (finds a number)
|
%l line number (finds a number)
|
||||||
%c column number (finds a number representing character
|
%c column number (finds a number representing character
|
||||||
column of the error, (1 <tab> == 1 character column))
|
column of the error, byte index, a <tab> is 1
|
||||||
|
character column)
|
||||||
%v virtual column number (finds a number representing
|
%v virtual column number (finds a number representing
|
||||||
screen column of the error (1 <tab> == 8 screen
|
screen column of the error (1 <tab> == 8 screen
|
||||||
columns))
|
columns))
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 8.2. Last change: 2021 May 08
|
*repeat.txt* For Vim version 8.2. Last change: 2021 Jun 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -279,7 +279,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
ftdetect scripts are loaded, only the matching
|
ftdetect scripts are loaded, only the matching
|
||||||
directories are added to 'runtimepath'. This is
|
directories are added to 'runtimepath'. This is
|
||||||
useful in your .vimrc. The plugins will then be
|
useful in your .vimrc. The plugins will then be
|
||||||
loaded during initialization, see |load-plugins|.
|
loaded during initialization, see |load-plugins| (note
|
||||||
|
that the loading order will be reversed, because each
|
||||||
|
directory is inserted before others).
|
||||||
Note that for ftdetect scripts to be loaded
|
Note that for ftdetect scripts to be loaded
|
||||||
you will need to write `filetype plugin indent on`
|
you will need to write `filetype plugin indent on`
|
||||||
AFTER all `packadd!` commands.
|
AFTER all `packadd!` commands.
|
||||||
|
|||||||
@@ -1143,10 +1143,10 @@ flag to avoid lots of errors.
|
|||||||
CIRCUMFIX *spell-CIRCUMFIX*
|
CIRCUMFIX *spell-CIRCUMFIX*
|
||||||
|
|
||||||
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
|
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
|
||||||
If a prefix has the CIRCUMFIX flag than only suffixes with the CIRCUMFIX flag
|
If a prefix has the CIRCUMFIX flag then only suffixes with the CIRCUMFIX flag
|
||||||
can be added, and the other way around.
|
can be added, and the other way around.
|
||||||
An alternative is to only specify the suffix, and give the that suffix two
|
An alternative is to only specify the suffix, and give that suffix two flags:
|
||||||
flags: The required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
|
the required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
|
||||||
|
|
||||||
|
|
||||||
PFXPOSTPONE *spell-PFXPOSTPONE*
|
PFXPOSTPONE *spell-PFXPOSTPONE*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.2. Last change: 2021 Apr 02
|
*syntax.txt* For Vim version 8.2. Last change: 2021 May 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -3430,8 +3430,8 @@ syntax highlighting script handles this with the following logic:
|
|||||||
Tex: Match Check Control~
|
Tex: Match Check Control~
|
||||||
|
|
||||||
Sometimes one actually wants mismatched parentheses, square braces,
|
Sometimes one actually wants mismatched parentheses, square braces,
|
||||||
and or curly braces; for example, \text{(1,10] is a range from but
|
and or curly braces; for example, \text{(1,10]} is a range from but
|
||||||
not including 1 to and including 10}. This wish, of course, conflicts
|
not including 1 to and including 10. This wish, of course, conflicts
|
||||||
with the desire to provide delimiter mismatch detection. To
|
with the desire to provide delimiter mismatch detection. To
|
||||||
accommodate these conflicting goals, syntax/tex.vim provides >
|
accommodate these conflicting goals, syntax/tex.vim provides >
|
||||||
g:tex_matchcheck = '[({[]'
|
g:tex_matchcheck = '[({[]'
|
||||||
@@ -4084,7 +4084,7 @@ match in the same position overrules an earlier one). The "transparent"
|
|||||||
argument makes the "myVim" match use the same highlighting as "myString". But
|
argument makes the "myVim" match use the same highlighting as "myString". But
|
||||||
it does not contain anything. If the "contains=NONE" argument would be left
|
it does not contain anything. If the "contains=NONE" argument would be left
|
||||||
out, then "myVim" would use the contains argument from myString and allow
|
out, then "myVim" would use the contains argument from myString and allow
|
||||||
"myWord" to be contained, which will be highlighted as a Constant. This
|
"myWord" to be contained, which will be highlighted as a Comment. This
|
||||||
happens because a contained match doesn't match inside itself in the same
|
happens because a contained match doesn't match inside itself in the same
|
||||||
position, thus the "myVim" match doesn't overrule the "myWord" match here.
|
position, thus the "myVim" match doesn't overrule the "myWord" match here.
|
||||||
|
|
||||||
@@ -4967,6 +4967,14 @@ ctermul={color-nr} *highlight-ctermul*
|
|||||||
colors for a color-xterm can be changed from the .Xdefaults file.
|
colors for a color-xterm can be changed from the .Xdefaults file.
|
||||||
Unfortunately this means that it's not possible to get the same colors
|
Unfortunately this means that it's not possible to get the same colors
|
||||||
for each user. See |xterm-color| for info about color xterms.
|
for each user. See |xterm-color| for info about color xterms.
|
||||||
|
*tmux*
|
||||||
|
When using tmux you may want to use this in the tmux config: >
|
||||||
|
# tmux colors
|
||||||
|
set -s default-terminal "tmux-256color"
|
||||||
|
set -as terminal-overrides ",*-256color:Tc"
|
||||||
|
< More info at:
|
||||||
|
https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal
|
||||||
|
https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
|
||||||
|
|
||||||
The MS-Windows standard colors are fixed (in a console window), so
|
The MS-Windows standard colors are fixed (in a console window), so
|
||||||
these have been used for the names. But the meaning of color names in
|
these have been used for the names. But the meaning of color names in
|
||||||
|
|||||||
@@ -3317,7 +3317,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:tabs tabpage.txt /*:tabs*
|
:tabs tabpage.txt /*:tabs*
|
||||||
:tag tagsrch.txt /*:tag*
|
:tag tagsrch.txt /*:tag*
|
||||||
:tags tagsrch.txt /*:tags*
|
:tags tagsrch.txt /*:tags*
|
||||||
:tc if_tcl.txt /*:tc*
|
:tc editing.txt /*:tc*
|
||||||
:tcd editing.txt /*:tcd*
|
:tcd editing.txt /*:tcd*
|
||||||
:tcd- editing.txt /*:tcd-*
|
:tcd- editing.txt /*:tcd-*
|
||||||
:tch editing.txt /*:tch*
|
:tch editing.txt /*:tch*
|
||||||
@@ -3961,6 +3961,8 @@ E1155 autocmd.txt /*E1155*
|
|||||||
E116 eval.txt /*E116*
|
E116 eval.txt /*E116*
|
||||||
E117 eval.txt /*E117*
|
E117 eval.txt /*E117*
|
||||||
E118 eval.txt /*E118*
|
E118 eval.txt /*E118*
|
||||||
|
E1187 starting.txt /*E1187*
|
||||||
|
E1188 cmdline.txt /*E1188*
|
||||||
E119 eval.txt /*E119*
|
E119 eval.txt /*E119*
|
||||||
E12 message.txt /*E12*
|
E12 message.txt /*E12*
|
||||||
E120 eval.txt /*E120*
|
E120 eval.txt /*E120*
|
||||||
@@ -6998,6 +7000,7 @@ getchar() eval.txt /*getchar()*
|
|||||||
getcharmod() eval.txt /*getcharmod()*
|
getcharmod() eval.txt /*getcharmod()*
|
||||||
getcharpos() eval.txt /*getcharpos()*
|
getcharpos() eval.txt /*getcharpos()*
|
||||||
getcharsearch() eval.txt /*getcharsearch()*
|
getcharsearch() eval.txt /*getcharsearch()*
|
||||||
|
getcharstr() eval.txt /*getcharstr()*
|
||||||
getcmdline() eval.txt /*getcmdline()*
|
getcmdline() eval.txt /*getcmdline()*
|
||||||
getcmdpos() eval.txt /*getcmdpos()*
|
getcmdpos() eval.txt /*getcmdpos()*
|
||||||
getcmdtype() eval.txt /*getcmdtype()*
|
getcmdtype() eval.txt /*getcmdtype()*
|
||||||
@@ -7899,6 +7902,7 @@ moo.vim syntax.txt /*moo.vim*
|
|||||||
more-compatible version5.txt /*more-compatible*
|
more-compatible version5.txt /*more-compatible*
|
||||||
more-prompt message.txt /*more-prompt*
|
more-prompt message.txt /*more-prompt*
|
||||||
more-variables eval.txt /*more-variables*
|
more-variables eval.txt /*more-variables*
|
||||||
|
motion-count-multiplied motion.txt /*motion-count-multiplied*
|
||||||
motion.txt motion.txt /*motion.txt*
|
motion.txt motion.txt /*motion.txt*
|
||||||
mouse-mode-table term.txt /*mouse-mode-table*
|
mouse-mode-table term.txt /*mouse-mode-table*
|
||||||
mouse-overview term.txt /*mouse-overview*
|
mouse-overview term.txt /*mouse-overview*
|
||||||
@@ -8346,6 +8350,7 @@ omni-sql-completion ft_sql.txt /*omni-sql-completion*
|
|||||||
online-help helphelp.txt /*online-help*
|
online-help helphelp.txt /*online-help*
|
||||||
opening-window windows.txt /*opening-window*
|
opening-window windows.txt /*opening-window*
|
||||||
operator motion.txt /*operator*
|
operator motion.txt /*operator*
|
||||||
|
operator-doubled motion.txt /*operator-doubled*
|
||||||
operator-pending-index index.txt /*operator-pending-index*
|
operator-pending-index index.txt /*operator-pending-index*
|
||||||
operator-variable eval.txt /*operator-variable*
|
operator-variable eval.txt /*operator-variable*
|
||||||
option-backslash options.txt /*option-backslash*
|
option-backslash options.txt /*option-backslash*
|
||||||
@@ -8399,6 +8404,7 @@ page_up intro.txt /*page_up*
|
|||||||
pager message.txt /*pager*
|
pager message.txt /*pager*
|
||||||
papp.vim syntax.txt /*papp.vim*
|
papp.vim syntax.txt /*papp.vim*
|
||||||
paragraph motion.txt /*paragraph*
|
paragraph motion.txt /*paragraph*
|
||||||
|
partial eval.txt /*partial*
|
||||||
pascal.vim syntax.txt /*pascal.vim*
|
pascal.vim syntax.txt /*pascal.vim*
|
||||||
patches-8 version8.txt /*patches-8*
|
patches-8 version8.txt /*patches-8*
|
||||||
patches-8.1 version8.txt /*patches-8.1*
|
patches-8.1 version8.txt /*patches-8.1*
|
||||||
@@ -9742,6 +9748,7 @@ timestamp editing.txt /*timestamp*
|
|||||||
timestamps editing.txt /*timestamps*
|
timestamps editing.txt /*timestamps*
|
||||||
tips tips.txt /*tips*
|
tips tips.txt /*tips*
|
||||||
tips.txt tips.txt /*tips.txt*
|
tips.txt tips.txt /*tips.txt*
|
||||||
|
tmux syntax.txt /*tmux*
|
||||||
todo todo.txt /*todo*
|
todo todo.txt /*todo*
|
||||||
todo.txt todo.txt /*todo.txt*
|
todo.txt todo.txt /*todo.txt*
|
||||||
toggle options.txt /*toggle*
|
toggle options.txt /*toggle*
|
||||||
@@ -10063,6 +10070,7 @@ v_u change.txt /*v_u*
|
|||||||
v_v visual.txt /*v_v*
|
v_v visual.txt /*v_v*
|
||||||
v_x change.txt /*v_x*
|
v_x change.txt /*v_x*
|
||||||
v_y change.txt /*v_y*
|
v_y change.txt /*v_y*
|
||||||
|
v_zy change.txt /*v_zy*
|
||||||
v_~ change.txt /*v_~*
|
v_~ change.txt /*v_~*
|
||||||
vab motion.txt /*vab*
|
vab motion.txt /*vab*
|
||||||
val-variable eval.txt /*val-variable*
|
val-variable eval.txt /*val-variable*
|
||||||
@@ -10432,6 +10440,7 @@ zOS-PuTTY os_390.txt /*zOS-PuTTY*
|
|||||||
zOS-has-ebcdic os_390.txt /*zOS-has-ebcdic*
|
zOS-has-ebcdic os_390.txt /*zOS-has-ebcdic*
|
||||||
zOS-limitations os_390.txt /*zOS-limitations*
|
zOS-limitations os_390.txt /*zOS-limitations*
|
||||||
zOS-open-source os_390.txt /*zOS-open-source*
|
zOS-open-source os_390.txt /*zOS-open-source*
|
||||||
|
zP change.txt /*zP*
|
||||||
zR fold.txt /*zR*
|
zR fold.txt /*zR*
|
||||||
zW spell.txt /*zW*
|
zW spell.txt /*zW*
|
||||||
zX fold.txt /*zX*
|
zX fold.txt /*zX*
|
||||||
@@ -10459,6 +10468,7 @@ zl scroll.txt /*zl*
|
|||||||
zm fold.txt /*zm*
|
zm fold.txt /*zm*
|
||||||
zn fold.txt /*zn*
|
zn fold.txt /*zn*
|
||||||
zo fold.txt /*zo*
|
zo fold.txt /*zo*
|
||||||
|
zp change.txt /*zp*
|
||||||
zr fold.txt /*zr*
|
zr fold.txt /*zr*
|
||||||
zs scroll.txt /*zs*
|
zs scroll.txt /*zs*
|
||||||
zsh.vim syntax.txt /*zsh.vim*
|
zsh.vim syntax.txt /*zsh.vim*
|
||||||
@@ -10470,6 +10480,7 @@ zuw spell.txt /*zuw*
|
|||||||
zv fold.txt /*zv*
|
zv fold.txt /*zv*
|
||||||
zw spell.txt /*zw*
|
zw spell.txt /*zw*
|
||||||
zx fold.txt /*zx*
|
zx fold.txt /*zx*
|
||||||
|
zy change.txt /*zy*
|
||||||
zz scroll.txt /*zz*
|
zz scroll.txt /*zz*
|
||||||
{ motion.txt /*{*
|
{ motion.txt /*{*
|
||||||
{Visual} intro.txt /*{Visual}*
|
{Visual} intro.txt /*{Visual}*
|
||||||
|
|||||||
@@ -373,10 +373,10 @@ Added by Vim (there are no standard codes for these):
|
|||||||
t_Ri restore icon text from stack *t_Ri* *'t_Ri'*
|
t_Ri restore icon text from stack *t_Ri* *'t_Ri'*
|
||||||
t_TE end of "raw" mode *t_TE* *'t_TE'*
|
t_TE end of "raw" mode *t_TE* *'t_TE'*
|
||||||
t_TI put terminal into "raw" mode *t_TI* *'t_TI'*
|
t_TI put terminal into "raw" mode *t_TI* *'t_TI'*
|
||||||
t_fd disable focus-event tracking *t_fd* *'t_fd'*
|
|
||||||
|xterm-focus-event|
|
|
||||||
t_fe enable focus-event tracking *t_fe* *'t_fe'*
|
t_fe enable focus-event tracking *t_fe* *'t_fe'*
|
||||||
|xterm-focus-event|
|
|xterm-focus-event|
|
||||||
|
t_fd disable focus-event tracking *t_fd* *'t_fd'*
|
||||||
|
|xterm-focus-event|
|
||||||
|
|
||||||
Some codes have a start, middle and end part. The start and end are defined
|
Some codes have a start, middle and end part. The start and end are defined
|
||||||
by the termcap option, the middle part is text.
|
by the termcap option, the middle part is text.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*textprop.txt* For Vim version 8.2. Last change: 2021 Mar 22
|
*textprop.txt* For Vim version 8.2. Last change: 2021 May 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -126,7 +126,7 @@ prop_add({lnum}, {col}, {props})
|
|||||||
length length of text in bytes, can only be used
|
length length of text in bytes, can only be used
|
||||||
for a property that does not continue in
|
for a property that does not continue in
|
||||||
another line; can be zero
|
another line; can be zero
|
||||||
end_lnum line number for the end of text
|
end_lnum line number for the end of text (inclusive)
|
||||||
end_col column just after the text; not used when
|
end_col column just after the text; not used when
|
||||||
"length" is present; when {col} and "end_col"
|
"length" is present; when {col} and "end_col"
|
||||||
are equal, and "end_lnum" is omitted or equal
|
are equal, and "end_lnum" is omitted or equal
|
||||||
@@ -228,7 +228,8 @@ prop_remove({props} [, {lnum} [, {lnum-end}]])
|
|||||||
{lnum-end} is given, remove matching text properties from line
|
{lnum-end} is given, remove matching text properties from line
|
||||||
{lnum} to {lnum-end} (inclusive).
|
{lnum} to {lnum-end} (inclusive).
|
||||||
When {lnum} is omitted remove matching text properties from
|
When {lnum} is omitted remove matching text properties from
|
||||||
all lines.
|
all lines (this requires going over all lines, thus will be a
|
||||||
|
bit slow for a buffer with many lines).
|
||||||
|
|
||||||
{props} is a dictionary with these fields:
|
{props} is a dictionary with these fields:
|
||||||
id remove text properties with this ID
|
id remove text properties with this ID
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.2. Last change: 2021 May 15
|
*todo.txt* For Vim version 8.2. Last change: 2021 Jun 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -39,42 +39,29 @@ browser use: https://github.com/vim/vim/issues/1234
|
|||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
Vim9 - Make everything work:
|
Vim9 - Make everything work:
|
||||||
- function returning nothing should return void instead of zero
|
- Make debugging work - at least per function.
|
||||||
- compile "expr" and "call" expression of a channel in channel_exe_cmd()?
|
- How to evaluate the stack and variables on the stack?
|
||||||
- Need some solution for dict function. Can we implement part of classes?
|
- FIXME in test_debugger.vim
|
||||||
- A lambda without {} does not require a return type, using { return x } does.
|
|
||||||
That's unexpected, since the arguments are not required to have a type.
|
|
||||||
alt 1: not require a return type, figure it out from the common type of all
|
|
||||||
the return statements found
|
|
||||||
alt 2: also require argument types
|
|
||||||
- Using "windo echo expr" does not accept a line break inside "expr" (in a
|
|
||||||
:def function and at script level in a not executed block). #7681
|
|
||||||
- use CheckLegacyAndVim9Success(lines) in many more places
|
|
||||||
- For builtin functions using tv_get_string*() use check_for_string() to be
|
- For builtin functions using tv_get_string*() use check_for_string() to be
|
||||||
more strict about the argument type (not a bool).
|
more strict about the argument type (not a bool).
|
||||||
done: balloon_()
|
done: balloon_()
|
||||||
- Check many more builtin function arguments at compile time.
|
- Check many more builtin function arguments at compile time.
|
||||||
map() could check that the return type of the function argument matches
|
map() could check that the return type of the function argument matches
|
||||||
the type of the list or dict member. (#8092)
|
the type of the list or dict member. (#8092)
|
||||||
- Allow for using an autoload function name without quotes. It is then loaded
|
Same for other functions, such as searchpair().
|
||||||
(and compiled) right away. #8124
|
- use CheckLegacyAndVim9Success(lines) in many more places
|
||||||
- Test more expressions in legacy and Vim9 script, using
|
|
||||||
CheckLegacyAndVim9Success()
|
|
||||||
- Test try/catch and throw better, also nested.
|
- Test try/catch and throw better, also nested.
|
||||||
Test that return inside try/finally jumps to finally and then returns.
|
Test that return inside try/finally jumps to finally and then returns.
|
||||||
- Test that a function defined inside a :def function is local to that
|
- Test that a function defined inside a :def function is local to that
|
||||||
function, g: functions can be defined and script-local functions cannot be
|
function, g: functions can be defined and script-local functions cannot be
|
||||||
defined.
|
defined.
|
||||||
- Make debugging work - at least per function. Need to recompile a function
|
- compile get_lambda_tv() in popup_add_timeout()
|
||||||
to step through it line-by-line? Evaluate the stack and variables on the
|
|
||||||
stack?
|
|
||||||
- Reserve command for future use: :type, :class, :enum
|
|
||||||
|
|
||||||
Once Vim9 is stable:
|
Once Vim9 is stable:
|
||||||
|
- Add the "vim9script" feature, can use has('vim9script')
|
||||||
- Change the help to prefer Vim9 syntax where appropriate
|
- Change the help to prefer Vim9 syntax where appropriate
|
||||||
- Add all the error numbers in a good place in documentation.
|
- Add all the error numbers in a good place in documentation.
|
||||||
- In the generic eval docs, point out the Vim9 syntax where it differs.
|
- In the generic eval docs, point out the Vim9 syntax where it differs.
|
||||||
- Add the "vim9script" feature, can use has('vim9script')
|
|
||||||
- Use Vim9 for runtime files.
|
- Use Vim9 for runtime files.
|
||||||
PR #7497 for autoload/ccomplete.vim
|
PR #7497 for autoload/ccomplete.vim
|
||||||
|
|
||||||
@@ -86,13 +73,12 @@ Further Vim9 improvements, possibly after launch:
|
|||||||
Give an error if compilation fails. (#7625)
|
Give an error if compilation fails. (#7625)
|
||||||
Use the location where the option was set for deciding whether it's to be
|
Use the location where the option was set for deciding whether it's to be
|
||||||
evaluated in Vim9 script context.
|
evaluated in Vim9 script context.
|
||||||
- implement :type, import type declaration.
|
- implement :type, "import type"
|
||||||
- implement enum, import enum.
|
- implement enum, "import enum".
|
||||||
- Future work: See |vim9-classes|
|
- implement class and interface: See |vim9-classes|
|
||||||
- For range: make table of first ASCII character with flag to quickly check if
|
- For range: make table of first ASCII character with flag to quickly check if
|
||||||
it can be a Vim9 command. E.g. "+" can, but "." can't.
|
it can be a Vim9 command. E.g. "+" can, but "." can't.
|
||||||
- compile get_lambda_tv() in popup_add_timeout()
|
- Inline call to map() and filter(), better type checking.
|
||||||
- inline call to map() and filter()
|
|
||||||
- Make accessing varargs faster: arg[expr]
|
- Make accessing varargs faster: arg[expr]
|
||||||
EVAL expr
|
EVAL expr
|
||||||
LOADVARARG (varargs idx)
|
LOADVARARG (varargs idx)
|
||||||
@@ -102,6 +88,9 @@ Further Vim9 improvements, possibly after launch:
|
|||||||
|
|
||||||
|
|
||||||
Popup windows:
|
Popup windows:
|
||||||
|
- Preview popup not properly updated when it overlaps with completion menu.
|
||||||
|
(Yegappan Lakshmanan, 2021 May 22
|
||||||
|
- In some cases prop_remove() does not work correctly. (#8261)
|
||||||
- Add a flag to make a popup window focusable?
|
- Add a flag to make a popup window focusable?
|
||||||
CTRL-W P cycle over any preview window or focusable popup, end up back in
|
CTRL-W P cycle over any preview window or focusable popup, end up back in
|
||||||
current window.
|
current window.
|
||||||
@@ -134,6 +123,11 @@ Popup windows:
|
|||||||
- Figure out the size and position better if wrapping inserts indent
|
- Figure out the size and position better if wrapping inserts indent
|
||||||
|
|
||||||
Text properties:
|
Text properties:
|
||||||
|
- property is overruled by cursorline. (#8225).
|
||||||
|
Add better control over priority? Make list of all highlighting, specify
|
||||||
|
where property fits in.
|
||||||
|
Or Should we let the textprop highlight overrule other (e.g. diff) highlight
|
||||||
|
if the priority is above a certain value? (#7392)
|
||||||
- Popup attached to text property stays visible when text is no longer
|
- Popup attached to text property stays visible when text is no longer
|
||||||
visible. (#7736)
|
visible. (#7736)
|
||||||
- Popup attached to text property stays visible when text is deleted with
|
- Popup attached to text property stays visible when text is deleted with
|
||||||
@@ -143,8 +137,6 @@ Text properties:
|
|||||||
- "cc" does not call inserted_bytes(). (Axel Forsman, #5763)
|
- "cc" does not call inserted_bytes(). (Axel Forsman, #5763)
|
||||||
- Combining text property with 'cursorline' does not always work (Billie
|
- Combining text property with 'cursorline' does not always work (Billie
|
||||||
Cleek, #5533)
|
Cleek, #5533)
|
||||||
- Should we let the textprop highlight overrule other (e.g. diff) highlight if
|
|
||||||
the priority is above a certain value? (#7392)
|
|
||||||
- See remarks at top of src/textprop.c
|
- See remarks at top of src/textprop.c
|
||||||
|
|
||||||
'incsearch' with :s:
|
'incsearch' with :s:
|
||||||
@@ -221,6 +213,11 @@ Terminal emulator window:
|
|||||||
|
|
||||||
Include patch #6290: recognize shell directory change.
|
Include patch #6290: recognize shell directory change.
|
||||||
|
|
||||||
|
MS-Windows GUI: default 'encoding' to "utf-8" ? (#8221)
|
||||||
|
Add #ifdef MSWIN before enc_locale() in set_init_1().
|
||||||
|
Or just always for MS-Windows? Conversion to 'termencoding' should always
|
||||||
|
work?
|
||||||
|
|
||||||
Valgrind reports memory leaks in test_options.
|
Valgrind reports memory leaks in test_options.
|
||||||
Valgrind reports overlapping memcpy in
|
Valgrind reports overlapping memcpy in
|
||||||
test_conceal.3
|
test_conceal.3
|
||||||
@@ -264,6 +261,9 @@ interrupt does not work. Where to add ui_breakcheck()?
|
|||||||
|
|
||||||
Remove SPACE_IN_FILENAME ? It is only used for completion.
|
Remove SPACE_IN_FILENAME ? It is only used for completion.
|
||||||
|
|
||||||
|
Searching for \%'> does not find anything when using line Visual selection.
|
||||||
|
Probably because it's using MAXCOL. #8238
|
||||||
|
|
||||||
Add optional argument to virtcol() that specifies "start", "cursor" or "end"
|
Add optional argument to virtcol() that specifies "start", "cursor" or "end"
|
||||||
to tell which value from getvvcol() should be used. (#7964)
|
to tell which value from getvvcol() should be used. (#7964)
|
||||||
Value returned by virtcol() changes depending on how lines wrap. This is
|
Value returned by virtcol() changes depending on how lines wrap. This is
|
||||||
@@ -272,6 +272,9 @@ inconsistent with the documentation.
|
|||||||
Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
|
Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
|
||||||
Scroll doesn't work correctly, why?
|
Scroll doesn't work correctly, why?
|
||||||
|
|
||||||
|
glob() and globfile() do not always honor 'wildignorecase'. #8350
|
||||||
|
globpath() does not use 'wildignorecase' at all?
|
||||||
|
|
||||||
Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
|
Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
|
||||||
with 'termguicolors'. #1740
|
with 'termguicolors'. #1740
|
||||||
|
|
||||||
@@ -316,6 +319,9 @@ Should also work without any group:
|
|||||||
:echo matchstr('aaa bbb', '.\{-1,}\>\|.*')
|
:echo matchstr('aaa bbb', '.\{-1,}\>\|.*')
|
||||||
aaa bbb (should be aaa)
|
aaa bbb (should be aaa)
|
||||||
|
|
||||||
|
Should add a match/str/list/pos method that also returns the test and position
|
||||||
|
of submatches. #8355
|
||||||
|
|
||||||
Check out PR #543 (Roland Puntaier).
|
Check out PR #543 (Roland Puntaier).
|
||||||
Patch for multibyte characters in langmap and applying a mapping on them.
|
Patch for multibyte characters in langmap and applying a mapping on them.
|
||||||
(Christian Brabandt, 2015 Jun 12, update July 25)
|
(Christian Brabandt, 2015 Jun 12, update July 25)
|
||||||
@@ -352,6 +358,10 @@ work.
|
|||||||
Using "au!" after "filetype on" is a bit slow. Can the matching of
|
Using "au!" after "filetype on" is a bit slow. Can the matching of
|
||||||
autocommands be made faster? (#7056)
|
autocommands be made faster? (#7056)
|
||||||
|
|
||||||
|
Append in Visual block mode inserts the wrong character.
|
||||||
|
Test_visual_block_mode() already has the proper check, which is commented out.
|
||||||
|
(#8288)
|
||||||
|
|
||||||
Add the <=> (spaceship) operator and "cond ?< expr ?= expr ?> expr"
|
Add the <=> (spaceship) operator and "cond ?< expr ?= expr ?> expr"
|
||||||
replace this:
|
replace this:
|
||||||
let left = GetLeftFunc()
|
let left = GetLeftFunc()
|
||||||
@@ -408,6 +418,8 @@ Using mode() when "/pat" is used in Visual mode returns "v" instead of "c",
|
|||||||
which is not useful. Return "c/v" instead. And "c/o" when using "d/pat".
|
which is not useful. Return "c/v" instead. And "c/o" when using "d/pat".
|
||||||
#6127
|
#6127
|
||||||
|
|
||||||
|
Add a cterm attribute for "dimmed" or "faint" text. (#8269)
|
||||||
|
|
||||||
When 'fileignorecase' is set ":e testfile.c" works to edit TestFile.c, but
|
When 'fileignorecase' is set ":e testfile.c" works to edit TestFile.c, but
|
||||||
":find testfile.c" does not ignore case.
|
":find testfile.c" does not ignore case.
|
||||||
Might be related to #6088.
|
Might be related to #6088.
|
||||||
@@ -2233,9 +2245,6 @@ Win32: Improved Makefile for MSVC. (Leonardo Valeri Manera, 2010 Aug 18)
|
|||||||
|
|
||||||
Win32: Expanding 'path' runs into a maximum size limit. (bgold12, 2009 Nov 15)
|
Win32: Expanding 'path' runs into a maximum size limit. (bgold12, 2009 Nov 15)
|
||||||
|
|
||||||
Win32: Patch for enabling quick edit mode in console. (Craig Barkhouse, 2010
|
|
||||||
Sep 1)
|
|
||||||
|
|
||||||
Win32: Patch for using .png files for icons. (Charles Peacech, 2012 Feb 5)
|
Win32: Patch for using .png files for icons. (Charles Peacech, 2012 Feb 5)
|
||||||
|
|
||||||
Putting a Visual block while 'visualedit' is "all" does not leave the cursor
|
Putting a Visual block while 'visualedit' is "all" does not leave the cursor
|
||||||
@@ -2985,7 +2994,7 @@ More patches:
|
|||||||
vimtutor.vim. (Jan Minar, 2008 Jul 20)
|
vimtutor.vim. (Jan Minar, 2008 Jul 20)
|
||||||
- When fsync() fails there is no hint about what went wrong. Patch by Ben
|
- When fsync() fails there is no hint about what went wrong. Patch by Ben
|
||||||
Schmidt, 2008 Jul 22.
|
Schmidt, 2008 Jul 22.
|
||||||
- testdir/Make_dos_sh.mak for running tests with MingW. (Bill Mccarthy, 2008
|
- testdir/Make_dos_sh.mak for running tests with MingW. (Bill McCarthy, 2008
|
||||||
Sep 13)
|
Sep 13)
|
||||||
- Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by
|
- Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by
|
||||||
Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts
|
Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_08.txt* For Vim version 8.2. Last change: 2017 Aug 11
|
*usr_08.txt* For Vim version 8.2. Last change: 2021 May 20
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@ windows like this:
|
|||||||
+----------------------------------+
|
+----------------------------------+
|
||||||
|
|
||||||
Clearly the last one should be at the top. Go to that window (using CTRL-W w)
|
Clearly the last one should be at the top. Go to that window (using CTRL-W w)
|
||||||
and the type this command: >
|
and then type this command: >
|
||||||
|
|
||||||
CTRL-W K
|
CTRL-W K
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ when the 'wrap' option has been reset (more about that later).
|
|||||||
|
|
||||||
When there are vertically split windows, only the windows on the right side
|
When there are vertically split windows, only the windows on the right side
|
||||||
will have a scrollbar. However, when you move the cursor to a window on the
|
will have a scrollbar. However, when you move the cursor to a window on the
|
||||||
left, it will be this one the that scrollbar controls. This takes a bit of
|
left, it will be this one that the scrollbar controls. This takes a bit of
|
||||||
time to get used to.
|
time to get used to.
|
||||||
When you work with vertically split windows, consider adding a scrollbar on
|
When you work with vertically split windows, consider adding a scrollbar on
|
||||||
the left. This can be done with a menu item, or with the 'guioptions' option:
|
the left. This can be done with a menu item, or with the 'guioptions' option:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 8.2. Last change: 2021 Apr 19
|
*usr_41.txt* For Vim version 8.2. Last change: 2021 Jun 07
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -952,6 +952,7 @@ Interactive: *interactive-functions*
|
|||||||
browsedir() put up a directory requester
|
browsedir() put up a directory requester
|
||||||
confirm() let the user make a choice
|
confirm() let the user make a choice
|
||||||
getchar() get a character from the user
|
getchar() get a character from the user
|
||||||
|
getcharstr() get a character from the user as a string
|
||||||
getcharmod() get modifiers for the last typed character
|
getcharmod() get modifiers for the last typed character
|
||||||
getmousepos() get last known mouse position
|
getmousepos() get last known mouse position
|
||||||
echoraw() output characters as-is
|
echoraw() output characters as-is
|
||||||
|
|||||||
@@ -9649,7 +9649,7 @@ Files: src/Make_cyg.mak, src/Make_ming.mak
|
|||||||
|
|
||||||
Patch 6.2f.016
|
Patch 6.2f.016
|
||||||
Problem: "vim --version > ff" on non-Unix systems results in a file with a
|
Problem: "vim --version > ff" on non-Unix systems results in a file with a
|
||||||
missing line break at the end. (Bill McCArthy)
|
missing line break at the end. (Bill McCarthy)
|
||||||
Solution: Add a line break.
|
Solution: Add a line break.
|
||||||
Files: src/main.c
|
Files: src/main.c
|
||||||
|
|
||||||
@@ -12864,7 +12864,7 @@ Files: src/message.c
|
|||||||
Patch 6.2.444
|
Patch 6.2.444
|
||||||
Problem: When adding the 'c' flag to a ":substitute" command it may replace
|
Problem: When adding the 'c' flag to a ":substitute" command it may replace
|
||||||
more times than without the 'c' flag. Happens for a match that
|
more times than without the 'c' flag. Happens for a match that
|
||||||
starts with "\ze" (Marcel Svitalsk) and when using "\@<=" (Klaus
|
starts with "\ze" (Marcel Svitalsky) and when using "\@<=" (Klaus
|
||||||
Bosau).
|
Bosau).
|
||||||
Solution: Correct "prev_matchcol" when replacing the line. Don't replace
|
Solution: Correct "prev_matchcol" when replacing the line. Don't replace
|
||||||
the line when the pattern uses look-behind matching.
|
the line when the pattern uses look-behind matching.
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ behave mostly like Vi, even though a .vimrc file exists.
|
|||||||
.TP
|
.TP
|
||||||
\-d
|
\-d
|
||||||
Start in diff mode.
|
Start in diff mode.
|
||||||
There should be two, three or four file name arguments.
|
There should between two to eight file name arguments.
|
||||||
.B Vim
|
.B Vim
|
||||||
will open all the files and show differences between them.
|
will open all the files and show differences between them.
|
||||||
Works like vimdiff(1).
|
Works like vimdiff(1).
|
||||||
|
|||||||
@@ -135,9 +135,9 @@ OPTIONS
|
|||||||
Vim behave mostly like Vi, even though a .vimrc file ex‐
|
Vim behave mostly like Vi, even though a .vimrc file ex‐
|
||||||
ists.
|
ists.
|
||||||
|
|
||||||
-d Start in diff mode. There should be two, three or four
|
-d Start in diff mode. There should between two to eight file
|
||||||
file name arguments. Vim will open all the files and show
|
name arguments. Vim will open all the files and show dif‐
|
||||||
differences between them. Works like vimdiff(1).
|
ferences between them. Works like vimdiff(1).
|
||||||
|
|
||||||
-d {device} Open {device} for use as a terminal. Only on the Amiga.
|
-d {device} Open {device} for use as a terminal. Only on the Amiga.
|
||||||
Example: "-d con:20/30/600/150".
|
Example: "-d con:20/30/600/150".
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*vim9.txt* For Vim version 8.2. Last change: 2021 Apr 28
|
*vim9.txt* For Vim version 8.2. Last change: 2021 Jun 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -101,7 +101,8 @@ script and `:def` functions; details are below:
|
|||||||
def CallMe(count: number, message: string): bool
|
def CallMe(count: number, message: string): bool
|
||||||
- Call functions without `:call`: >
|
- Call functions without `:call`: >
|
||||||
writefile(['done'], 'file.txt')
|
writefile(['done'], 'file.txt')
|
||||||
- You cannot use `:xit`, `:t`, `:k`, `:append`, `:change`, `:insert`, `:open`
|
- You cannot use `:xit`, `:t`, `:k`, `:append`, `:change`, `:insert`, `:open`,
|
||||||
|
and `:s` or `:d` with only flags.
|
||||||
or curly-braces names.
|
or curly-braces names.
|
||||||
- A range before a command must be prefixed with a colon: >
|
- A range before a command must be prefixed with a colon: >
|
||||||
:%s/this/that
|
:%s/this/that
|
||||||
@@ -168,6 +169,14 @@ created yet. In this case you can call `execute()` to invoke it at runtime. >
|
|||||||
used for the command or inside a `:try` block), does not get a range passed
|
used for the command or inside a `:try` block), does not get a range passed
|
||||||
cannot be a "dict" function, and can always be a closure.
|
cannot be a "dict" function, and can always be a closure.
|
||||||
|
|
||||||
|
Later classes will be added, which replaces the "dict function" mechanism.
|
||||||
|
For now you will need to pass the dictionary explicitly: >
|
||||||
|
def DictFunc(d: dict<any>, arg: string)
|
||||||
|
echo d[arg]
|
||||||
|
enddef
|
||||||
|
var d = {item: 'value', func: DictFunc}
|
||||||
|
d.func(d, 'item')
|
||||||
|
|
||||||
The argument types and return type need to be specified. The "any" type can
|
The argument types and return type need to be specified. The "any" type can
|
||||||
be used, type checking will then be done at runtime, like with legacy
|
be used, type checking will then be done at runtime, like with legacy
|
||||||
functions.
|
functions.
|
||||||
@@ -444,11 +453,12 @@ it is the start of a lambda or a dictionary, which is now more complicated
|
|||||||
because of the use of argument types.
|
because of the use of argument types.
|
||||||
|
|
||||||
To avoid these problems Vim9 script uses a different syntax for a lambda,
|
To avoid these problems Vim9 script uses a different syntax for a lambda,
|
||||||
which is similar to Javascript: >
|
which is similar to JavaScript: >
|
||||||
var Lambda = (arg) => expression
|
var Lambda = (arg) => expression
|
||||||
|
|
||||||
No line break is allowed in the arguments of a lambda up to and including the
|
No line break is allowed in the arguments of a lambda up to and including the
|
||||||
"=>". This is OK: >
|
"=>" (so that Vim can tell the difference between an expression in parenthesis
|
||||||
|
and lambda arguments). This is OK: >
|
||||||
filter(list, (k, v) =>
|
filter(list, (k, v) =>
|
||||||
v > 0)
|
v > 0)
|
||||||
This does not work: >
|
This does not work: >
|
||||||
@@ -521,7 +531,7 @@ And when a dict spans multiple lines: >
|
|||||||
one: 1,
|
one: 1,
|
||||||
two: 2,
|
two: 2,
|
||||||
}
|
}
|
||||||
Function call: >
|
With a function call: >
|
||||||
var result = Func(
|
var result = Func(
|
||||||
arg1,
|
arg1,
|
||||||
arg2
|
arg2
|
||||||
@@ -554,10 +564,31 @@ at the start of the line indicates line continuation: >
|
|||||||
| echo 'match'
|
| echo 'match'
|
||||||
| endif
|
| endif
|
||||||
|
|
||||||
|
Note that this means that in heredoc the first line cannot be a bar: >
|
||||||
|
var lines =<< trim END
|
||||||
|
| this doesn't work
|
||||||
|
END
|
||||||
|
Either use an empty line at the start or do not use heredoc. Or temporarily
|
||||||
|
add the "C" flag to 'cpoptions': >
|
||||||
|
set cpo+=C
|
||||||
|
var lines =<< trim END
|
||||||
|
| this doesn't work
|
||||||
|
END
|
||||||
|
set cpo-=C
|
||||||
|
If the heredoc is inside a function 'cpoptions' must be set before :def and
|
||||||
|
restored after the :enddef.
|
||||||
|
|
||||||
|
In places where line continuation with a backslash is still needed, such as
|
||||||
|
splitting up a long Ex command, comments can start with #\ instead of "\: >
|
||||||
|
syn region Text
|
||||||
|
\ start='foo'
|
||||||
|
#\ comment
|
||||||
|
\ end='bar'
|
||||||
|
|
||||||
< *E1050*
|
< *E1050*
|
||||||
To make it possible for the operator at the start of the line to be
|
To make it possible for the operator at the start of the line to be
|
||||||
recognized, it is required to put a colon before a range. This will add
|
recognized, it is required to put a colon before a range. This example will
|
||||||
"start" and print: >
|
add "start" and print: >
|
||||||
var result = start
|
var result = start
|
||||||
+ print
|
+ print
|
||||||
Like this: >
|
Like this: >
|
||||||
@@ -609,6 +640,9 @@ Notes:
|
|||||||
< This does not work: >
|
< This does not work: >
|
||||||
echo [1, 2]
|
echo [1, 2]
|
||||||
[3, 4]
|
[3, 4]
|
||||||
|
- In some cases it is difficult for Vim to parse a command, especially when
|
||||||
|
commands are used as an argument to another command, such as `windo`. In
|
||||||
|
those cases the line continuation with a backslash has to be used.
|
||||||
|
|
||||||
|
|
||||||
White space ~
|
White space ~
|
||||||
@@ -965,9 +999,14 @@ prefix if they do not exist at the time of compiling.
|
|||||||
Note that for command line completion of {func} you
|
Note that for command line completion of {func} you
|
||||||
can prepend "s:" to find script-local functions.
|
can prepend "s:" to find script-local functions.
|
||||||
|
|
||||||
:disa[ssemble]! {func} Like `:disassemble` but with the instructions used for
|
:disa[ssemble] profile {func}
|
||||||
|
Like `:disassemble` but with the instructions used for
|
||||||
profiling.
|
profiling.
|
||||||
|
|
||||||
|
:disa[ssemble] debug {func}
|
||||||
|
Like `:disassemble` but with the instructions used for
|
||||||
|
debugging.
|
||||||
|
|
||||||
Limitations ~
|
Limitations ~
|
||||||
|
|
||||||
Local variables will not be visible to string evaluation. For example: >
|
Local variables will not be visible to string evaluation. For example: >
|
||||||
@@ -1239,9 +1278,10 @@ Exporting an item can be written as: >
|
|||||||
export const someValue = ...
|
export const someValue = ...
|
||||||
export def MyFunc() ...
|
export def MyFunc() ...
|
||||||
export class MyClass ...
|
export class MyClass ...
|
||||||
|
export interface MyClass ...
|
||||||
|
|
||||||
As this suggests, only constants, variables, `:def` functions and classes can
|
As this suggests, only constants, variables, `:def` functions and classes can
|
||||||
be exported. {not implemented yet: export class}
|
be exported. {not implemented yet: class, interface}
|
||||||
|
|
||||||
*E1042*
|
*E1042*
|
||||||
`:export` can only be used in Vim9 script, at the script level.
|
`:export` can only be used in Vim9 script, at the script level.
|
||||||
@@ -1341,27 +1381,46 @@ implementing classes is going to be a lot of work, it is left for the future.
|
|||||||
For now we'll just make sure classes can be added later.
|
For now we'll just make sure classes can be added later.
|
||||||
|
|
||||||
Thoughts:
|
Thoughts:
|
||||||
- `class` / `endclass`, everything in one file
|
- `class` / `endclass`, the whole class must be in one file
|
||||||
- Class names are always CamelCase
|
- Class names are always CamelCase (to avoid a name clash with builtin types)
|
||||||
- Single constructor
|
- A single constructor called "constructor"
|
||||||
- Single inheritance with `class ThisClass extends BaseClass`
|
- Single inheritance with `class ThisClass extends BaseClass`
|
||||||
- `abstract class`
|
- `abstract class` (class with incomplete implementation)
|
||||||
- `interface` (Abstract class without any implementation)
|
- `interface` / `endinterface` (abstract class without any implementation)
|
||||||
- `class SomeClass implements SomeInterface`
|
- `class SomeClass implements SomeInterface`
|
||||||
- Generics for class: `class <Tkey, Tentry>`
|
- Generics for class: `class <Tkey, Tentry>`
|
||||||
- Generics for function: `def <Tkey> GetLast(key: Tkey)`
|
- Generics for function: `def <Tkey> GetLast(key: Tkey)`
|
||||||
|
|
||||||
Again, much of this is from TypeScript.
|
Again, much of this is from TypeScript with a slightly different syntax.
|
||||||
|
|
||||||
Some things that look like good additions:
|
Some things that look like good additions:
|
||||||
- Use a class as an interface (like Dart)
|
- Use a class as an interface (like Dart)
|
||||||
- Extend a class with methods, using an import (like Dart)
|
- Extend a class with methods, using an import (like Dart)
|
||||||
|
- Mixins
|
||||||
|
- For testing: Mock mechanism
|
||||||
|
|
||||||
An important class that will be provided is "Promise". Since Vim is single
|
An important class that will be provided is "Promise". Since Vim is single
|
||||||
threaded, connecting asynchronous operations is a natural way of allowing
|
threaded, connecting asynchronous operations is a natural way of allowing
|
||||||
plugins to do their work without blocking the user. It's a uniform way to
|
plugins to do their work without blocking the user. It's a uniform way to
|
||||||
invoke callbacks and handle timeouts and errors.
|
invoke callbacks and handle timeouts and errors.
|
||||||
|
|
||||||
|
Some examples: >
|
||||||
|
|
||||||
|
abstract class Person
|
||||||
|
static const prefix = 'xxx'
|
||||||
|
var name: string
|
||||||
|
|
||||||
|
def constructor(name: string)
|
||||||
|
this.name = name;
|
||||||
|
enddef
|
||||||
|
|
||||||
|
def display(): void
|
||||||
|
echo name
|
||||||
|
enddef
|
||||||
|
|
||||||
|
abstract def find(string): Person
|
||||||
|
endclass
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
9. Rationale *vim9-rationale*
|
9. Rationale *vim9-rationale*
|
||||||
@@ -1550,7 +1609,7 @@ functions return these values.
|
|||||||
|
|
||||||
If you have any type of value and want to use it as a boolean, use the `!!`
|
If you have any type of value and want to use it as a boolean, use the `!!`
|
||||||
operator:
|
operator:
|
||||||
true: !`!'text'`, `!![99]`, `!!{'x': 1}`, `!!99`
|
true: `!!'text'`, `!![99]`, `!!{'x': 1}`, `!!99`
|
||||||
false: `!!''`, `!![]`, `!!{}`
|
false: `!!''`, `!![]`, `!!{}`
|
||||||
|
|
||||||
From a language like JavaScript we have this handy construct: >
|
From a language like JavaScript we have this handy construct: >
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
.TH VIMDIFF 1 "2001 March 30"
|
.TH VIMDIFF 1 "2001 March 30"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
vimdiff \- edit two, three or four versions of a file with Vim and show differences
|
vimdiff \- edit between two and eight versions of a file with Vim and show differences
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.br
|
.br
|
||||||
.B vimdiff
|
.B vimdiff
|
||||||
[options] file1 file2 [file3 [file4]]
|
[options] file1 file2 [file3 [file4 [file5 [file6 [file7 [file8]]]]]]
|
||||||
.PP
|
.PP
|
||||||
.B gvimdiff
|
.B gvimdiff
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B Vimdiff
|
.B Vimdiff
|
||||||
starts
|
starts
|
||||||
.B Vim
|
.B Vim
|
||||||
on two (or three or four) files.
|
on two up to eight files.
|
||||||
Each file gets its own window.
|
Each file gets its own window.
|
||||||
The differences between the files are highlighted.
|
The differences between the files are highlighted.
|
||||||
This is a nice way to inspect changes and to move changes from one version
|
This is a nice way to inspect changes and to move changes from one version
|
||||||
|
|||||||
@@ -1,27 +1,28 @@
|
|||||||
VIMDIFF(1) VIMDIFF(1)
|
VIMDIFF(1) General Commands Manual VIMDIFF(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
vimdiff - edit two, three or four versions of a file with Vim and show
|
vimdiff - edit between two and eight versions of a file with Vim and
|
||||||
differences
|
show differences
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
vimdiff [options] file1 file2 [file3 [file4]]
|
vimdiff [options] file1 file2 [file3 [file4 [file5 [file6 [file7
|
||||||
|
[file8]]]]]]
|
||||||
|
|
||||||
gvimdiff
|
gvimdiff
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
Vimdiff starts Vim on two (or three or four) files. Each file gets its
|
Vimdiff starts Vim on two up to eight files. Each file gets its own
|
||||||
own window. The differences between the files are highlighted. This
|
window. The differences between the files are highlighted. This is a
|
||||||
is a nice way to inspect changes and to move changes from one version
|
nice way to inspect changes and to move changes from one version to an‐
|
||||||
to another version of the same file.
|
other version of the same file.
|
||||||
|
|
||||||
See vim(1) for details about Vim itself.
|
See vim(1) for details about Vim itself.
|
||||||
|
|
||||||
When started as gvimdiff the GUI will be started, if available.
|
When started as gvimdiff the GUI will be started, if available.
|
||||||
|
|
||||||
In each window the 'diff' option will be set, which causes the differ-
|
In each window the 'diff' option will be set, which causes the differ‐
|
||||||
ences to be highlighted.
|
ences to be highlighted.
|
||||||
The 'wrap' and 'scrollbind' options are set to make the text look good.
|
The 'wrap' and 'scrollbind' options are set to make the text look good.
|
||||||
The 'foldmethod' option is set to "diff", which puts ranges of lines
|
The 'foldmethod' option is set to "diff", which puts ranges of lines
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*visual.txt* For Vim version 8.2. Last change: 2019 Nov 02
|
*visual.txt* For Vim version 8.2. Last change: 2021 May 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types
|
" Vim support file to detect file types
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2021 Apr 17
|
" Last Change: 2021 Jun 13
|
||||||
|
|
||||||
" Listen very carefully, I will say this only once
|
" Listen very carefully, I will say this only once
|
||||||
if exists("did_load_filetypes")
|
if exists("did_load_filetypes")
|
||||||
@@ -855,6 +855,9 @@ au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
|
|||||||
" JSON
|
" JSON
|
||||||
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
|
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
|
||||||
|
|
||||||
|
" Jupyter Notebook is also json
|
||||||
|
au BufNewFile,BufRead *.ipynb setf json
|
||||||
|
|
||||||
" Kixtart
|
" Kixtart
|
||||||
au BufNewFile,BufRead *.kix setf kix
|
au BufNewFile,BufRead *.kix setf kix
|
||||||
|
|
||||||
@@ -1496,7 +1499,7 @@ au BufNewFile,BufRead *.sass setf sass
|
|||||||
au BufNewFile,BufRead *.sa setf sather
|
au BufNewFile,BufRead *.sa setf sather
|
||||||
|
|
||||||
" Scala
|
" Scala
|
||||||
au BufNewFile,BufRead *.scala setf scala
|
au BufNewFile,BufRead *.scala,*.sc setf scala
|
||||||
|
|
||||||
" SBT - Scala Build Tool
|
" SBT - Scala Build Tool
|
||||||
au BufNewFile,BufRead *.sbt setf sbt
|
au BufNewFile,BufRead *.sbt setf sbt
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ Icon[de]=gvim
|
|||||||
Icon[eo]=gvim
|
Icon[eo]=gvim
|
||||||
Icon[fr]=gvim
|
Icon[fr]=gvim
|
||||||
Icon[ru]=gvim
|
Icon[ru]=gvim
|
||||||
|
Icon[sr]=gvim
|
||||||
Icon=gvim
|
Icon=gvim
|
||||||
Categories=Utility;TextEditor;
|
Categories=Utility;TextEditor;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim indent script for HTML
|
" Vim indent script for HTML
|
||||||
" Maintainer: Bram Moolenaar
|
" Maintainer: Bram Moolenaar
|
||||||
" Original Author: Andy Wokula <anwoku@yahoo.de>
|
" Original Author: Andy Wokula <anwoku@yahoo.de>
|
||||||
" Last Change: 2021 Jan 26
|
" Last Change: 2021 Jun 13
|
||||||
" Version: 1.0 "{{{
|
" Version: 1.0 "{{{
|
||||||
" Description: HTML indent script with cached state for faster indenting on a
|
" Description: HTML indent script with cached state for faster indenting on a
|
||||||
" range of lines.
|
" range of lines.
|
||||||
@@ -62,7 +62,7 @@ let s:tagname = '\w\+\(-\w\+\)*'
|
|||||||
" Prefer using buffer-local settings over global settings, so that there can
|
" Prefer using buffer-local settings over global settings, so that there can
|
||||||
" be defaults for all HTML files and exceptions for specific types of HTML
|
" be defaults for all HTML files and exceptions for specific types of HTML
|
||||||
" files.
|
" files.
|
||||||
func! HtmlIndent_CheckUserSettings()
|
func HtmlIndent_CheckUserSettings()
|
||||||
"{{{
|
"{{{
|
||||||
let inctags = ''
|
let inctags = ''
|
||||||
if exists("b:html_indent_inctags")
|
if exists("b:html_indent_inctags")
|
||||||
@@ -178,7 +178,7 @@ let s:endtags = [0,0,0,0,0,0,0] " long enough for the highest index
|
|||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" Add a list of tag names for a pair of <tag> </tag> to "tags".
|
" Add a list of tag names for a pair of <tag> </tag> to "tags".
|
||||||
func! s:AddITags(tags, taglist)
|
func s:AddITags(tags, taglist)
|
||||||
"{{{
|
"{{{
|
||||||
for itag in a:taglist
|
for itag in a:taglist
|
||||||
let a:tags[itag] = 1
|
let a:tags[itag] = 1
|
||||||
@@ -187,7 +187,7 @@ func! s:AddITags(tags, taglist)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Take a list of tag name pairs that are not to be used as tag pairs.
|
" Take a list of tag name pairs that are not to be used as tag pairs.
|
||||||
func! s:RemoveITags(tags, taglist)
|
func s:RemoveITags(tags, taglist)
|
||||||
"{{{
|
"{{{
|
||||||
for itag in a:taglist
|
for itag in a:taglist
|
||||||
let a:tags[itag] = 1
|
let a:tags[itag] = 1
|
||||||
@@ -196,7 +196,7 @@ func! s:RemoveITags(tags, taglist)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Add a block tag, that is a tag with a different kind of indenting.
|
" Add a block tag, that is a tag with a different kind of indenting.
|
||||||
func! s:AddBlockTag(tag, id, ...)
|
func s:AddBlockTag(tag, id, ...)
|
||||||
"{{{
|
"{{{
|
||||||
if !(a:id >= 2 && a:id < len(s:endtags))
|
if !(a:id >= 2 && a:id < len(s:endtags))
|
||||||
echoerr 'AddBlockTag ' . a:id
|
echoerr 'AddBlockTag ' . a:id
|
||||||
@@ -255,7 +255,7 @@ call s:AddBlockTag('<!--[', 6, '![endif]-->')
|
|||||||
" Return non-zero when "tagname" is an opening tag, not being a block tag, for
|
" Return non-zero when "tagname" is an opening tag, not being a block tag, for
|
||||||
" which there should be a closing tag. Can be used by scripts that include
|
" which there should be a closing tag. Can be used by scripts that include
|
||||||
" HTML indenting.
|
" HTML indenting.
|
||||||
func! HtmlIndent_IsOpenTag(tagname)
|
func HtmlIndent_IsOpenTag(tagname)
|
||||||
"{{{
|
"{{{
|
||||||
if get(s:indent_tags, a:tagname) == 1
|
if get(s:indent_tags, a:tagname) == 1
|
||||||
return 1
|
return 1
|
||||||
@@ -264,7 +264,7 @@ func! HtmlIndent_IsOpenTag(tagname)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Get the value for "tagname", taking care of buffer-local tags.
|
" Get the value for "tagname", taking care of buffer-local tags.
|
||||||
func! s:get_tag(tagname)
|
func s:get_tag(tagname)
|
||||||
"{{{
|
"{{{
|
||||||
let i = get(s:indent_tags, a:tagname)
|
let i = get(s:indent_tags, a:tagname)
|
||||||
if (i == 1 || i == -1) && get(b:hi_removed_tags, a:tagname) != 0
|
if (i == 1 || i == -1) && get(b:hi_removed_tags, a:tagname) != 0
|
||||||
@@ -277,7 +277,7 @@ func! s:get_tag(tagname)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Count the number of start and end tags in "text".
|
" Count the number of start and end tags in "text".
|
||||||
func! s:CountITags(text)
|
func s:CountITags(text)
|
||||||
"{{{
|
"{{{
|
||||||
" Store the result in s:curind and s:nextrel.
|
" Store the result in s:curind and s:nextrel.
|
||||||
let s:curind = 0 " relative indent steps for current line [unit &sw]:
|
let s:curind = 0 " relative indent steps for current line [unit &sw]:
|
||||||
@@ -289,7 +289,7 @@ func! s:CountITags(text)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Count the number of start and end tags in text.
|
" Count the number of start and end tags in text.
|
||||||
func! s:CountTagsAndState(text)
|
func s:CountTagsAndState(text)
|
||||||
"{{{
|
"{{{
|
||||||
" Store the result in s:curind and s:nextrel. Update b:hi_newstate.block.
|
" Store the result in s:curind and s:nextrel. Update b:hi_newstate.block.
|
||||||
let s:curind = 0 " relative indent steps for current line [unit &sw]:
|
let s:curind = 0 " relative indent steps for current line [unit &sw]:
|
||||||
@@ -304,7 +304,7 @@ func! s:CountTagsAndState(text)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Used by s:CountITags() and s:CountTagsAndState().
|
" Used by s:CountITags() and s:CountTagsAndState().
|
||||||
func! s:CheckTag(itag)
|
func s:CheckTag(itag)
|
||||||
"{{{
|
"{{{
|
||||||
" Returns an empty string or "SCRIPT".
|
" Returns an empty string or "SCRIPT".
|
||||||
" a:itag can be "tag" or "/tag" or "<!--" or "-->"
|
" a:itag can be "tag" or "/tag" or "<!--" or "-->"
|
||||||
@@ -338,7 +338,7 @@ func! s:CheckTag(itag)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Used by s:CheckTag(). Returns an empty string or "SCRIPT".
|
" Used by s:CheckTag(). Returns an empty string or "SCRIPT".
|
||||||
func! s:CheckBlockTag(blocktag, ind)
|
func s:CheckBlockTag(blocktag, ind)
|
||||||
"{{{
|
"{{{
|
||||||
if a:ind > 0
|
if a:ind > 0
|
||||||
" a block starts here
|
" a block starts here
|
||||||
@@ -366,7 +366,7 @@ func! s:CheckBlockTag(blocktag, ind)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Used by s:CheckTag().
|
" Used by s:CheckTag().
|
||||||
func! s:CheckCustomTag(ctag)
|
func s:CheckCustomTag(ctag)
|
||||||
"{{{
|
"{{{
|
||||||
" Returns 1 if ctag is the tag for a custom element, 0 otherwise.
|
" Returns 1 if ctag is the tag for a custom element, 0 otherwise.
|
||||||
" a:ctag can be "tag" or "/tag" or "<!--" or "-->"
|
" a:ctag can be "tag" or "/tag" or "<!--" or "-->"
|
||||||
@@ -396,7 +396,7 @@ func! s:CheckCustomTag(ctag)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Return the <script> type: either "javascript" or ""
|
" Return the <script> type: either "javascript" or ""
|
||||||
func! s:GetScriptType(str)
|
func s:GetScriptType(str)
|
||||||
"{{{
|
"{{{
|
||||||
if a:str == "" || a:str =~ "java"
|
if a:str == "" || a:str =~ "java"
|
||||||
return "javascript"
|
return "javascript"
|
||||||
@@ -407,7 +407,7 @@ endfunc "}}}
|
|||||||
|
|
||||||
" Look back in the file, starting at a:lnum - 1, to compute a state for the
|
" Look back in the file, starting at a:lnum - 1, to compute a state for the
|
||||||
" start of line a:lnum. Return the new state.
|
" start of line a:lnum. Return the new state.
|
||||||
func! s:FreshState(lnum)
|
func s:FreshState(lnum)
|
||||||
"{{{
|
"{{{
|
||||||
" A state is to know ALL relevant details about the
|
" A state is to know ALL relevant details about the
|
||||||
" lines 1..a:lnum-1, initial calculating (here!) can be slow, but updating is
|
" lines 1..a:lnum-1, initial calculating (here!) can be slow, but updating is
|
||||||
@@ -568,24 +568,29 @@ func! s:FreshState(lnum)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Indent inside a <pre> block: Keep indent as-is.
|
" Indent inside a <pre> block: Keep indent as-is.
|
||||||
func! s:Alien2()
|
func s:Alien2()
|
||||||
"{{{
|
"{{{
|
||||||
return -1
|
return -1
|
||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Return the indent inside a <script> block for javascript.
|
" Return the indent inside a <script> block for javascript.
|
||||||
func! s:Alien3()
|
func s:Alien3()
|
||||||
"{{{
|
"{{{
|
||||||
let lnum = prevnonblank(v:lnum - 1)
|
let lnum = prevnonblank(v:lnum - 1)
|
||||||
while lnum > 1 && getline(lnum) =~ '^\s*/[/*]'
|
while lnum > 1 && getline(lnum) =~ '^\s*/[/*]'
|
||||||
" Skip over comments to avoid that cindent() aligns with the <script> tag
|
" Skip over comments to avoid that cindent() aligns with the <script> tag
|
||||||
let lnum = prevnonblank(lnum - 1)
|
let lnum = prevnonblank(lnum - 1)
|
||||||
endwhile
|
endwhile
|
||||||
|
if lnum < b:hi_indent.blocklnr
|
||||||
|
" indent for <script> itself
|
||||||
|
return b:hi_indent.blocktagind
|
||||||
|
endif
|
||||||
if lnum == b:hi_indent.blocklnr
|
if lnum == b:hi_indent.blocklnr
|
||||||
" indent for the first line after <script>
|
" indent for the first line after <script>
|
||||||
return eval(b:hi_js1indent)
|
return eval(b:hi_js1indent)
|
||||||
endif
|
endif
|
||||||
if b:hi_indent.scripttype == "javascript"
|
if b:hi_indent.scripttype == "javascript"
|
||||||
|
" indent for further lines
|
||||||
return eval(b:hi_js1indent) + GetJavascriptIndent()
|
return eval(b:hi_js1indent) + GetJavascriptIndent()
|
||||||
else
|
else
|
||||||
return -1
|
return -1
|
||||||
@@ -593,7 +598,7 @@ func! s:Alien3()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Return the indent inside a <style> block.
|
" Return the indent inside a <style> block.
|
||||||
func! s:Alien4()
|
func s:Alien4()
|
||||||
"{{{
|
"{{{
|
||||||
if prevnonblank(v:lnum-1) == b:hi_indent.blocklnr
|
if prevnonblank(v:lnum-1) == b:hi_indent.blocklnr
|
||||||
" indent for first content line
|
" indent for first content line
|
||||||
@@ -603,7 +608,7 @@ func! s:Alien4()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Indending inside a <style> block. Returns the indent.
|
" Indending inside a <style> block. Returns the indent.
|
||||||
func! s:CSSIndent()
|
func s:CSSIndent()
|
||||||
"{{{
|
"{{{
|
||||||
" This handles standard CSS and also Closure stylesheets where special lines
|
" This handles standard CSS and also Closure stylesheets where special lines
|
||||||
" start with @.
|
" start with @.
|
||||||
@@ -720,13 +725,13 @@ endfunc "}}}
|
|||||||
" tag: blah
|
" tag: blah
|
||||||
" tag: blah &&
|
" tag: blah &&
|
||||||
" tag: blah ||
|
" tag: blah ||
|
||||||
func! s:CssUnfinished(text)
|
func s:CssUnfinished(text)
|
||||||
"{{{
|
"{{{
|
||||||
return a:text =~ '\(||\|&&\|:\|\k\)\s*$'
|
return a:text =~ '\(||\|&&\|:\|\k\)\s*$'
|
||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Search back for the first unfinished line above "lnum".
|
" Search back for the first unfinished line above "lnum".
|
||||||
func! s:CssFirstUnfinished(lnum, min_lnum)
|
func s:CssFirstUnfinished(lnum, min_lnum)
|
||||||
"{{{
|
"{{{
|
||||||
let align_lnum = a:lnum
|
let align_lnum = a:lnum
|
||||||
while align_lnum > a:min_lnum && s:CssUnfinished(getline(align_lnum - 1))
|
while align_lnum > a:min_lnum && s:CssUnfinished(getline(align_lnum - 1))
|
||||||
@@ -736,7 +741,7 @@ func! s:CssFirstUnfinished(lnum, min_lnum)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Find the non-empty line at or before "lnum" that is not a comment.
|
" Find the non-empty line at or before "lnum" that is not a comment.
|
||||||
func! s:CssPrevNonComment(lnum, stopline)
|
func s:CssPrevNonComment(lnum, stopline)
|
||||||
"{{{
|
"{{{
|
||||||
" caller starts from a line a:lnum + 1 that is not a comment
|
" caller starts from a line a:lnum + 1 that is not a comment
|
||||||
let lnum = prevnonblank(a:lnum)
|
let lnum = prevnonblank(a:lnum)
|
||||||
@@ -761,7 +766,7 @@ func! s:CssPrevNonComment(lnum, stopline)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Check the number of {} and () in line "lnum". Return a dict with the counts.
|
" Check the number of {} and () in line "lnum". Return a dict with the counts.
|
||||||
func! HtmlIndent_CountBraces(lnum)
|
func HtmlIndent_CountBraces(lnum)
|
||||||
"{{{
|
"{{{
|
||||||
let brs = substitute(getline(a:lnum), '[''"].\{-}[''"]\|/\*.\{-}\*/\|/\*.*$\|[^{}()]', '', 'g')
|
let brs = substitute(getline(a:lnum), '[''"].\{-}[''"]\|/\*.\{-}\*/\|/\*.*$\|[^{}()]', '', 'g')
|
||||||
let c_open = 0
|
let c_open = 0
|
||||||
@@ -794,7 +799,7 @@ func! HtmlIndent_CountBraces(lnum)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Return the indent for a comment: <!-- -->
|
" Return the indent for a comment: <!-- -->
|
||||||
func! s:Alien5()
|
func s:Alien5()
|
||||||
"{{{
|
"{{{
|
||||||
let curtext = getline(v:lnum)
|
let curtext = getline(v:lnum)
|
||||||
if curtext =~ '^\s*\zs-->'
|
if curtext =~ '^\s*\zs-->'
|
||||||
@@ -826,7 +831,7 @@ func! s:Alien5()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Return the indent for conditional comment: <!--[ ![endif]-->
|
" Return the indent for conditional comment: <!--[ ![endif]-->
|
||||||
func! s:Alien6()
|
func s:Alien6()
|
||||||
"{{{
|
"{{{
|
||||||
let curtext = getline(v:lnum)
|
let curtext = getline(v:lnum)
|
||||||
if curtext =~ '\s*\zs<!\[endif\]-->'
|
if curtext =~ '\s*\zs<!\[endif\]-->'
|
||||||
@@ -840,7 +845,7 @@ func! s:Alien6()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" When the "lnum" line ends in ">" find the line containing the matching "<".
|
" When the "lnum" line ends in ">" find the line containing the matching "<".
|
||||||
func! HtmlIndent_FindTagStart(lnum)
|
func HtmlIndent_FindTagStart(lnum)
|
||||||
"{{{
|
"{{{
|
||||||
" Avoids using the indent of a continuation line.
|
" Avoids using the indent of a continuation line.
|
||||||
" Moves the cursor.
|
" Moves the cursor.
|
||||||
@@ -863,7 +868,7 @@ func! HtmlIndent_FindTagStart(lnum)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Find the unclosed start tag from the current cursor position.
|
" Find the unclosed start tag from the current cursor position.
|
||||||
func! HtmlIndent_FindStartTag()
|
func HtmlIndent_FindStartTag()
|
||||||
"{{{
|
"{{{
|
||||||
" The cursor must be on or before a closing tag.
|
" The cursor must be on or before a closing tag.
|
||||||
" If found, positions the cursor at the match and returns the line number.
|
" If found, positions the cursor at the match and returns the line number.
|
||||||
@@ -877,7 +882,7 @@ func! HtmlIndent_FindStartTag()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Moves the cursor from a "<" to the matching ">".
|
" Moves the cursor from a "<" to the matching ">".
|
||||||
func! HtmlIndent_FindTagEnd()
|
func HtmlIndent_FindTagEnd()
|
||||||
"{{{
|
"{{{
|
||||||
" Call this with the cursor on the "<" of a start tag.
|
" Call this with the cursor on the "<" of a start tag.
|
||||||
" This will move the cursor to the ">" of the matching end tag or, when it's
|
" This will move the cursor to the ">" of the matching end tag or, when it's
|
||||||
@@ -897,7 +902,7 @@ func! HtmlIndent_FindTagEnd()
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" Indenting inside a start tag. Return the correct indent or -1 if unknown.
|
" Indenting inside a start tag. Return the correct indent or -1 if unknown.
|
||||||
func! s:InsideTag(foundHtmlString)
|
func s:InsideTag(foundHtmlString)
|
||||||
"{{{
|
"{{{
|
||||||
if a:foundHtmlString
|
if a:foundHtmlString
|
||||||
" Inside an attribute string.
|
" Inside an attribute string.
|
||||||
@@ -958,7 +963,7 @@ func! s:InsideTag(foundHtmlString)
|
|||||||
endfunc "}}}
|
endfunc "}}}
|
||||||
|
|
||||||
" THE MAIN INDENT FUNCTION. Return the amount of indent for v:lnum.
|
" THE MAIN INDENT FUNCTION. Return the amount of indent for v:lnum.
|
||||||
func! HtmlIndent()
|
func HtmlIndent()
|
||||||
"{{{
|
"{{{
|
||||||
if prevnonblank(v:lnum - 1) < 1
|
if prevnonblank(v:lnum - 1) < 1
|
||||||
" First non-blank line has no indent.
|
" First non-blank line has no indent.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: Python
|
" Language: Python
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Original Author: David Bustos <bustos@caltech.edu>
|
" Original Author: David Bustos <bustos@caltech.edu>
|
||||||
" Last Change: 2019 Feb 21
|
" Last Change: 2021 May 26
|
||||||
|
|
||||||
" 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")
|
||||||
@@ -191,7 +191,7 @@ function GetPythonIndent(lnum)
|
|||||||
if getline(a:lnum) =~ '^\s*\(elif\|else\)\>'
|
if getline(a:lnum) =~ '^\s*\(elif\|else\)\>'
|
||||||
|
|
||||||
" Unless the previous line was a one-liner
|
" Unless the previous line was a one-liner
|
||||||
if getline(plnumstart) =~ '^\s*\(for\|if\|try\)\>'
|
if getline(plnumstart) =~ '^\s*\(for\|if\|elif\|try\)\>'
|
||||||
return plindent
|
return plindent
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"
|
"
|
||||||
" Author: Bram Moolenaar
|
" Author: Bram Moolenaar
|
||||||
" Copyright: Vim license applies, see ":help license"
|
" Copyright: Vim license applies, see ":help license"
|
||||||
" Last Change: 2021 May 16
|
" Last Change: 2021 May 18
|
||||||
"
|
"
|
||||||
" WORK IN PROGRESS - Only the basics work
|
" WORK IN PROGRESS - Only the basics work
|
||||||
" Note: On MS-Windows you need a recent version of gdb. The one included with
|
" Note: On MS-Windows you need a recent version of gdb. The one included with
|
||||||
@@ -176,6 +176,16 @@ func s:CloseBuffers()
|
|||||||
unlet! s:gdbwin
|
unlet! s:gdbwin
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func s:CheckGdbRunning()
|
||||||
|
let gdbproc = term_getjob(s:gdbbuf)
|
||||||
|
if gdbproc == v:null || job_status(gdbproc) !=# 'run'
|
||||||
|
echoerr string(g:termdebugger) . ' exited unexpectedly'
|
||||||
|
call s:CloseBuffers()
|
||||||
|
return ''
|
||||||
|
endif
|
||||||
|
return 'ok'
|
||||||
|
endfunc
|
||||||
|
|
||||||
func s:StartDebug_term(dict)
|
func s:StartDebug_term(dict)
|
||||||
" Open a terminal window without a job, to run the debugged program in.
|
" Open a terminal window without a job, to run the debugged program in.
|
||||||
let s:ptybuf = term_start('NONE', {
|
let s:ptybuf = term_start('NONE', {
|
||||||
@@ -216,7 +226,7 @@ func s:StartDebug_term(dict)
|
|||||||
let gdb_args = get(a:dict, 'gdb_args', [])
|
let gdb_args = get(a:dict, 'gdb_args', [])
|
||||||
let proc_args = get(a:dict, 'proc_args', [])
|
let proc_args = get(a:dict, 'proc_args', [])
|
||||||
|
|
||||||
let cmd = [g:termdebugger, '-quiet', '-tty', pty] + gdb_args
|
let cmd = [g:termdebugger, '-quiet', '-tty', pty, '--eval-command', 'echo startupdone\n'] + gdb_args
|
||||||
call ch_log('executing "' . join(cmd) . '"')
|
call ch_log('executing "' . join(cmd) . '"')
|
||||||
let s:gdbbuf = term_start(cmd, {
|
let s:gdbbuf = term_start(cmd, {
|
||||||
\ 'term_finish': 'close',
|
\ 'term_finish': 'close',
|
||||||
@@ -228,9 +238,28 @@ func s:StartDebug_term(dict)
|
|||||||
endif
|
endif
|
||||||
let s:gdbwin = win_getid(winnr())
|
let s:gdbwin = win_getid(winnr())
|
||||||
|
|
||||||
" Set arguments to be run. First wait a bit to make detecting gdb a bit
|
" Wait for the "startupdone" message before sending any commands.
|
||||||
" more reliable.
|
let try_count = 0
|
||||||
sleep 200m
|
while 1
|
||||||
|
if s:CheckGdbRunning() != 'ok'
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
for lnum in range(1, 200)
|
||||||
|
if term_getline(s:gdbbuf, lnum) =~ 'startupdone'
|
||||||
|
let try_count = 9999
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
let try_count += 1
|
||||||
|
if try_count > 300
|
||||||
|
" done or give up after five seconds
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
sleep 10m
|
||||||
|
endwhile
|
||||||
|
|
||||||
|
" Set arguments to be run.
|
||||||
if len(proc_args)
|
if len(proc_args)
|
||||||
call term_sendkeys(s:gdbbuf, 'set args ' . join(proc_args) . "\r")
|
call term_sendkeys(s:gdbbuf, 'set args ' . join(proc_args) . "\r")
|
||||||
endif
|
endif
|
||||||
@@ -242,10 +271,7 @@ func s:StartDebug_term(dict)
|
|||||||
" why the debugger doesn't work.
|
" why the debugger doesn't work.
|
||||||
let try_count = 0
|
let try_count = 0
|
||||||
while 1
|
while 1
|
||||||
let gdbproc = term_getjob(s:gdbbuf)
|
if s:CheckGdbRunning() != 'ok'
|
||||||
if gdbproc == v:null || job_status(gdbproc) !=# 'run'
|
|
||||||
echoerr string(g:termdebugger) . ' exited unexpectedly'
|
|
||||||
call s:CloseBuffers()
|
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -292,7 +318,7 @@ func s:StartDebug_term(dict)
|
|||||||
" "Type <return> to continue" prompt.
|
" "Type <return> to continue" prompt.
|
||||||
call s:SendCommand('set pagination off')
|
call s:SendCommand('set pagination off')
|
||||||
|
|
||||||
call job_setoptions(gdbproc, {'exit_cb': function('s:EndTermDebug')})
|
call job_setoptions(term_getjob(s:gdbbuf), {'exit_cb': function('s:EndTermDebug')})
|
||||||
call s:StartDebugCommon(a:dict)
|
call s:StartDebugCommon(a:dict)
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2021 Jan 11
|
" Last Change: 2021 May 24
|
||||||
|
|
||||||
" Quit when a (custom) syntax file was already loaded
|
" Quit when a (custom) syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@@ -414,6 +414,9 @@ if exists("c_autodoc")
|
|||||||
syn cluster cPreProcGroup add=cAutodocReal
|
syn cluster cPreProcGroup add=cAutodocReal
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" be able to fold #pragma regions
|
||||||
|
syn region cPragma start="^\s*#pragma\s\+region\>" end="^\s*#pragma\s\+endregion\>" transparent keepend extend fold
|
||||||
|
|
||||||
" Highlight User Labels
|
" Highlight User Labels
|
||||||
syn cluster cMultiGroup contains=cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,cCppOutWrapper,cCppInWrapper,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cCppParen,cCppBracket,cCppString
|
syn cluster cMultiGroup contains=cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,cCppOutWrapper,cCppInWrapper,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cCppParen,cCppBracket,cCppString
|
||||||
if s:ft ==# 'c' || exists("cpp_no_cpp11")
|
if s:ft ==# 'c' || exists("cpp_no_cpp11")
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: C++
|
" Language: C++
|
||||||
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
|
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
|
||||||
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
|
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
|
||||||
" Last Change: 2021 Jan 12
|
" Last Change: 2021 May 04
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@@ -44,33 +44,45 @@ if !exists("cpp_no_cpp11")
|
|||||||
syn keyword cppConstant ATOMIC_WCHAR_T_LOCK_FREE ATOMIC_SHORT_LOCK_FREE
|
syn keyword cppConstant ATOMIC_WCHAR_T_LOCK_FREE ATOMIC_SHORT_LOCK_FREE
|
||||||
syn keyword cppConstant ATOMIC_INT_LOCK_FREE ATOMIC_LONG_LOCK_FREE
|
syn keyword cppConstant ATOMIC_INT_LOCK_FREE ATOMIC_LONG_LOCK_FREE
|
||||||
syn keyword cppConstant ATOMIC_LLONG_LOCK_FREE ATOMIC_POINTER_LOCK_FREE
|
syn keyword cppConstant ATOMIC_LLONG_LOCK_FREE ATOMIC_POINTER_LOCK_FREE
|
||||||
syn region cppRawString matchgroup=cppRawStringDelimiter start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+ end=+)\z1"+ contains=@Spell
|
syn region cppRawString matchgroup=cppRawStringDelimiter start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+ end=+)\z1"\(sv\|s\|_[_a-zA-Z][_a-zA-Z0-9]*\)\=+ contains=@Spell
|
||||||
syn match cppCast "\<\(const\|static\|dynamic\)_pointer_cast\s*<"me=e-1
|
syn match cppCast "\<\(const\|static\|dynamic\)_pointer_cast\s*<"me=e-1
|
||||||
syn match cppCast "\<\(const\|static\|dynamic\)_pointer_cast\s*$"
|
syn match cppCast "\<\(const\|static\|dynamic\)_pointer_cast\s*$"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" C++ 14 extensions
|
" C++ 14 extensions
|
||||||
if !exists("cpp_no_cpp14")
|
if !exists("cpp_no_cpp14")
|
||||||
syn case ignore
|
syn match cppNumbers display transparent "\<\d\|\.\d" contains=cppNumber,cppFloat
|
||||||
syn match cppNumber display "\<0b[01]\('\=[01]\+\)*\(u\=l\{0,2}\|ll\=u\)\>"
|
syn match cppNumber display contained "\<0\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
syn match cppNumber display "\<[1-9]\('\=\d\+\)*\(u\=l\{0,2}\|ll\=u\)\>" contains=cFloat
|
syn match cppNumber display contained "\<[1-9]\('\=\d\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
syn match cppNumber display "\<0x\x\('\=\x\+\)*\(u\=l\{0,2}\|ll\=u\)\>"
|
syn match cppNumber display contained "\<0\o\+\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
syn case match
|
syn match cppNumber display contained "\<0b[01]\('\=[01]\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
endif
|
syn match cppNumber display contained "\<0x\x\('\=\x\+\)*\([Uu]\=\([Ll]\|LL\|ll\)\|\([Ll]\|LL\|ll\)\=[Uu]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
|
syn match cppFloat display contained "\<\d\+\.\d*\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
" C++ 20 extensions
|
syn match cppFloat display contained "\<\.\d\+\(e[-+]\=\d\+\)\=\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
if !exists("cpp_no_cpp20")
|
syn match cppFloat display contained "\<\d\+e[-+]\=\d\+\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
syn keyword cppStatement co_await co_return co_yield requires
|
syn region cppString start=+\(L\|u\|u8\|U\|R\|LR\|u8R\|uR\|UR\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"\(sv\|s\|_\i*\)\=+ end='$' contains=cSpecial,cFormat,@Spell
|
||||||
syn keyword cppStorageClass consteval constinit
|
|
||||||
syn keyword cppStructure concept
|
|
||||||
syn keyword cppType char8_t
|
|
||||||
syn keyword cppModule import module export
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" C++ 17 extensions
|
" C++ 17 extensions
|
||||||
if !exists("cpp_no_cpp17")
|
if !exists("cpp_no_cpp17")
|
||||||
syn match cppCast "\<reinterpret_pointer_cast\s*<"me=e-1
|
syn match cppCast "\<reinterpret_pointer_cast\s*<"me=e-1
|
||||||
syn match cppCast "\<reinterpret_pointer_cast\s*$"
|
syn match cppCast "\<reinterpret_pointer_cast\s*$"
|
||||||
|
syn match cppFloat display contained "\<0x\x*\.\x\+p[-+]\=\d\+\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
|
syn match cppFloat display contained "\<0x\x\+\.\=p[-+]\=\d\+\([FfLl]\|i[fl]\=\|h\|min\|s\|ms\|us\|ns\|_\i*\)\=\>"
|
||||||
|
endif
|
||||||
|
|
||||||
|
" C++ 20 extensions
|
||||||
|
if !exists("cpp_no_cpp20")
|
||||||
|
syn match cppNumber display contained "\<0\(y\|d\)\>"
|
||||||
|
syn match cppNumber display contained "\<[1-9]\('\=\d\+\)*\(y\|d\)\>"
|
||||||
|
syn match cppNumber display contained "\<0\o\+\(y\|d\)\>"
|
||||||
|
syn match cppNumber display contained "\<0b[01]\('\=[01]\+\)*\(y\|d\)\>"
|
||||||
|
syn match cppNumber display contained "\<0x\x\('\=\x\+\)*\(y\|d\)\>"
|
||||||
|
syn keyword cppStatement co_await co_return co_yield requires
|
||||||
|
syn keyword cppStorageClass consteval constinit
|
||||||
|
syn keyword cppStructure concept
|
||||||
|
syn keyword cppType char8_t
|
||||||
|
syn keyword cppModule import module export
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" The minimum and maximum operators in GNU C++
|
" The minimum and maximum operators in GNU C++
|
||||||
@@ -90,7 +102,9 @@ hi def link cppBoolean Boolean
|
|||||||
hi def link cppConstant Constant
|
hi def link cppConstant Constant
|
||||||
hi def link cppRawStringDelimiter Delimiter
|
hi def link cppRawStringDelimiter Delimiter
|
||||||
hi def link cppRawString String
|
hi def link cppRawString String
|
||||||
|
hi def link cppString String
|
||||||
hi def link cppNumber Number
|
hi def link cppNumber Number
|
||||||
|
hi def link cppFloat Number
|
||||||
hi def link cppModule Include
|
hi def link cppModule Include
|
||||||
|
|
||||||
let b:current_syntax = "cpp"
|
let b:current_syntax = "cpp"
|
||||||
|
|||||||
85
runtime/syntax/gvpr.vim
Normal file
85
runtime/syntax/gvpr.vim
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
" Vim syntax file
|
||||||
|
" Language: Graphviz program
|
||||||
|
" Maintainer: Matthew Fernandez <matthew.fernandez@gmail.com>
|
||||||
|
" Last Change: Tue, 28 Jul 2020 17:20:44 -0700
|
||||||
|
|
||||||
|
if exists("b:current_syntax")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
syn keyword gvArg ARGC ARGV
|
||||||
|
syn keyword gvBeg BEGIN BEG_G N E END END_G
|
||||||
|
syn keyword gvFunc
|
||||||
|
\ graph fstsubg isDirect isStrict isSubg nEdges nNodes nxtsubg subg
|
||||||
|
\ degreeOf fstnode indegreeOf isNode isSubnode node nxtnode nxtnode_sg
|
||||||
|
\ outDegreeOf subnode
|
||||||
|
\ edge edge_sg fstedge fstedge_sg fstin fstin_sg fstout fstout_sg isEdge
|
||||||
|
\ isEdge_sg isSubedge nxtedge nxtedge_sg nxtin nxtin_sg nxtout nxtout_sg opp
|
||||||
|
\ subedge
|
||||||
|
\ freadG fwriteG readG write[] writeG
|
||||||
|
\ aget aset clone cloneG compOf copy[] copyA delete[] fstAttr getDflt hasAttr
|
||||||
|
\ induce isAttr isIn kindOf lock[] nxtAttr setDflt
|
||||||
|
\ canon gsub html index ishtml length llOf match[] rindex split[] sprintf
|
||||||
|
\ sscanf strcmp sub substr tokens tolower toupper urOf xOf yOf
|
||||||
|
\ closeF openF print[] printf scanf readL
|
||||||
|
\ atan2 cos exp log MAX MIN pow sin[] sqrt
|
||||||
|
\ in[] unset
|
||||||
|
\ colorx exit[] rand srand system
|
||||||
|
syn keyword gvCons
|
||||||
|
\ NULL TV_bfs TV_dfs TV_en TV_flat TV_fwd TV_ne TV_prepostdfs TV_prepostfwd
|
||||||
|
\ TV_prepostrev TV_postdfs TV_postfwd tv_postrev TV_rev
|
||||||
|
syn keyword gvType char double float int long unsigned void
|
||||||
|
\ string
|
||||||
|
\ edge_t graph_t node_t obj_t
|
||||||
|
syn match gvVar
|
||||||
|
\ "\$\(\(F\|G\|NG\|O\|T\|tgtname\|tvedge\|tvnext\|tvroot\|tvtype\)\>\)\?\(\<\)\@!"
|
||||||
|
syn keyword gvWord break continue else for forr if return switch while
|
||||||
|
|
||||||
|
" numbers adapted from c.vim's cNumbers and friends
|
||||||
|
syn match gvNums transparent "\<\d\|\.\d" contains=gvNumber,gvFloat,gvOctal
|
||||||
|
syn match gvNumber contained "\d\+\(u\=l\{0,2}\|ll\=u\)\>"
|
||||||
|
syn match gvNumber contained "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>"
|
||||||
|
syn match gvOctal contained "0\o\+\(u\=l\{0,2}\|ll\=u\)\>" contains=gvOctalZero
|
||||||
|
syn match gvOctalZero contained "\<0"
|
||||||
|
syn match gvFloat contained "\d\+f"
|
||||||
|
syn match gvFloat contained "\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\="
|
||||||
|
syn match gvFloat contained "\.\d\+\(e[-+]\=\d\+\)\=[fl]\=\>"
|
||||||
|
syn match gvFloat contained "\d\+e[-+]\=\d\+[fl]\=\>"
|
||||||
|
|
||||||
|
syn region gvString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=gvFormat,gvSpecial extend
|
||||||
|
syn region gvString start="'" skip="\\\\\|\\'" end="'" contains=gvFormat,gvSpecial extend
|
||||||
|
|
||||||
|
" adapted from c.vim's cFormat for c_no_c99
|
||||||
|
syn match gvFormat "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlL]\|ll\)\=\([bdiuoxXDOUfeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
|
||||||
|
|
||||||
|
syn match gvSpecial "\\." contained
|
||||||
|
|
||||||
|
syn region gvCComment start="//" skip="\\$" end="$" keepend
|
||||||
|
syn region gvCPPComment start="#" skip="\\$" end="$" keepend
|
||||||
|
syn region gvCXXComment start="/\*" end="\*/" fold
|
||||||
|
|
||||||
|
hi def link gvArg Identifier
|
||||||
|
hi def link gvBeg Keyword
|
||||||
|
hi def link gvFloat Number
|
||||||
|
hi def link gvFunc Identifier
|
||||||
|
hi def link gvCons Number
|
||||||
|
hi def link gvNumber Number
|
||||||
|
hi def link gvType Type
|
||||||
|
hi def link gvVar Statement
|
||||||
|
hi def link gvWord Keyword
|
||||||
|
|
||||||
|
hi def link gvString String
|
||||||
|
hi def link gvFormat Special
|
||||||
|
hi def link gvSpecial Special
|
||||||
|
|
||||||
|
hi def link gvCComment Comment
|
||||||
|
hi def link gvCPPComment Comment
|
||||||
|
hi def link gvCXXComment Comment
|
||||||
|
|
||||||
|
let b:current_syntax = "gvpr"
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||||
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||||
" Last Change: Nov 24, 2020
|
" Last Change: Feb 18, 2021
|
||||||
" Version: 196
|
" Version: 198
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
||||||
" For options and settings, please use: :help ft-sh-syntax
|
" For options and settings, please use: :help ft-sh-syntax
|
||||||
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr) and heredoc fixes from Felipe Contreras
|
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr) and heredoc fixes from Felipe Contreras
|
||||||
@@ -13,33 +13,35 @@ if exists("b:current_syntax")
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" trying to answer the question: which shell is /bin/sh, really?
|
" If the shell script itself specifies which shell to use, use it
|
||||||
" If the user has not specified any of g:is_kornshell, g:is_bash, g:is_posix, g:is_sh, then guess.
|
if getline(1) =~ '\<ksh\>'
|
||||||
if getline(1) =~ '\<ksh$'
|
|
||||||
let b:is_kornshell = 1
|
let b:is_kornshell = 1
|
||||||
elseif getline(1) =~ '\<bash$'
|
elseif getline(1) =~ '\<bash\>'
|
||||||
let b:is_bash = 1
|
let b:is_bash = 1
|
||||||
elseif getline(1) =~ '\<dash$'
|
elseif getline(1) =~ '\<dash\>'
|
||||||
let b:is_dash = 1
|
let b:is_dash = 1
|
||||||
elseif !exists("g:is_kornshell") && !exists("g:is_bash") && !exists("g:is_posix") && !exists("g:is_sh") && !exists("g:is_dash")
|
elseif !exists("g:is_kornshell") && !exists("g:is_bash") && !exists("g:is_posix") && !exists("g:is_sh") && !exists("g:is_dash")
|
||||||
|
" user did not specify which shell to use, and
|
||||||
|
" the script itself does not specify which shell to use. FYI: /bin/sh is ambiguous.
|
||||||
|
" Assuming /bin/sh is executable, and if its a link, find out what it links to.
|
||||||
let s:shell = ""
|
let s:shell = ""
|
||||||
if executable("/bin/sh")
|
if executable("/bin/sh")
|
||||||
let s:shell = resolve("/bin/sh")
|
let s:shell = resolve("/bin/sh")
|
||||||
elseif executable("/usr/bin/sh")
|
elseif executable("/usr/bin/sh")
|
||||||
let s:shell = resolve("/usr/bin/sh")
|
let s:shell = resolve("/usr/bin/sh")
|
||||||
endif
|
endif
|
||||||
if s:shell =~ 'ksh$'
|
if s:shell =~ '\<ksh\>'
|
||||||
let b:is_kornshell= 1
|
let b:is_kornshell= 1
|
||||||
elseif s:shell =~ 'bash$'
|
elseif s:shell =~ '\<bash\>'
|
||||||
let b:is_bash = 1
|
let b:is_bash = 1
|
||||||
elseif s:shell =~ 'dash$'
|
elseif s:shell =~ '\<dash\>'
|
||||||
let b:is_dash = 1
|
let b:is_dash = 1
|
||||||
endif
|
endif
|
||||||
unlet s:shell
|
unlet s:shell
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" handling /bin/sh with is_kornshell/is_sh {{{1
|
" handling /bin/sh with is_kornshell/is_sh {{{1
|
||||||
" b:is_sh is set when "#! /bin/sh" is found;
|
" b:is_sh will be set when "#! /bin/sh" is found;
|
||||||
" However, it often is just a masquerade by bash (typically Linux)
|
" However, it often is just a masquerade by bash (typically Linux)
|
||||||
" or kornshell (typically workstations with Posix "sh").
|
" or kornshell (typically workstations with Posix "sh").
|
||||||
" So, when the user sets "g:is_bash", "g:is_kornshell",
|
" So, when the user sets "g:is_bash", "g:is_kornshell",
|
||||||
@@ -98,14 +100,16 @@ if g:sh_fold_enabled && &fdm == "manual"
|
|||||||
setl fdm=syntax
|
setl fdm=syntax
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" set up the syntax-highlighting iskeyword
|
" set up the syntax-highlighting for iskeyword
|
||||||
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
|
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
|
||||||
|
if !exists("g:sh_syntax_isk") || (exists("g:sh_syntax_isk") && g:sh_syntax_isk)
|
||||||
if exists("b:is_bash")
|
if exists("b:is_bash")
|
||||||
exe "syn iskeyword ".&iskeyword.",-,:"
|
exe "syn iskeyword ".&iskeyword.",-,:"
|
||||||
else
|
else
|
||||||
exe "syn iskeyword ".&iskeyword.",-"
|
exe "syn iskeyword ".&iskeyword.",-"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
" Set up folding commands for shell {{{1
|
" Set up folding commands for shell {{{1
|
||||||
" =================================
|
" =================================
|
||||||
@@ -375,11 +379,10 @@ elseif !exists("g:sh_no_error")
|
|||||||
endif
|
endif
|
||||||
syn region shSingleQuote matchgroup=shQuote start=+'+ end=+'+ contains=@Spell nextgroup=shSpecialStart,shSpecialSQ
|
syn region shSingleQuote matchgroup=shQuote start=+'+ end=+'+ contains=@Spell nextgroup=shSpecialStart,shSpecialSQ
|
||||||
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\.+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
syn region shDoubleQuote matchgroup=shQuote start=+\%(\%(\\\\\)*\\\)\@<!"+ skip=+\\.+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
||||||
syn region shDoubleQuote matchgroup=shQuote start=+"+ matchgroup=shSpecial skip=+\\"+ matchgroup=shQuote end=+"+ contained contains=@shDblQuoteList,shStringSpecial,@Spell nextgroup=shSpecialStart
|
|
||||||
syn match shStringSpecial "[^[:print:] \t]" contained
|
syn match shStringSpecial "[^[:print:] \t]" contained
|
||||||
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" nextgroup=shComment
|
syn match shStringSpecial "[^\\]\zs\%(\\\\\)*\(\\[\\"'`$()#]\)\+" nextgroup=shComment
|
||||||
syn match shSpecialSQ "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshSnglQuote,@shNoZSList
|
syn match shSpecialSQ "[^\\]\zs\%(\\\\\)*\(\\[\\"'`$()#]\)\+" contained nextgroup=shBkslshSnglQuote,@shNoZSList
|
||||||
syn match shSpecialDQ "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshDblQuote,@shNoZSList
|
syn match shSpecialDQ "[^\\]\zs\%(\\\\\)*\(\\[\\"'`$()#]\)\+" contained nextgroup=shBkslshDblQuote,@shNoZSList
|
||||||
syn match shSpecialStart "\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshSnglQuote,shBkslshDblQuote,@shNoZSList
|
syn match shSpecialStart "\%(\\\\\)*\\[\\"'`$()#]" contained nextgroup=shBkslshSnglQuote,shBkslshDblQuote,@shNoZSList
|
||||||
syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]"
|
syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]"
|
||||||
syn match shSpecialNoZS contained "\%(\\\\\)*\\[\\"'`$()#]"
|
syn match shSpecialNoZS contained "\%(\\\\\)*\\[\\"'`$()#]"
|
||||||
@@ -402,6 +405,7 @@ syn match shQuickComment contained "#.*$"
|
|||||||
syn match shBQComment contained "#.\{-}\ze`" contains=@shCommentGroup
|
syn match shBQComment contained "#.\{-}\ze`" contains=@shCommentGroup
|
||||||
|
|
||||||
" Here Documents: {{{1
|
" Here Documents: {{{1
|
||||||
|
" (modified by Felipe Contreras)
|
||||||
" =========================================
|
" =========================================
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc01 start="<<\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc01 end="^\z1\s*$" contains=@shDblQuoteList
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc01 start="<<\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc01 end="^\z1\s*$" contains=@shDblQuoteList
|
||||||
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc02 start="<<-\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc02 end="^\s*\z1\s*$" contains=@shDblQuoteList
|
ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc02 start="<<-\s*\z([^ \t|>]\+\)" matchgroup=shHereDoc02 end="^\s*\z1\s*$" contains=@shDblQuoteList
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim 8.0 script
|
" Language: Vim 8.2 script
|
||||||
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
|
||||||
" Last Change: December 14, 2020
|
" Last Change: May 20, 2021
|
||||||
" Version: 8.0-47
|
" Version: 8.2-03
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
||||||
" Automatically generated keyword lists: {{{1
|
" Automatically generated keyword lists: {{{1
|
||||||
|
|
||||||
@@ -19,38 +19,38 @@ syn keyword vimTodo contained COMBAK FIXME TODO XXX
|
|||||||
syn cluster vimCommentGroup contains=vimTodo,@Spell
|
syn cluster vimCommentGroup contains=vimTodo,@Spell
|
||||||
|
|
||||||
" regular vim commands {{{2
|
" regular vim commands {{{2
|
||||||
syn keyword vimCommand contained a ar[gs] argl[ocal] ba[ll] bl[ast] brea[k] buffers ca caf[ter] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cn[ext] colo[rscheme] cons[t] cs d[elete] delel delf[unction] dif[fupdate] difft[his] dli[st] ds[earch] echoe[rr] en[dif] ene[w] exu[sage] fin[d] foldc[lose] g h[elp] hi if in iuna[bbrev] keepalt la[st] lan[guage] lbo[ttom] ld[o] lfir[st] lh[elpgrep] lmak[e] loadk lp[revious] luado ma[rk] mk[exrc] mz[scheme] new nore on[ly] pc[lose] pp[op] promptf[ind] ptj[ump] pu[t] py[thon] pyxdo rec[over] reg[isters] rightb[elow] rv[iminfo] sIn san[dbox] sbl[ast] scI scr[iptnames] setf[iletype] sgI sgp sig sir smenu so[urce] spellr[are] sr srl startg[replace] sun[hide] sy tN[ext] tabe[dit] tabnew tc[l] ter[minal] tlmenu tma[p] tr[ewind] u[ndo] unlo[ckvar] ve[rsion] vim9 vmapc[lear] wa[ll] winp[os] wundo xme xr[estore]
|
syn keyword vimCommand contained a ar[gs] argl[ocal] ba[ll] bl[ast] brea[k] buffers ca caf[ter] cbo[ttom] cex[pr] cgete[xpr] cl[ist] cn[ext] colo[rscheme] cons[t] cs d[elete] delel delf[unction] dif[fupdate] difft[his] dli[st] ds[earch] echoc[onsole] em[enu] endw[hile] export filt[er] fo[ld] fu[nction] gvim helpt[ags] iabc[lear] import isp[lit] keepa l[ist] laf[ter] lbel[ow] lcscope lf[ile] lgr[ep] lli[st] lnf[ile] lol[der] lt[ag] lw[indow] menut[ranslate] mkvie[w] nbc[lose] noh[lsearch] ol[dfiles] pa[ckadd] po[p] prof[ile] pta[g] ptr[ewind] py3f[ile] pythonx quita[ll] redraws[tatus] rew[ind] rubyf[ile] sIg sa[rgument] sba[ll] sbr[ewind] scl scscope sfir[st] sgl sic sin sm[ap] snoreme spelld[ump] spellw[rong] srg sta[g] sts[elect] sus[pend] syncbind tabN[ext] tabl[ast] tabr[ewind] tcld[o] tj[ump] tlu tno[remap] tu[nmenu] undol[ist] v vie[w] vmapc[lear] wa[ll] winp[os] wundo xme xr[estore]
|
||||||
syn keyword vimCommand contained ab arga[dd] argu[ment] bad[d] bm[odified] breaka[dd] bun[load] cabc[lear] cal[l] cc cf[ile] changes cla[st] cnew[er] com cope[n] cscope debug delep dell diffg[et] dig[raphs] do dsp[lit] echom[sg] enddef eval f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] ij[ump] inor j[oin] keepj[umps] lab[ove] lat lc[d] le[ft] lg[etfile] lhi[story] lmapc[lear] loadkeymap lpf[ile] luafile mak[e] mks[ession] mzf[ile] nmapc[lear] nos[wapfile] opt[ions] pe[rl] pre[serve] promptr[epl] ptl[ast] pw[d] pydo pyxfile red[o] res[ize] ru[ntime] sI sIp sav[eas] sbm[odified] sce scripte[ncoding] setg[lobal] sgc sgr sign sl[eep] smile sor[t] spellr[epall] srI srn startr[eplace] sunme syn ta[g] tabf[ind] tabo[nly] tcd tf[irst] tln tmapc[lear] try una[bbreviate] uns[ilent] verb[ose] vim9script vne[w] wh[ile] wn[ext] wv[iminfo] xmenu xunme
|
syn keyword vimCommand contained ab arga[dd] argu[ment] bad[d] bm[odified] breaka[dd] bun[load] cabc[lear] cal[l] cc cf[ile] changes cla[st] cnew[er] com cope[n] cscope debug delep dell diffg[et] dig[raphs] do dsp[lit] echoe[rr] en[dif] ene[w] exu[sage] fin[d] foldc[lose] g h[elp] hi if in iuna[bbrev] keepalt la[st] lan[guage] lbo[ttom] ld[o] lfdo lgrepa[dd] lma lo[adview] lop[en] lua m[ove] mes[sages] mod[e] nbs[tart] nor omapc[lear] packl[oadall] popu[p] profd[el] ptf[irst] pts[elect] py3f[ile] pyx r[ead] redrawt[abline] ri[ght] rundo sIl sal[l] sbf[irst] sc scp se[t] sg sgn sie sip sme snoremenu spelli[nfo] spr[evious] sri star[tinsert] substitutepattern sv[iew] syntime tabc[lose] tabm[ove] tabs tclf[ile] tl[ast] tlunmenu to[pleft] tunma[p] unh[ide] var vim9[cmd] vne[w] wh[ile] wn[ext] wv[iminfo] xmenu xunme
|
||||||
syn keyword vimCommand contained abc[lear] argd[elete] as[cii] balt bn[ext] breakd[el] bw[ipeout] cabo[ve] cat[ch] ccl[ose] cfdo chd[ir] class cnf[ile] comc[lear] cp[revious] cstag debugg[reedy] deletel delm[arks] diffo[ff] dir doau e[dit] echon endf[unction] ex files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] il[ist] interface ju[mps] keepp[atterns] lad[dexpr] later lch[dir] lefta[bove] lgetb[uffer] ll lne[xt] loc[kmarks] lr[ewind] lv[imgrep] marks mksp[ell] n[ext] noa nu[mber] ownsyntax ped[it] prev[ious] ps[earch] ptn[ext] py3 pyf[ile] q[uit] redi[r] ret[ab] rub[y] sIc sIr sbN[ext] sbn[ext] scg scriptv[ersion] setl[ocal] sge sh[ell] sil[ent] sla[st] sn[ext] sp[lit] spellr[rare] src srp stj[ump] sunmenu sync tab tabfir[st] tabp[revious] tch[dir] th[row] tlnoremenu tn[ext] ts[elect] undoj[oin] up[date] vert[ical] vim[grep] vs[plit] win[size] wp[revious] x[it] xnoreme xunmenu
|
syn keyword vimCommand contained abc[lear] argd[elete] as[cii] balt bn[ext] breakd[el] bw[ipeout] cabo[ve] cat[ch] ccl[ose] cfdo chd[ir] class cnf[ile] comc[lear] cp[revious] cstag debugg[reedy] deletel delm[arks] diffo[ff] dir doau e[dit] echom[sg] enddef eval f[ile] fina[lly] foldd[oopen] go[to] ha[rdcopy] hid[e] ij[ump] inor j[oin] keepj[umps] lab[ove] lat lc[d] le[ft] lfir[st] lh[elpgrep] lmak[e] loadk lp[revious] luado ma[rk] mk[exrc] mz[scheme] new nore on[ly] pc[lose] pp[op] promptf[ind] ptj[ump] pu[t] py[thon] pyxdo rec[over] reg[isters] rightb[elow] rv[iminfo] sIn san[dbox] sbl[ast] scI scr[iptnames] setf[iletype] sgI sgp sig sir smenu so[urce] spellr[are] sr srl startg[replace] substituterepeat sw[apname] t tabd[o] tabn[ext] tags te[aroff] tlm tm[enu] tp[revious] type unl ve[rsion] vim9s[cript] vs[plit] win[size] wp[revious] x[it] xnoreme xunmenu
|
||||||
syn keyword vimCommand contained abo[veleft] argdo au bd[elete] bo[tright] breakl[ist] cN[ext] cad[dbuffer] cb[uffer] cd cfir[st] che[ckpath] cle[arjumps] cnor comp[iler] cpf[ile] cun def deletep delp diffp[atch] disa[ssemble] doaut ea el[se] endfo[r] exi[t] filet fir[st] foldo[pen] grepa[dd] helpf[ind] i imapc[lear] intro k lN[ext] laddb[uffer] lb[uffer] lcl[ose] lex[pr] lgete[xpr] lla[st] lnew[er] lockv[ar] ls lvimgrepa[dd] mat[ch] mkv[imrc] nb[key] noautocmd o[pen] p[rint] perld[o] pro ptN[ext] ptp[revious] py3do python3 qa[ll] redr[aw] retu[rn] rubyd[o] sIe sN[ext] sb[uffer] sbp[revious] sci scs sf[ind] sgi si sim[alt] sm[agic] sno[magic] spe[llgood] spellu[ndo] sre[wind] st[op] stopi[nsert] sus[pend] syncbind tabN[ext] tabl[ast] tabr[ewind] tcld[o] tj[ump] tlu tno[remap] tu[nmenu] undol[ist] v vi[sual] vimgrepa[dd] wN[ext] winc[md] wq xa[ll] xnoremenu xwininfo
|
syn keyword vimCommand contained abo[veleft] argdo au bd[elete] bo[tright] breakl[ist] cN[ext] cad[dbuffer] cb[uffer] cd cfir[st] che[ckpath] cle[arjumps] cnor comp[iler] cpf[ile] cun def deletep delp diffp[atch] disa[ssemble] doaut ea echon endf[unction] ex files fini[sh] folddoc[losed] gr[ep] helpc[lose] his[tory] il[ist] interface ju[mps] keepp[atterns] lad[dexpr] later lch[dir] lefta[bove] lg[etfile] lhi[story] lmapc[lear] loadkeymap lpf[ile] luafile mak[e] mks[ession] mzf[ile] nmapc[lear] nos[wapfile] opt[ions] pe[rl] pre[serve] promptr[epl] ptl[ast] pw[d] pydo pyxfile red[o] res[ize] ru[ntime] sI sIp sav[eas] sbm[odified] sce scripte[ncoding] setg[lobal] sgc sgr sign sl[eep] smile sor[t] spellr[epall] srI srn startr[eplace] sun[hide] sy tN[ext] tabe[dit] tabnew tc[l] ter[minal] tlmenu tma[p] tr[ewind] u[ndo] unlo[ckvar] verb[ose] vim[grep] wN[ext] winc[md] wq xa[ll] xnoremenu xwininfo
|
||||||
syn keyword vimCommand contained addd arge[dit] bN[ext] bel[owright] bp[revious] bro[wse] cNf[ile] cadde[xpr] cbe[fore] cdo cg[etfile] checkt[ime] clo[se] co[py] con[tinue] cq[uit] cuna[bbrev] defc[ompile] deletl dep diffpu[t] dj[ump] dp earlier elsei[f] endt[ry] exp filetype fix[del] for gui helpg[rep] ia imp is[earch] kee[pmarks] lNf[ile] laddf[ile] lbe[fore] lcs lf[ile] lgr[ep] lli[st] lnf[ile] lol[der] lt[ag] lw[indow] menut[ranslate] mkvie[w] nbc[lose] noh[lsearch] ol[dfiles] pa[ckadd] po[p] prof[ile] pta[g] ptr[ewind] py3f[ile] pythonx quita[ll] redraws[tatus] rew[ind] rubyf[ile] sIg sa[rgument] sba[ll] sbr[ewind] scl scscope sfir[st] sgl sic sin sm[ap] snoreme spelld[ump] spellw[rong] srg sta[g] sts[elect] sv[iew] syntime tabc[lose] tabm[ove] tabs tclf[ile] tl[ast] tlunmenu to[pleft] tunma[p] unh[ide] var vie[w] viu[sage] w[rite] windo wqa[ll] xmapc[lear] xprop y[ank]
|
syn keyword vimCommand contained addd arge[dit] bN[ext] bel[owright] bp[revious] bro[wse] cNf[ile] cadde[xpr] cbe[fore] cdo cg[etfile] checkt[ime] clo[se] co[py] con[tinue] cq[uit] cuna[bbrev] defc[ompile] deletl dep diffpu[t] dj[ump] dp earlier el[se] endfo[r] exi[t] filet fir[st] foldo[pen] grepa[dd] helpf[ind] i imapc[lear] intro k lN[ext] laddb[uffer] lb[uffer] lcl[ose] leg[acy] lgetb[uffer] ll lne[xt] loc[kmarks] lr[ewind] lv[imgrep] marks mksp[ell] n[ext] noa nu[mber] ownsyntax ped[it] prev[ious] ps[earch] ptn[ext] py3 pyf[ile] q[uit] redi[r] ret[ab] rub[y] sIc sIr sbN[ext] sbn[ext] scg scriptv[ersion] setl[ocal] sge sh[ell] sil[ent] sla[st] sn[ext] sp[lit] spellr[rare] src srp stj[ump] sunme syn ta[g] tabf[ind] tabo[nly] tcd tf[irst] tln tmapc[lear] try una[bbreviate] uns[ilent] vert[ical] vimgrepa[dd] w[rite] windo wqa[ll] xmapc[lear] xprop y[ank]
|
||||||
syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bf[irst] br[ewind] bufdo c[hange] caddf[ile] cbel[ow] ce[nter] cgetb[uffer] chi[story] cmapc[lear] col[der] conf[irm] cr[ewind] cw[indow] delc[ommand] deletp di[splay] diffs[plit] dl dr[op] ec em[enu] endw[hile] export filt[er] fo[ld] fu[nction] gvim helpt[ags] iabc[lear] import isp[lit] keepa l[ist] laf[ter] lbel[ow] lcscope lfdo lgrepa[dd] lma lo[adview] lop[en] lua m[ove] mes[sages] mod[e] nbs[tart] nor omapc[lear] packl[oadall] popu[p] profd[el] ptf[irst] pts[elect] py3f[ile] pyx r[ead] redrawt[abline] ri[ght] rundo sIl sal[l] sbf[irst] sc scp se[t] sg sgn sie sip sme snoremenu spelli[nfo] spr[evious] sri star[tinsert] substitutepattern sw[apname] t tabd[o] tabn[ext] tags te[aroff] tlm tm[enu] tp[revious] type unl
|
syn keyword vimCommand contained al[l] argg[lobal] b[uffer] bf[irst] br[ewind] bufdo c[hange] caddf[ile] cbel[ow] ce[nter] cgetb[uffer] chi[story] cmapc[lear] col[der] conf[irm] cr[ewind] cw[indow] delc[ommand] deletp di[splay] diffs[plit] dl dr[op] ec elsei[f] endt[ry] exp filetype fix[del] for gui helpg[rep] ia imp is[earch] kee[pmarks] lNf[ile] laddf[ile] lbe[fore] lcs lex[pr] lgete[xpr] lla[st] lnew[er] lockv[ar] ls lvimgrepa[dd] mat[ch] mkv[imrc] nb[key] noautocmd o[pen] p[rint] perld[o] pro ptN[ext] ptp[revious] py3do python3 qa[ll] redr[aw] retu[rn] rubyd[o] sIe sN[ext] sb[uffer] sbp[revious] sci scs sf[ind] sgi si sim[alt] sm[agic] sno[magic] spe[llgood] spellu[ndo] sre[wind] st[op] stopi[nsert] sunmenu sync tab tabfir[st] tabp[revious] tch[dir] th[row] tlnoremenu tn[ext] ts[elect] undoj[oin] up[date] vi[sual] viu[sage]
|
||||||
syn match vimCommand contained "\<z[-+^.=]\=\>"
|
syn match vimCommand contained "\<z[-+^.=]\=\>"
|
||||||
syn keyword vimStdPlugin contained Arguments Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns
|
syn keyword vimStdPlugin contained Arguments Asm Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns
|
||||||
|
|
||||||
" vimOptions are caught only when contained in a vimSet {{{2
|
" vimOptions are caught only when contained in a vimSet {{{2
|
||||||
syn keyword vimOption contained acd ambw arshape background ballooneval bex bl brk buftype cf cinkeys cmdwinheight com completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph eadirection emo equalprg expandtab fdls fex fileignorecase fml foldlevel formatexpr gcr go guifontset helpheight history hlsearch imaf ims includeexpr infercase iskeyword keywordprg laststatus lispwords lrm magic maxfuncdepth menuitems mm modifiable mousemodel mzq numberwidth opfunc patchexpr pfn pp printfont pumwidth pythonthreehome re restorescreen ro rulerformat scl scs sft shellslash shortmess showtabline sj smd spell spl srr startofline suffixes switchbuf ta tagfunc tbi term termwintype tgc titlelen toolbariconsize ttimeout ttymouse twt undofile varsofttabstop verbosefile viminfofile wak weirdinvert wig wildoptions winheight wm wrapscan
|
syn keyword vimOption contained acd ambw arshape aw backupskip beval bk bri bufhidden cdpath cindent cm colorcolumn completeopt cp cscopeprg csprg culopt def diffexpr ea ei ep eventignore fdi fenc fileformat fkmap foldexpr foldopen fsync gfw guicursor guitabtooltip hidden hlg imactivatefunc imi inc inex isident keymap langnoremap linespace loadplugins ma matchtime mef mle modelineexpr mousehide mps nu opendevice paste pex pmbfn printencoding pt pythonhome quoteescape renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmode sj smd spell spl srr startofline suffixes switchbuf ta tagfunc tbi term termwintype tgc titlelen toolbariconsize ttimeout ttymouse twt undofile varsofttabstop verbosefile viminfofile wak weirdinvert wig wildoptions winheight wm wrapscan
|
||||||
syn keyword vimOption contained ai anti autochdir backspace balloonevalterm bexpr bo browsedir casemap cfu cino cmp comments concealcursor cpp cscopetag cst cursorline dex dip eb emoji errorbells exrc fdm ff filetype fmr foldlevelstart formatlistpat gd gp guifontwide helplang hk ic imak imsearch incsearch insertmode isp km lazyredraw list ls makeef maxmapdepth mfd mmd modified mouses mzquantum nuw osfiletype patchmode ph preserveindent printheader pvh pyx readonly revins rop runtimepath scr sect sh shelltemp shortname shq slm sn spellcapcheck splitbelow ss statusline suffixesadd sws tabline taglength tbidi termbidi terse tgst titleold top ttimeoutlen ttyscroll tx undolevels vartabstop vfile virtualedit warn wfh wildchar wim winminheight wmh write
|
syn keyword vimOption contained ai anti asd awa balloondelay bevalterm bkc briopt buflisted cedit cink cmdheight columns completepopup cpo cscopequickfix csqf cursorbind define diffopt ead ek equalalways ex fdl fencs fileformats flp foldignore foldtext ft ghr guifont helpfile highlight hls imactivatekey iminsert include inf isk keymodel langremap lisp lpl macatsui maxcombine menc mls modelines mousem msm number operatorfunc pastetoggle pexpr popt printexpr pumheight pythonthreedll rdt report rnu ruler scf scrollopt sessionoptions shellredir shm showtabline slm sn spellcapcheck splitbelow ss statusline suffixesadd sws tabline taglength tbidi termbidi terse tgst titleold top ttimeoutlen ttyscroll tx undolevels vartabstop vfile virtualedit warn wfh wildchar wim winminheight wmh write
|
||||||
syn keyword vimOption contained akm antialias autoindent backup balloonexpr bg bomb bs cb ch cinoptions cms commentstring conceallevel cpt cscopetagorder csto cursorlineopt dg dir ed enc errorfile fcl fdn ffs fillchars fo foldmarker formatoptions gdefault grepformat guiheadroom hf hkmap icon imc imsf inde is isprint kmp lbr listchars lsp makeencoding maxmem mh mmp more mouseshape mzschemedll odev pa path pheader previewheight printmbcharset pvp pyxversion redrawtime ri rs sb scroll sections shcf shelltype showbreak si sm so spellfile splitright ssl stl sw sxe tabpagemax tagrelative tbis termencoding textauto thesaurus titlestring tpm ttm ttytype uc undoreload vb vi visualbell wb wfw wildcharm winaltkeys winminwidth wmnu writeany
|
syn keyword vimOption contained akm antialias autochdir background ballooneval bex bl brk buftype cf cinkeys cmdwinheight com completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph eadirection emo equalprg expandtab fdls fex fileignorecase fml foldlevel formatexpr gcr go guifontset helpheight history hlsearch imaf ims includeexpr infercase iskeyword keywordprg laststatus lispwords lrm magic maxfuncdepth menuitems mm modifiable mousemodel mzq numberwidth opfunc patchexpr pfn pp printfont pumwidth pythonthreehome re restorescreen ro rulerformat scl scs sft shellslash shortmess shq sm so spellfile splitright ssl stl sw sxe tabpagemax tagrelative tbis termencoding textauto thesaurus titlestring tpm ttm ttytype uc undoreload vb vi visualbell wb wfw wildcharm winaltkeys winminwidth wmnu writeany
|
||||||
syn keyword vimOption contained al ar autoread backupcopy bdir bh breakat bsdir cc charconvert cinw co compatible confirm crb cscopeverbose csverb cwh dict directory edcompatible encoding errorformat fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepprg guioptions hh hkmapp iconstring imcmdline imst indentexpr isf joinspaces kp lcs lm luadll makeprg maxmempattern mis mmt mouse mouset mzschemegcdll oft packpath pdev pi previewpopup printmbfont pvw qe regexpengine rightleft rtp sbo scrollbind secure shell shellxescape showcmd sidescroll smartcase softtabstop spelllang spo ssop stmp swapfile sxq tabstop tags tbs termguicolors textmode tildeop tl tr tty tw udf updatecount vbs viewdir vop wc wh wildignore wincolor winptydll wmw writebackup
|
syn keyword vimOption contained al ar autoindent backspace balloonevalterm bexpr bo browsedir casemap cfu cino cmp comments concealcursor cpp cscopetag cst cursorline dex dip eb emoji errorbells exrc fdm ff filetype fmr foldlevelstart formatlistpat gd gp guifontwide helplang hk ic imak imsearch incsearch insertmode isp km lazyredraw list ls makeef maxmapdepth mfd mmd modified mouses mzquantum nuw osfiletype patchmode ph preserveindent printheader pvh pyx readonly revins rop runtimepath scr sect sh shelltemp shortname si smartcase softtabstop spelllang spo ssop stmp swapfile sxq tabstop tags tbs termguicolors textmode tildeop tl tr tty tw udf updatecount vbs viewdir vop wc wh wildignore wincolor winptydll wmw writebackup
|
||||||
syn keyword vimOption contained aleph arab autowrite backupdir bdlay bin breakindent bsk ccv ci cinwords cocu complete copyindent cryptmethod csl cuc debug dictionary display ef endofline esckeys fdc fdt fileencoding fixeol foldcolumn foldminlines fp gfn gtl guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js langmap linebreak lmap lw mat maxmemtot mkspellmem mod mousef mousetime nf ofu para penc pm previewwindow printoptions pw qftf relativenumber rightleftcmd ru sbr scrollfocus sel shellcmdflag shellxquote showfulltag sidescrolloff smartindent sol spelloptions spr st sts swapsync syn tag tagstack tc termwinkey textwidth timeout tm ts ttybuiltin twk udir updatetime vdir viewoptions vsts wcm whichwrap wildignorecase window winwidth wop writedelay
|
syn keyword vimOption contained aleph arab autoread backup balloonexpr bg bomb bs cb ch cinoptions cms commentstring conceallevel cpt cscopetagorder csto cursorlineopt dg dir ed enc errorfile fcl fdn ffs fillchars fo foldmarker formatoptions gdefault grepformat guiheadroom hf hkmap icon imc imsf inde is isprint kmp lbr listchars lsp makeencoding maxmem mh mmp more mouseshape mzschemedll odev pa path pheader previewheight printmbcharset pvp pyxversion redrawtime ri rs sb scroll sections shcf shelltype showbreak sidescroll smartindent sol spelloptions spr st sts swapsync syn tag tagstack tc termwinkey textwidth timeout tm ts ttybuiltin twk udir updatetime vdir viewoptions vsts wcm whichwrap wildignorecase window winwidth wop writedelay
|
||||||
syn keyword vimOption contained allowrevins arabic autowriteall backupext belloff binary breakindentopt bt cd cin clipboard cole completefunc cot cscopepathcomp cspc cul deco diff dy efm eol et fde fen fileencodings fk foldenable foldnestmax fs gfs gtt guitablabel hid hl im imdisable imstyle indk isi key langmenu lines lnr lz matchpairs mco ml modeline mousefocus mp nrformats omnifunc paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc remap rl rubydll sc scrolljump selection shellpipe shiftround showmatch signcolumn smarttab sp spellsuggest sps sta su swb synmaxcol tagbsearch tal tcldll termwinscroll tf timeoutlen to tsl ttyfast tws ul ur ve vif vts wcr wi wildmenu winfixheight wiv wrap ws
|
syn keyword vimOption contained allowrevins arabic autoshelldir backupcopy bdir bh breakat bsdir cc charconvert cinw co compatible confirm crb cscopeverbose csverb cwh dict directory edcompatible encoding errorformat fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepprg guioptions hh hkmapp iconstring imcmdline imst indentexpr isf joinspaces kp lcs lm luadll makeprg maxmempattern mis mmt mouse mouset mzschemegcdll oft packpath pdev pi previewpopup printmbfont pvw qe regexpengine rightleft rtp sbo scrollbind secure shell shellxescape showcmd sidescrolloff smarttab sp spellsuggest sps sta su swb synmaxcol tagbsearch tal tcldll termwinscroll tf timeoutlen to tsl ttyfast tws ul ur ve vif vts wcr wi wildmenu winfixheight wiv wrap ws
|
||||||
syn keyword vimOption contained altkeymap arabicshape aw backupskip beval bk bri bufhidden cdpath cindent cm colorcolumn completeopt cp cscopeprg csprg culopt def diffexpr ea ei ep eventignore fdi fenc fileformat fkmap foldexpr foldopen fsync gfw guicursor guitabtooltip hidden hlg imactivatefunc imi inc inex isident keymap langnoremap linespace loadplugins ma matchtime mef mle modelineexpr mousehide mps nu opendevice paste pex pmbfn printencoding pt pythonhome quoteescape renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmode siso smc spc spf sr stal sua swf syntax tagcase tb tenc termwinsize tfu title toolbar tsr ttym twsl undodir ut verbose viminfo wa wd wic wildmode winfixwidth wiw wrapmargin ww
|
syn keyword vimOption contained altkeymap arabicshape autowrite backupdir bdlay bin breakindent bsk ccv ci cinwords cocu complete copyindent cryptmethod csl cuc debug dictionary display ef endofline esckeys fdc fdt fileencoding fixeol foldcolumn foldminlines fp gfn gtl guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js langmap linebreak lmap lw mat maxmemtot mkspellmem mod mousef mousetime nf ofu para penc pm previewwindow printoptions pw qftf relativenumber rightleftcmd ru sbr scrollfocus sel shellcmdflag shellxquote showfulltag signcolumn smc spc spf sr stal sua swf syntax tagcase tb tenc termwinsize tfu title toolbar tsr ttym twsl undodir ut verbose viminfo wa wd wic wildmode winfixwidth wiw wrapmargin ww
|
||||||
syn keyword vimOption contained ambiwidth ari awa balloondelay bevalterm bkc briopt buflisted cedit cink cmdheight columns completepopup cpo cscopequickfix csqf cursorbind define diffopt ead ek equalalways ex fdl fencs fileformats flp foldignore foldtext ft ghr guifont helpfile highlight hls imactivatekey iminsert include inf isk keymodel langremap lisp lpl macatsui maxcombine menc mls modelines mousem msm number operatorfunc pastetoggle pexpr popt printexpr pumheight pythonthreedll rdt report rnu ruler scf scrollopt sessionoptions shellredir shm
|
syn keyword vimOption contained ambiwidth ari autowriteall backupext belloff binary breakindentopt bt cd cin clipboard cole completefunc cot cscopepathcomp cspc cul deco diff dy efm eol et fde fen fileencodings fk foldenable foldnestmax fs gfs gtt guitablabel hid hl im imdisable imstyle indk isi key langmenu lines lnr lz matchpairs mco ml modeline mousefocus mp nrformats omnifunc paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc remap rl rubydll sc scrolljump selection shellpipe shiftround showmatch siso
|
||||||
|
|
||||||
" vimOptions: These are the turn-off setting variants {{{2
|
" vimOptions: These are the turn-off setting variants {{{2
|
||||||
syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoread noaw noballooneval nobevalterm nobk nobreakindent nocf nocindent nocopyindent nocscoperelative nocsre nocuc nocursorcolumn nodelcombine nodigraph noed noemo noeol noesckeys noexpandtab nofic nofixeol nofoldenable nogd nohid nohkmap nohls noicon noimc noimdisable noinfercase nojoinspaces nolangremap nolinebreak nolnr nolrm nomacatsui noml nomod nomodelineexpr nomodified nomousef nomousehide nonumber noopendevice nopi nopreviewwindow nopvw norelativenumber norestorescreen nori norl noro noru nosb noscb noscrollbind noscs nosft noshelltemp noshortname noshowfulltag noshowmode nosm nosmartindent nosmd nosol nosplitbelow nospr nossl nostartofline noswapfile nota notagrelative notbi notbs noterse notextmode notgst notimeout noto notr nottybuiltin notx noundofile novisualbell nowarn noweirdinvert nowfw nowildignorecase nowinfixheight nowiv nowrap nowrite nowritebackup
|
syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoindent noautowrite noawa noballoonevalterm nobin nobl nobri noci nocompatible nocp nocscopetag nocst nocul nocursorline nodg noea noedcompatible noemoji noequalalways noet noexrc nofileignorecase nofk nofs nogdefault nohidden nohkmapp nohlsearch noignorecase noimcmdline noincsearch noinsertmode nojs nolazyredraw nolisp noloadplugins nolz nomagic nomle nomodelineexpr nomodified nomousef nomousehide nonumber noopendevice nopi nopreviewwindow nopvw norelativenumber norestorescreen nori norl noro noru nosb noscb noscrollbind noscs nosft noshelltemp noshortname noshowfulltag noshowmode nosm nosmartindent nosmd nosol nosplitbelow nospr nossl nostartofline noswapfile nota notagrelative notbi notbs noterse notextmode notgst notimeout noto notr nottybuiltin notx noundofile novisualbell nowarn noweirdinvert nowfw nowildignorecase nowinfixheight nowiv nowrap nowrite nowritebackup
|
||||||
syn keyword vimOption contained noai noaltkeymap noar noarabicshape noautochdir noautowrite noawa noballoonevalterm nobin nobl nobri noci nocompatible nocp nocscopetag nocst nocul nocursorline nodg noea noedcompatible noemoji noequalalways noet noexrc nofileignorecase nofk nofs nogdefault nohidden nohkmapp nohlsearch noignorecase noimcmdline noincsearch noinsertmode nojs nolazyredraw nolisp noloadplugins nolz nomagic nomle nomodeline nomodifiable nomore nomousefocus nonu noodev nopaste nopreserveindent noprompt noreadonly noremap norevins norightleft nornu nors noruler nosc noscf noscrollfocus nosecure noshellslash noshiftround noshowcmd noshowmatch nosi nosmartcase nosmarttab nosn nospell nosplitright nosr nosta nostmp noswf notagbsearch notagstack notbidi notermbidi notextauto notf notildeop notitle notop nottimeout nottyfast noudf novb nowa nowb nowfh nowic nowildmenu nowinfixwidth nowmnu nowrapscan nowriteany nows
|
syn keyword vimOption contained noai noaltkeymap noar noarabicshape noasd noautoread noautowriteall nobackup nobeval nobinary nobomb nobuflisted nocin noconfirm nocrb nocscopeverbose nocsverb nocursorbind nodeco nodiff noeb noek noendofline noerrorbells noex nofen nofixendofline nofkmap nofsync noguipty nohk nohkp noic noim noimd noinf nois nolangnoremap nolbr nolist nolpl noma nomh nomod nomodifiable nomore nomousefocus nonu noodev nopaste nopreserveindent noprompt noreadonly noremap norevins norightleft nornu nors noruler nosc noscf noscrollfocus nosecure noshellslash noshiftround noshowcmd noshowmatch nosi nosmartcase nosmarttab nosn nospell nosplitright nosr nosta nostmp noswf notagbsearch notagstack notbidi notermbidi notextauto notf notildeop notitle notop nottimeout nottyfast noudf novb nowa nowb nowfh nowic nowildmenu nowinfixwidth nowmnu nowrapscan nowriteany nows
|
||||||
syn keyword vimOption contained noakm noanti noarab noari noautoindent noautowriteall nobackup nobeval nobinary nobomb nobuflisted nocin noconfirm nocrb nocscopeverbose nocsverb nocursorbind nodeco nodiff noeb noek noendofline noerrorbells noex nofen nofixendofline nofkmap nofsync noguipty nohk nohkp noic noim noimd noinf nois nolangnoremap nolbr nolist nolpl noma nomh
|
syn keyword vimOption contained noakm noanti noarab noari noautochdir noautoshelldir noaw noballooneval nobevalterm nobk nobreakindent nocf nocindent nocopyindent nocscoperelative nocsre nocuc nocursorcolumn nodelcombine nodigraph noed noemo noeol noesckeys noexpandtab nofic nofixeol nofoldenable nogd nohid nohkmap nohls noicon noimc noimdisable noinfercase nojoinspaces nolangremap nolinebreak nolnr nolrm nomacatsui noml nomodeline
|
||||||
|
|
||||||
" vimOptions: These are the invertible variants {{{2
|
" vimOptions: These are the invertible variants {{{2
|
||||||
syn keyword vimOption contained invacd invallowrevins invantialias invarabic invarshape invautoread invaw invballooneval invbevalterm invbk invbreakindent invcf invcindent invcopyindent invcscoperelative invcsre invcuc invcursorcolumn invdelcombine invdigraph inved invemo inveol invesckeys invexpandtab invfic invfixeol invfoldenable invgd invhid invhkmap invhls invicon invimc invimdisable invinfercase invjoinspaces invlangremap invlinebreak invlnr invlrm invmacatsui invml invmod invmodelineexpr invmodified invmousef invmousehide invnumber invopendevice invpi invpreviewwindow invpvw invrelativenumber invrestorescreen invri invrl invro invru invsb invscb invscrollbind invscs invsft invshelltemp invshortname invshowfulltag invshowmode invsm invsmartindent invsmd invsol invsplitbelow invspr invssl invstartofline invswapfile invta invtagrelative invtbi invtbs invterse invtextmode invtgst invtimeout invto invtr invttybuiltin invtx invundofile invvisualbell invwarn invweirdinvert invwfw invwildignorecase invwinfixheight invwiv invwrap invwrite invwritebackup
|
syn keyword vimOption contained invacd invallowrevins invantialias invarabic invarshape invautoindent invautowrite invawa invballoonevalterm invbin invbl invbri invci invcompatible invcp invcscopetag invcst invcul invcursorline invdg invea invedcompatible invemoji invequalalways invet invexrc invfileignorecase invfk invfs invgdefault invhidden invhkmapp invhlsearch invignorecase invimcmdline invincsearch invinsertmode invjs invlazyredraw invlisp invloadplugins invlz invmagic invmle invmodelineexpr invmodified invmousef invmousehide invnumber invopendevice invpi invpreviewwindow invpvw invrelativenumber invrestorescreen invri invrl invro invru invsb invscb invscrollbind invscs invsft invshelltemp invshortname invshowfulltag invshowmode invsm invsmartindent invsmd invsol invsplitbelow invspr invssl invstartofline invswapfile invta invtagrelative invtbi invtbs invterse invtextmode invtgst invtimeout invto invtr invttybuiltin invtx invundofile invvisualbell invwarn invweirdinvert invwfw invwildignorecase invwinfixheight invwiv invwrap invwrite invwritebackup
|
||||||
syn keyword vimOption contained invai invaltkeymap invar invarabicshape invautochdir invautowrite invawa invballoonevalterm invbin invbl invbri invci invcompatible invcp invcscopetag invcst invcul invcursorline invdg invea invedcompatible invemoji invequalalways invet invexrc invfileignorecase invfk invfs invgdefault invhidden invhkmapp invhlsearch invignorecase invimcmdline invincsearch invinsertmode invjs invlazyredraw invlisp invloadplugins invlz invmagic invmle invmodeline invmodifiable invmore invmousefocus invnu invodev invpaste invpreserveindent invprompt invreadonly invremap invrevins invrightleft invrnu invrs invruler invsc invscf invscrollfocus invsecure invshellslash invshiftround invshowcmd invshowmatch invsi invsmartcase invsmarttab invsn invspell invsplitright invsr invsta invstmp invswf invtagbsearch invtagstack invtbidi invtermbidi invtextauto invtf invtildeop invtitle invtop invttimeout invttyfast invudf invvb invwa invwb invwfh invwic invwildmenu invwinfixwidth invwmnu invwrapscan invwriteany invws
|
syn keyword vimOption contained invai invaltkeymap invar invarabicshape invasd invautoread invautowriteall invbackup invbeval invbinary invbomb invbuflisted invcin invconfirm invcrb invcscopeverbose invcsverb invcursorbind invdeco invdiff inveb invek invendofline inverrorbells invex invfen invfixendofline invfkmap invfsync invguipty invhk invhkp invic invim invimd invinf invis invlangnoremap invlbr invlist invlpl invma invmh invmod invmodifiable invmore invmousefocus invnu invodev invpaste invpreserveindent invprompt invreadonly invremap invrevins invrightleft invrnu invrs invruler invsc invscf invscrollfocus invsecure invshellslash invshiftround invshowcmd invshowmatch invsi invsmartcase invsmarttab invsn invspell invsplitright invsr invsta invstmp invswf invtagbsearch invtagstack invtbidi invtermbidi invtextauto invtf invtildeop invtitle invtop invttimeout invttyfast invudf invvb invwa invwb invwfh invwic invwildmenu invwinfixwidth invwmnu invwrapscan invwriteany invws
|
||||||
syn keyword vimOption contained invakm invanti invarab invari invautoindent invautowriteall invbackup invbeval invbinary invbomb invbuflisted invcin invconfirm invcrb invcscopeverbose invcsverb invcursorbind invdeco invdiff inveb invek invendofline inverrorbells invex invfen invfixendofline invfkmap invfsync invguipty invhk invhkp invic invim invimd invinf invis invlangnoremap invlbr invlist invlpl invma invmh
|
syn keyword vimOption contained invakm invanti invarab invari invautochdir invautoshelldir invaw invballooneval invbevalterm invbk invbreakindent invcf invcindent invcopyindent invcscoperelative invcsre invcuc invcursorcolumn invdelcombine invdigraph inved invemo inveol invesckeys invexpandtab invfic invfixeol invfoldenable invgd invhid invhkmap invhls invicon invimc invimdisable invinfercase invjoinspaces invlangremap invlinebreak invlnr invlrm invmacatsui invml invmodeline
|
||||||
|
|
||||||
" termcap codes (which can also be set) {{{2
|
" termcap codes (which can also be set) {{{2
|
||||||
syn keyword vimOption contained t_8b t_8u t_AF t_AL t_bc t_BE t_ce t_cl t_Co t_Cs t_CV t_db t_DL t_EI t_F2 t_F4 t_F6 t_F8 t_fs t_IE t_k1 t_k2 t_K3 t_K4 t_K5 t_K6 t_K7 t_K8 t_K9 t_kb t_KB t_kd t_KD t_KE t_KF t_KG t_kh t_KH t_kI t_KI t_KJ t_KK t_kl t_KL t_kN t_kP t_kr t_ks t_ku t_le t_mb t_md t_me t_mr t_ms t_nd t_op t_PE t_PS t_RB t_RC t_RF t_Ri t_RI t_RS t_RT t_RV t_Sb t_SC t_se t_Sf t_SH t_Si t_SI t_so t_sr t_SR t_ST t_te t_Te t_TE t_ti t_TI t_ts t_Ts t_u7 t_ue t_us t_ut t_vb t_ve t_vi t_vs t_VS t_WP t_WS t_xn t_xs t_ZH t_ZR
|
syn keyword vimOption contained t_8b t_8u t_AF t_AL t_bc t_BE t_ce t_cl t_Co t_Cs t_CV t_db t_DL t_EI t_F2 t_F4 t_F6 t_F8 t_fd t_fs t_IE t_k1 t_k2 t_K3 t_K4 t_K5 t_K6 t_K7 t_K8 t_K9 t_kb t_KB t_kd t_KD t_KE t_KG t_kh t_KH t_kI t_KI t_KJ t_KK t_kl t_KL t_kN t_kP t_kr t_ks t_ku t_le t_mb t_md t_me t_mr t_ms t_nd t_op t_PE t_PS t_RB t_RC t_RF t_Ri t_RI t_RS t_RT t_RV t_Sb t_SC t_se t_Sf t_SH t_Si t_SI t_so t_sr t_SR t_ST t_te t_Te t_TE t_ti t_TI t_ts t_Ts t_u7 t_ue t_us t_ut t_vb t_ve t_vi t_vs t_VS t_WP t_WS t_xn t_xs t_ZH t_ZR
|
||||||
syn keyword vimOption contained t_8f t_AB t_al t_AU t_BD t_cd t_Ce t_cm t_cs t_CS t_da t_dl t_EC t_F1 t_F3 t_F5 t_F7 t_F9 t_GP t_IS t_K1 t_k3 t_k4 t_k5 t_k6 t_k7 t_k8 t_k9 t_KA t_kB t_KC t_kD t_ke
|
syn keyword vimOption contained t_8f t_AB t_al t_AU t_BD t_cd t_Ce t_cm t_cs t_CS t_da t_dl t_EC t_F1 t_F3 t_F5 t_F7 t_F9 t_fe t_GP t_IS t_K1 t_k3 t_k4 t_k5 t_k6 t_k7 t_k8 t_k9 t_KA t_kB t_KC t_kD t_ke t_KF
|
||||||
syn match vimOption contained "t_%1"
|
syn match vimOption contained "t_%1"
|
||||||
syn match vimOption contained "t_#2"
|
syn match vimOption contained "t_#2"
|
||||||
syn match vimOption contained "t_#4"
|
syn match vimOption contained "t_#4"
|
||||||
@@ -78,12 +78,12 @@ syn match vimHLGroup contained "Conceal"
|
|||||||
syn case match
|
syn case match
|
||||||
|
|
||||||
" Function Names {{{2
|
" Function Names {{{2
|
||||||
syn keyword vimFuncName contained abs argc assert_beeps assert_false assert_report balloon_show bufexists bufnr byteidxcomp charclass ch_evalexpr ch_log ch_readraw cindent complete_check cosh deepcopy diff_hlID eval exists feedkeys findfile fnameescape foldtext garbagecollect getchangelist getcmdpos getcwd getftime getloclist getpos gettabinfo getwininfo glob haslocaldir histnr indent inputrestore invert items job_status json_decode libcallnr listener_add log10 mapnew matcharg matchlist min nr2char popup_beval popup_filter_menu popup_getpos popup_move pow prompt_setinterrupt prop_list prop_type_get pyeval readdirex reltime remote_peek rename rubyeval screenpos searchdecl serverlist setcmdpos setmatches settabwinvar shiftwidth sign_place simplify soundfold spellsuggest str2float strdisplaywidth strlen strwidth synconcealed system tagfiles term_dumpdiff term_getattr term_getsize term_list term_setkill test_alloc_fail test_getvalue test_null_function test_option_not_set test_settime timer_pause toupper undofile visualmode win_execute winheight winnr win_splitmove
|
syn keyword vimFuncName contained abs argc assert_equal assert_match atan browsedir bufname byteidxcomp charcol ch_evalexpr ch_logfile ch_sendraw complete cos deepcopy echoraw eventhandler exp feedkeys findfile fmod foldlevel funcref getbufline getcharpos getcmdwintype getenv getftype getmarklist getqflist gettabvar getwinpos glob2regpat hasmapto hlexists index inputsave isdirectory job_getchannel job_stop json_encode line listener_flush luaeval mapset matchdelete matchstr mkdir or popup_clear popup_filter_yesno popup_hide popup_notification prevnonblank prompt_setprompt prop_remove prop_type_list pyxeval readdirex reltime remote_peek rename rubyeval screenpos searchdecl serverlist setcharsearch setline setreg sha256 sign_getplaced sign_unplace slice sound_playfile sqrt str2nr strftime strpart submatch synID systemlist taglist term_dumpload term_getcursor term_getstatus term_scrape term_setrestore test_autochdir test_ignore_error test_null_job test_override test_srand_seed timer_start tr undofile visualmode win_execute winheight winnr win_splitmove
|
||||||
syn keyword vimFuncName contained acos argidx assert_equal assert_inrange assert_true balloon_split buflisted bufwinid call ch_canread ch_evalraw ch_logfile ch_sendexpr clearmatches complete_info count delete echoraw eventhandler exp filereadable flatten fnamemodify foldtextresult get getchar getcmdtype getenv getftype getmarklist getqflist gettabvar getwinpos glob2regpat hasmapto hlexists index inputsave isdirectory job_getchannel job_stop json_encode line listener_flush luaeval mapset matchdelete matchstr mkdir or popup_clear popup_filter_yesno popup_hide popup_notification prevnonblank prompt_setprompt prop_remove prop_type_list pyxeval readfile reltimefloat remote_read repeat screenattr screenrow searchpair setbufline setenv setpos settagstack sign_define sign_placelist sin sound_playevent split str2list strftime strpart submatch synID systemlist taglist term_dumpload term_getcursor term_getstatus term_scrape term_setrestore test_autochdir test_ignore_error test_null_job test_override test_srand_seed timer_start tr undotree wildmenumode win_findbuf win_id2tabwin winrestcmd winwidth
|
syn keyword vimFuncName contained acos argidx assert_equalfile assert_nobeep atan2 bufadd bufnr call charidx ch_evalraw ch_open ch_setoptions complete_add cosh delete empty executable expand filereadable flatten fnameescape foldtext function getbufvar getcharsearch getcompletion getfontname getimstatus getmatches getreg gettabwinvar getwinposx globpath histadd hlID input inputsecret isinf job_info join keys line2byte listener_remove map match matchend matchstrpos mode pathshorten popup_close popup_findinfo popup_list popup_setoptions printf prop_add prop_type_add pum_getpos rand readfile reltimefloat remote_read repeat screenattr screenrow searchpair setbufline setcmdpos setloclist settabvar shellescape sign_jump sign_unplacelist sort sound_stop srand strcharlen strgetchar strptime substitute synIDattr tabpagebuflist tan term_dumpwrite term_getjob term_gettitle term_sendkeys term_setsize test_feedinput test_null_blob test_null_list test_refcount test_unknown timer_stop trim undotree wildmenumode win_findbuf win_id2tabwin winrestcmd winwidth
|
||||||
syn keyword vimFuncName contained add arglistid assert_equalfile assert_match atan browse bufload bufwinnr ceil ch_close ch_getbufnr ch_open ch_sendraw col confirm cscope_connection deletebufline empty executable expand filewritable float2nr foldclosed foreground getbufinfo getcharmod getcmdwintype getfontname getimstatus getmatches getreg gettabwinvar getwinposx globpath histadd hlID input inputsecret isinf job_info join keys line2byte listener_remove map match matchend matchstrpos mode pathshorten popup_close popup_findinfo popup_list popup_setoptions printf prop_add prop_type_add pum_getpos rand reduce reltimestr remote_send resolve screenchar screenstring searchpairpos setbufvar setfperm setqflist setwinvar sign_getdefined sign_undefine sinh sound_playfile sqrt str2nr strgetchar strptime substitute synIDattr tabpagebuflist tan term_dumpwrite term_getjob term_gettitle term_sendkeys term_setsize test_feedinput test_null_blob test_null_list test_refcount test_unknown timer_stop trim uniq winbufnr win_getid win_id2win winrestview wordcount
|
syn keyword vimFuncName contained add arglistid assert_exception assert_notequal balloon_gettext bufexists bufwinid ceil ch_canread ch_getbufnr ch_read ch_status complete_check count deletebufline environ execute expandcmd filewritable flattennew fnamemodify foldtextresult garbagecollect getchangelist getcmdline getcurpos getfperm getjumplist getmousepos getreginfo gettagstack getwinposy has histdel hostname inputdialog insert islocked job_setoptions js_decode len lispindent localtime maparg matchadd matchfuzzy max mzeval perleval popup_create popup_findpreview popup_locate popup_settext prompt_getprompt prop_clear prop_type_change pumvisible range reduce reltimestr remote_send resolve screenchar screenstring searchpairpos setbufvar setcursorcharpos setmatches settabwinvar shiftwidth sign_place simplify sound_clear spellbadword state strcharpart stridx strridx swapinfo synIDtrans tabpagenr tanh term_getaltscreen term_getline term_gettty term_setansicolors term_start test_garbagecollect_now test_null_channel test_null_partial test_scrollbar test_void timer_stopall trunc uniq winbufnr win_getid win_id2win winrestview wordcount
|
||||||
syn keyword vimFuncName contained and argv assert_exception assert_notequal atan2 browsedir bufloaded byte2line changenr ch_close_in ch_getjob ch_read ch_setoptions complete copy cursor did_filetype environ execute expandcmd filter floor foldclosedend funcref getbufline getcharsearch getcompletion getfperm getjumplist getmousepos getreginfo gettagstack getwinposy has histdel hostname inputdialog insert islocked job_setoptions js_decode len lispindent localtime maparg matchadd matchfuzzy max mzeval perleval popup_create popup_findpreview popup_locate popup_settext prompt_getprompt prop_clear prop_type_change pumvisible range reg_executing remote_expr remote_startserver reverse screenchars search searchpos setcellwidths setline setreg sha256 sign_getplaced sign_unplace sort sound_stop srand strcharpart stridx strridx swapinfo synIDtrans tabpagenr tanh term_getaltscreen term_getline term_gettty term_setansicolors term_start test_garbagecollect_now test_null_channel test_null_partial test_scrollbar test_void timer_stopall trunc values wincol win_gettype winlayout winsaveview writefile
|
syn keyword vimFuncName contained and argv assert_fails assert_notmatch balloon_show buflisted bufwinnr changenr ch_close ch_getjob ch_readblob cindent complete_info cscope_connection did_filetype escape exepath extend filter float2nr foldclosed foreground get getchar getcmdpos getcursorcharpos getfsize getline getpid getregtype gettext getwinvar has_key histget iconv inputlist interrupt isnan job_start js_encode libcall list2str log mapcheck matchaddpos matchfuzzypos menu_info nextnonblank popup_atcursor popup_dialog popup_getoptions popup_menu popup_show prompt_setcallback prop_find prop_type_delete py3eval readblob reg_executing remote_expr remote_startserver reverse screenchars search searchpos setcellwidths setenv setpos settagstack sign_define sign_placelist sin soundfold spellsuggest str2float strchars string strtrans swapname synstack tabpagewinnr tempname term_getansicolors term_getscrolled terminalprops term_setapi term_wait test_garbagecollect_soon test_null_dict test_null_string test_setmouse timer_info tolower type values wincol win_gettype winlayout winsaveview writefile
|
||||||
syn keyword vimFuncName contained append asin assert_fails assert_notmatch balloon_gettext bufadd bufname byteidx char2nr chdir ch_info ch_readblob ch_status complete_add cos debugbreak diff_filler escape exepath extend finddir fmod foldlevel function getbufvar getcmdline getcurpos getfsize getline getpid getregtype gettext getwinvar has_key histget iconv inputlist interrupt isnan job_start js_encode libcall list2str log mapcheck matchaddpos matchfuzzypos menu_info nextnonblank popup_atcursor popup_dialog popup_getoptions popup_menu popup_show prompt_setcallback prop_find prop_type_delete py3eval readdir reg_recording remote_foreground remove round screencol searchcount server2client setcharsearch setloclist settabvar shellescape sign_jump sign_unplacelist sound_clear spellbadword state strchars string strtrans swapname synstack tabpagewinnr tempname term_getansicolors term_getscrolled terminalprops term_setapi term_wait test_garbagecollect_soon test_null_dict test_null_string test_setmouse timer_info tolower type virtcol windowsversion win_gotoid winline win_screenpos xor
|
syn keyword vimFuncName contained append asin assert_false assert_report balloon_split bufload byte2line char2nr ch_close_in ch_info ch_readraw clearmatches confirm cursor diff_filler eval exists extendnew finddir floor foldclosedend fullcommand getbufinfo getcharmod getcmdtype getcwd getftime getloclist getpos gettabinfo getwininfo glob haslocaldir histnr indent inputrestore invert items job_status json_decode libcallnr listener_add log10 mapnew matcharg matchlist min nr2char popup_beval popup_filter_menu popup_getpos popup_move pow prompt_setinterrupt prop_list prop_type_get pyeval readdir reg_recording remote_foreground remove round screencol searchcount server2client setcharpos setfperm setqflist setwinvar sign_getdefined sign_undefine sinh sound_playevent split str2list strdisplaywidth strlen strwidth synconcealed system tagfiles term_dumpdiff term_getattr term_getsize term_list term_setkill test_alloc_fail test_getvalue test_null_function test_option_not_set test_settime timer_pause toupper typename virtcol windowsversion win_gotoid winline win_screenpos xor
|
||||||
syn keyword vimFuncName contained appendbufline
|
syn keyword vimFuncName contained appendbufline assert_beeps assert_inrange assert_true browse bufloaded byteidx charclass chdir ch_log ch_sendexpr col copy debugbreak diff_hlID
|
||||||
|
|
||||||
"--- syntax here and above generated by mkvimvim ---
|
"--- syntax here and above generated by mkvimvim ---
|
||||||
" Special Vim Highlighting (not automatic) {{{1
|
" Special Vim Highlighting (not automatic) {{{1
|
||||||
@@ -176,7 +176,7 @@ syn match vimNumber '\<0[xX]\x\+' skipwhite nextgroup=vimGlobal,vimSubst
|
|||||||
syn match vimNumber '\%(^\|\A\)\zs#\x\{6}' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
syn match vimNumber '\%(^\|\A\)\zs#\x\{6}' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
||||||
syn match vimNumber '\<0[zZ][a-zA-Z0-9.]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
syn match vimNumber '\<0[zZ][a-zA-Z0-9.]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
||||||
syn match vimNumber '0[0-7]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
syn match vimNumber '0[0-7]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
||||||
syn match vimNumber '0b[01]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
syn match vimNumber '0[bB][01]\+' skipwhite nextgroup=vimGlobal,vimSubst,vimCommand,vimComment,vim9Comment
|
||||||
|
|
||||||
" All vimCommands are contained by vimIsCommand. {{{2
|
" All vimCommands are contained by vimIsCommand. {{{2
|
||||||
syn match vimCmdSep "[:|]\+" skipwhite nextgroup=vimAddress,vimAutoCmd,vimEcho,vimIsCommand,vimExtCmd,vimFilter,vimLet,vimMap,vimMark,vimSet,vimSyntax,vimUserCmd
|
syn match vimCmdSep "[:|]\+" skipwhite nextgroup=vimAddress,vimAutoCmd,vimEcho,vimIsCommand,vimExtCmd,vimFilter,vimLet,vimMap,vimMark,vimSet,vimSyntax,vimUserCmd
|
||||||
@@ -384,8 +384,8 @@ syn match vimCmplxRepeat '[^a-zA-Z_/\\()]q[0-9a-zA-Z"]\>'lc=1
|
|||||||
syn match vimCmplxRepeat '@[0-9a-z".=@:]\ze\($\|[^a-zA-Z]\>\)'
|
syn match vimCmplxRepeat '@[0-9a-z".=@:]\ze\($\|[^a-zA-Z]\>\)'
|
||||||
|
|
||||||
" Set command and associated set-options (vimOptions) with comment {{{2
|
" Set command and associated set-options (vimOptions) with comment {{{2
|
||||||
syn region vimSet matchgroup=vimCommand start="\<\%(setl\%[ocal]\|setg\%[lobal]\|se\%[t]\)\>" skip="\%(\\\\\)*\\." end="$" end="|" matchgroup=vimNotation end="<[cC][rR]>" keepend oneline contains=vimSetEqual,vimOption,vimErrSetting,vimComment,vim9Comment,vimSetString,vimSetMod
|
syn region vimSet matchgroup=vimCommand start="\<\%(setl\%[ocal]\|setg\%[lobal]\|se\%[t]\)\>" skip="\%(\\\\\)*\\." end="$" end="|" matchgroup=vimNotation end="<[cC][rR]>" oneline keepend contains=vimSetEqual,vimOption,vimErrSetting,vimComment,vim9Comment,vimSetString,vimSetMod
|
||||||
syn region vimSetEqual contained start="[=:]\|[-+^]=" skip="\\\\\|\\\s" end="[| \t]\|$"me=e-1 contains=vimCtrlChar,vimSetSep,vimNotation,vimEnvvar oneline
|
syn region vimSetEqual contained start="[=:]\|[-+^]=" skip="\\\\\|\\\s" end="[| \t]"me=e-1 end="$" contains=vimCtrlChar,vimSetSep,vimNotation,vimEnvvar
|
||||||
syn region vimSetString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+ contains=vimCtrlChar
|
syn region vimSetString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+ contains=vimCtrlChar
|
||||||
syn match vimSetSep contained "[,:]"
|
syn match vimSetSep contained "[,:]"
|
||||||
syn match vimSetMod contained "&vim\=\|[!&?<]\|all&"
|
syn match vimSetMod contained "&vim\=\|[!&?<]\|all&"
|
||||||
@@ -462,7 +462,8 @@ syn match vimFunc "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA
|
|||||||
syn match vimUserFunc contained "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\|\<\u[a-zA-Z0-9.]*\>\|\<if\>" contains=vimNotation
|
syn match vimUserFunc contained "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\|\<\u[a-zA-Z0-9.]*\>\|\<if\>" contains=vimNotation
|
||||||
|
|
||||||
" User Command Highlighting: {{{2
|
" User Command Highlighting: {{{2
|
||||||
syn match vimUsrCmd '^\s*\zs\u\w*.*$'
|
"syn match vimUsrCmd '^\s*\zs\u\w*.*$'
|
||||||
|
syn match vimUsrCmd '^\s*\zs\u\%(\w*\)\@>\%([(#[]\|\s\+\%([-+*/%]\=\|\.\.\)=\)\@!'
|
||||||
|
|
||||||
" Errors And Warnings: {{{2
|
" Errors And Warnings: {{{2
|
||||||
" ====================
|
" ====================
|
||||||
@@ -600,7 +601,7 @@ syn case match
|
|||||||
syn match vimHiAttribList contained "\i\+" contains=vimHiAttrib
|
syn match vimHiAttribList contained "\i\+" contains=vimHiAttrib
|
||||||
syn match vimHiAttribList contained "\i\+,"he=e-1 contains=vimHiAttrib nextgroup=vimHiAttribList
|
syn match vimHiAttribList contained "\i\+,"he=e-1 contains=vimHiAttrib nextgroup=vimHiAttribList
|
||||||
syn case ignore
|
syn case ignore
|
||||||
syn keyword vimHiCtermColor contained black blue brown cyan darkblue darkcyan darkgray darkgreen darkgrey darkmagenta darkred darkyellow gray green grey lightblue lightcyan lightgray lightgreen lightgrey lightmagenta lightred magenta red white yellow
|
syn keyword vimHiCtermColor contained black blue brown cyan darkblue darkcyan darkgray darkgreen darkgrey darkmagenta darkred darkyellow gray green grey grey40 grey50 grey90 lightblue lightcyan lightgray lightgreen lightgrey lightmagenta lightred lightyellow magenta red seagreen white yellow
|
||||||
syn match vimHiCtermColor contained "\<color\d\{1,3}\>"
|
syn match vimHiCtermColor contained "\<color\d\{1,3}\>"
|
||||||
|
|
||||||
syn case match
|
syn case match
|
||||||
|
|||||||
@@ -881,11 +881,11 @@ NOTE: If you want to ignore case for just one search command, use \c
|
|||||||
** Enable Vim features **
|
** Enable Vim features **
|
||||||
|
|
||||||
Vim has many more features than Vi, but most of them are disabled by
|
Vim has many more features than Vi, but most of them are disabled by
|
||||||
default. To start using more features you have to create a "vimrc" file.
|
default. To start using more features you should create a "vimrc" file.
|
||||||
|
|
||||||
1. Start editing the "vimrc" file. This depends on your system:
|
1. Start editing the "vimrc" file. This depends on your system:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for Windows
|
:e ~/_vimrc for Windows
|
||||||
|
|
||||||
2. Now read the example "vimrc" file contents:
|
2. Now read the example "vimrc" file contents:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Anm
|
|||||||
|
|
||||||
1. L<>g ayn "vimrc"-Dautticht an; d<>s geet ie naach Betribsgeb<65>u verschidn:
|
1. L<>g ayn "vimrc"-Dautticht an; d<>s geet ie naach Betribsgeb<65>u verschidn:
|
||||||
:e ~/.vimrc f<>r s Unix
|
:e ~/.vimrc f<>r s Unix
|
||||||
:e $VIM/_vimrc bei n Fenstl
|
:e ~/_vimrc bei n Fenstl
|
||||||
|
|
||||||
2. Ietz lis <20>nn Inhalt von dyr Beispil-"vimrc"-Dautticht ein:
|
2. Ietz lis <20>nn Inhalt von dyr Beispil-"vimrc"-Dautticht ein:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Anmörkung: Sollt klain/grooß bei ayner ainzignen Suech wurst sein, benutz \
|
|||||||
|
|
||||||
1. Lög ayn "vimrc"-Dautticht an; dös geet ie naach Betribsgebäu verschidn:
|
1. Lög ayn "vimrc"-Dautticht an; dös geet ie naach Betribsgebäu verschidn:
|
||||||
:e ~/.vimrc für s Unix
|
:e ~/.vimrc für s Unix
|
||||||
:e $VIM/_vimrc bei n Fenstl
|
:e ~/_vimrc bei n Fenstl
|
||||||
|
|
||||||
2. Ietz lis önn Inhalt von dyr Beispil-"vimrc"-Dautticht ein:
|
2. Ietz lis önn Inhalt von dyr Beispil-"vimrc"-Dautticht ein:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -945,7 +945,7 @@
|
|||||||
|
|
||||||
1. Създайте вашия файл "vimrc". В зависимост от вашата операционна система:
|
1. Създайте вашия файл "vimrc". В зависимост от вашата операционна система:
|
||||||
:e ~/.vimrc за всеки вид Unix
|
:e ~/.vimrc за всеки вид Unix
|
||||||
:e $VIM/_vimrc за MS-Windows
|
:e ~/_vimrc за MS-Windows
|
||||||
|
|
||||||
2. Сега прочетете съдържанието на примерния файл "vimrc":
|
2. Сега прочетете съдържанието на примерния файл "vimrc":
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -768,7 +768,7 @@ Nota: Aix
|
|||||||
|
|
||||||
1. Comenceu a editar el fitxer "vimrc", depenent del sistema
|
1. Comenceu a editar el fitxer "vimrc", depenent del sistema
|
||||||
:edit ~/.vimrc per Unix
|
:edit ~/.vimrc per Unix
|
||||||
:edit $VIM/_vimrc per MS-Windows
|
:edit ~/_vimrc per MS-Windows
|
||||||
|
|
||||||
2. Llegiu el fitxer "vimrc" d'exemple:
|
2. Llegiu el fitxer "vimrc" d'exemple:
|
||||||
|
|
||||||
|
|||||||
@@ -768,7 +768,7 @@ Nota: Així s'evita haver de prémer i , l'últim caràcter, el text a inserir,
|
|||||||
|
|
||||||
1. Comenceu a editar el fitxer "vimrc", depenent del sistema
|
1. Comenceu a editar el fitxer "vimrc", depenent del sistema
|
||||||
:edit ~/.vimrc per Unix
|
:edit ~/.vimrc per Unix
|
||||||
:edit $VIM/_vimrc per MS-Windows
|
:edit ~/_vimrc per MS-Windows
|
||||||
|
|
||||||
2. Llegiu el fitxer "vimrc" d'exemple:
|
2. Llegiu el fitxer "vimrc" d'exemple:
|
||||||
|
|
||||||
|
|||||||
@@ -766,7 +766,7 @@ Pozn
|
|||||||
|
|
||||||
1. Za<EFBFBD>ni upravovat soubor "vimrc". Toto z<EFBFBD>vis<EFBFBD> na pou<EFBFBD>it<EFBFBD>m syst<EFBFBD>mu:
|
1. Za<EFBFBD>ni upravovat soubor "vimrc". Toto z<EFBFBD>vis<EFBFBD> na pou<EFBFBD>it<EFBFBD>m syst<EFBFBD>mu:
|
||||||
:edit ~/.vimrc pro Unix
|
:edit ~/.vimrc pro Unix
|
||||||
:edit $VIM/_vimrc pro MS-Windows
|
:edit ~/_vimrc pro MS-Windows
|
||||||
|
|
||||||
2. Nyn<EFBFBD> <EFBFBD>ti uk<EFBFBD>zkov<EFBFBD> "vimrc" soubor:
|
2. Nyn<EFBFBD> <EFBFBD>ti uk<EFBFBD>zkov<EFBFBD> "vimrc" soubor:
|
||||||
|
|
||||||
|
|||||||
@@ -766,7 +766,7 @@ Pozn
|
|||||||
|
|
||||||
1. Za<5A>ni upravovat soubor "vimrc". Toto z<>vis<69> na pou<6F>it<69>m syst<73>mu:
|
1. Za<5A>ni upravovat soubor "vimrc". Toto z<>vis<69> na pou<6F>it<69>m syst<73>mu:
|
||||||
:edit ~/.vimrc pro Unix
|
:edit ~/.vimrc pro Unix
|
||||||
:edit $VIM/_vimrc pro MS-Windows
|
:edit ~/_vimrc pro MS-Windows
|
||||||
|
|
||||||
2. Nyn<79> <20>ti uk<75>zkov<6F> "vimrc" soubor:
|
2. Nyn<79> <20>ti uk<75>zkov<6F> "vimrc" soubor:
|
||||||
|
|
||||||
|
|||||||
@@ -766,7 +766,7 @@ Poznámka: Tímto se vyhneš stisknutí i , posledního znaku, textu na vlože
|
|||||||
|
|
||||||
1. Začni upravovat soubor "vimrc". Toto závisí na použitém systému:
|
1. Začni upravovat soubor "vimrc". Toto závisí na použitém systému:
|
||||||
:edit ~/.vimrc pro Unix
|
:edit ~/.vimrc pro Unix
|
||||||
:edit $VIM/_vimrc pro MS-Windows
|
:edit ~/_vimrc pro MS-Windows
|
||||||
|
|
||||||
2. Nyní čti ukázkový "vimrc" soubor:
|
2. Nyní čti ukázkový "vimrc" soubor:
|
||||||
|
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ BEM
|
|||||||
|
|
||||||
1. Begynd at redigere "vimrc"-filen. Det afh<66>nger af dit system:
|
1. Begynd at redigere "vimrc"-filen. Det afh<66>nger af dit system:
|
||||||
:e ~/.vimrc i Unix
|
:e ~/.vimrc i Unix
|
||||||
:e $VIM/_vimrc i MS-Windows
|
:e ~/_vimrc i MS-Windows
|
||||||
|
|
||||||
2. L<>s nu indholdet af eksempel "vimrc"-filen:
|
2. L<>s nu indholdet af eksempel "vimrc"-filen:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ BEMÆRK: Hvis du vil ignorere case for en enkelt søg-kommando, så brug \c
|
|||||||
|
|
||||||
1. Begynd at redigere "vimrc"-filen. Det afhænger af dit system:
|
1. Begynd at redigere "vimrc"-filen. Det afhænger af dit system:
|
||||||
:e ~/.vimrc i Unix
|
:e ~/.vimrc i Unix
|
||||||
:e $VIM/_vimrc i MS-Windows
|
:e ~/_vimrc i MS-Windows
|
||||||
|
|
||||||
2. Læs nu indholdet af eksempel "vimrc"-filen:
|
2. Læs nu indholdet af eksempel "vimrc"-filen:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -886,7 +886,7 @@ Anmerkung: Um die Schreibweise f
|
|||||||
|
|
||||||
1. Starte das Editieren der "vimrc"-Datei, abh<62>ngig von deinem System:
|
1. Starte das Editieren der "vimrc"-Datei, abh<62>ngig von deinem System:
|
||||||
:e ~/.vimrc f<>r Unix
|
:e ~/.vimrc f<>r Unix
|
||||||
:e $VIM/_vimrc f<>r MS-Windows
|
:e ~/_vimrc f<>r MS-Windows
|
||||||
|
|
||||||
2. Nun lies den Inhalt der Beispiel-"vimrc"-Datei ein:
|
2. Nun lies den Inhalt der Beispiel-"vimrc"-Datei ein:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -886,7 +886,7 @@ Anmerkung: Um die Schreibweise für eine einzige Suche zu ignorieren, benutze \c
|
|||||||
|
|
||||||
1. Starte das Editieren der "vimrc"-Datei, abhängig von deinem System:
|
1. Starte das Editieren der "vimrc"-Datei, abhängig von deinem System:
|
||||||
:e ~/.vimrc für Unix
|
:e ~/.vimrc für Unix
|
||||||
:e $VIM/_vimrc für MS-Windows
|
:e ~/_vimrc für MS-Windows
|
||||||
|
|
||||||
2. Nun lies den Inhalt der Beispiel-"vimrc"-Datei ein:
|
2. Nun lies den Inhalt der Beispiel-"vimrc"-Datei ein:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -769,7 +769,7 @@
|
|||||||
|
|
||||||
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc", <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>:
|
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc", <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>:
|
||||||
:edit ~/.vimrc <20><><EFBFBD> Unix
|
:edit ~/.vimrc <20><><EFBFBD> Unix
|
||||||
:edit $VIM/_vimrc <20><><EFBFBD> MS-Windows
|
:edit ~/_vimrc <20><><EFBFBD> MS-Windows
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc":
|
2. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -769,7 +769,7 @@
|
|||||||
|
|
||||||
1. <20><><EFBFBD>婫<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>餦<EFBFBD><E9A4A6><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc", <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20>穫<EFBFBD><E7A9AB><EFBFBD> <20><><EFBFBD>:
|
1. <20><><EFBFBD>婫<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>餦<EFBFBD><E9A4A6><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc", <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20>穫<EFBFBD><E7A9AB><EFBFBD> <20><><EFBFBD>:
|
||||||
:edit ~/.vimrc <20><><EFBFBD> Unix
|
:edit ~/.vimrc <20><><EFBFBD> Unix
|
||||||
:edit $VIM/_vimrc <20><><EFBFBD> MS-Windows
|
:edit ~/_vimrc <20><><EFBFBD> MS-Windows
|
||||||
|
|
||||||
2. <20>騘 <20><><EFBFBD>᚜<EFBFBD><E19A9C> <20><> <20><>壜<EFBFBD><E5A39C> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嚣<EFBFBD><E59AA3><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc":
|
2. <20>騘 <20><><EFBFBD>᚜<EFBFBD><E19A9C> <20><> <20><>壜<EFBFBD><E5A39C> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嚣<EFBFBD><E59AA3><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -769,7 +769,7 @@
|
|||||||
|
|
||||||
1. Αρχίστε διορθώνοντας το αρχείο "vimrc", αυτό εξαρτάται από το σύστημά σας:
|
1. Αρχίστε διορθώνοντας το αρχείο "vimrc", αυτό εξαρτάται από το σύστημά σας:
|
||||||
:edit ~/.vimrc για Unix
|
:edit ~/.vimrc για Unix
|
||||||
:edit $VIM/_vimrc για MS-Windows
|
:edit ~/_vimrc για MS-Windows
|
||||||
|
|
||||||
2. Τώρα εισάγετε το κείμενο παραδείγματος για αρχείο "vimrc":
|
2. Τώρα εισάγετε το κείμενο παραδείγματος για αρχείο "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -914,7 +914,7 @@ RIMARKO: Se vi deziras ignori usklecon por nur unu ser
|
|||||||
|
|
||||||
1. Ekredaktu la dosieron "vimrc". Tio dependas de via sistemo:
|
1. Ekredaktu la dosieron "vimrc". Tio dependas de via sistemo:
|
||||||
:e ~/.vimrc por Unikso
|
:e ~/.vimrc por Unikso
|
||||||
:e $VIM/_vimrc por Vindozo
|
:e ~/_vimrc por Vindozo
|
||||||
|
|
||||||
2. Nun legu la enhavon de la ekzempla "vimrc"
|
2. Nun legu la enhavon de la ekzempla "vimrc"
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -914,7 +914,7 @@ RIMARKO: Se vi deziras ignori usklecon por nur unu serĉa komando, uzu \c
|
|||||||
|
|
||||||
1. Ekredaktu la dosieron "vimrc". Tio dependas de via sistemo:
|
1. Ekredaktu la dosieron "vimrc". Tio dependas de via sistemo:
|
||||||
:e ~/.vimrc por Unikso
|
:e ~/.vimrc por Unikso
|
||||||
:e $VIM/_vimrc por Vindozo
|
:e ~/_vimrc por Vindozo
|
||||||
|
|
||||||
2. Nun legu la enhavon de la ekzempla "vimrc"
|
2. Nun legu la enhavon de la ekzempla "vimrc"
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -950,7 +950,7 @@ NOTE : Si vous voulez ignorer la casse uniquement pour une recherche, utilisez
|
|||||||
|
|
||||||
1. Commencez <20> <20>diter le fichier "vimrc". Ceci d<>pend de votre syst<73>me :
|
1. Commencez <20> <20>diter le fichier "vimrc". Ceci d<>pend de votre syst<73>me :
|
||||||
:edit ~/.vimrc pour Unix
|
:edit ~/.vimrc pour Unix
|
||||||
:edit $VIM/_vimrc pour Windows
|
:edit ~/_vimrc pour Windows
|
||||||
|
|
||||||
2. Lisez maintenant le fichier d'exemple "vimrc" :
|
2. Lisez maintenant le fichier d'exemple "vimrc" :
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -950,7 +950,7 @@ NOTE : Si vous voulez ignorer la casse uniquement pour une recherche, utilisez
|
|||||||
|
|
||||||
1. Commencez à éditer le fichier "vimrc". Ceci dépend de votre système :
|
1. Commencez à éditer le fichier "vimrc". Ceci dépend de votre système :
|
||||||
:edit ~/.vimrc pour Unix
|
:edit ~/.vimrc pour Unix
|
||||||
:edit $VIM/_vimrc pour Windows
|
:edit ~/_vimrc pour Windows
|
||||||
|
|
||||||
2. Lisez maintenant le fichier d'exemple "vimrc" :
|
2. Lisez maintenant le fichier d'exemple "vimrc" :
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ NAPOMENA: Bez razlikovanja velikih i malih slova u samo jednoj naredbi
|
|||||||
|
|
||||||
1. Uredite "vimrc" datoteku. Ovo ovisi o va<76>em sistemu:
|
1. Uredite "vimrc" datoteku. Ovo ovisi o va<76>em sistemu:
|
||||||
:e ~/.vimrc za Unix
|
:e ~/.vimrc za Unix
|
||||||
:e $VIM/_vimrc za MS-Windows
|
:e ~/_vimrc za MS-Windows
|
||||||
|
|
||||||
2. Sada u<>itajte primjer sadr<64>aja "vimrc" datoteke:
|
2. Sada u<>itajte primjer sadr<64>aja "vimrc" datoteke:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ NAPOMENA: Bez razlikovanja velikih i malih slova u samo jednoj naredbi
|
|||||||
|
|
||||||
1. Uredite "vimrc" datoteku. Ovo ovisi o va<76>em sistemu:
|
1. Uredite "vimrc" datoteku. Ovo ovisi o va<76>em sistemu:
|
||||||
:e ~/.vimrc za Unix
|
:e ~/.vimrc za Unix
|
||||||
:e $VIM/_vimrc za MS-Windows
|
:e ~/_vimrc za MS-Windows
|
||||||
|
|
||||||
2. Sada u<>itajte primjer sadr<64>aja "vimrc" datoteke:
|
2. Sada u<>itajte primjer sadr<64>aja "vimrc" datoteke:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ NAPOMENA: Bez razlikovanja velikih i malih slova u samo jednoj naredbi
|
|||||||
|
|
||||||
1. Uredite "vimrc" datoteku. Ovo ovisi o vašem sistemu:
|
1. Uredite "vimrc" datoteku. Ovo ovisi o vašem sistemu:
|
||||||
:e ~/.vimrc za Unix
|
:e ~/.vimrc za Unix
|
||||||
:e $VIM/_vimrc za MS-Windows
|
:e ~/_vimrc za MS-Windows
|
||||||
|
|
||||||
2. Sada učitajte primjer sadržaja "vimrc" datoteke:
|
2. Sada učitajte primjer sadržaja "vimrc" datoteke:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -780,7 +780,7 @@ Megj: A Vimben a sor legv
|
|||||||
|
|
||||||
1. Kezdj<64>k el szerkeszteni a "vimrc" f<>jlt, ennek m<>dja:
|
1. Kezdj<64>k el szerkeszteni a "vimrc" f<>jlt, ennek m<>dja:
|
||||||
:edit ~/.vimrc Unixon, Linuxon
|
:edit ~/.vimrc Unixon, Linuxon
|
||||||
:edit $VIM/_vimrc MS-Windowson
|
:edit ~/_vimrc MS-Windowson
|
||||||
|
|
||||||
2. Most sz<73>rjuk be a p<>lda "vimrc" f<>jl sz<73>veg<65>t:
|
2. Most sz<73>rjuk be a p<>lda "vimrc" f<>jl sz<73>veg<65>t:
|
||||||
|
|
||||||
|
|||||||
@@ -780,7 +780,7 @@ Megj: A Vimben a sor legv
|
|||||||
|
|
||||||
1. Kezdj<64>k el szerkeszteni a "vimrc" f<>jlt, ennek m<>dja:
|
1. Kezdj<64>k el szerkeszteni a "vimrc" f<>jlt, ennek m<>dja:
|
||||||
:edit ~/.vimrc Unixon, Linuxon
|
:edit ~/.vimrc Unixon, Linuxon
|
||||||
:edit $VIM/_vimrc MS-Windowson
|
:edit ~/_vimrc MS-Windowson
|
||||||
|
|
||||||
2. Most sz<73>rjuk be a p<>lda "vimrc" f<>jl sz<73>veg<65>t:
|
2. Most sz<73>rjuk be a p<>lda "vimrc" f<>jl sz<73>veg<65>t:
|
||||||
|
|
||||||
|
|||||||
@@ -780,7 +780,7 @@ Megj: A Vimben a sor legvégére is lehet állni, azonban ez elődjében
|
|||||||
|
|
||||||
1. Kezdjük el szerkeszteni a "vimrc" fájlt, ennek módja:
|
1. Kezdjük el szerkeszteni a "vimrc" fájlt, ennek módja:
|
||||||
:edit ~/.vimrc Unixon, Linuxon
|
:edit ~/.vimrc Unixon, Linuxon
|
||||||
:edit $VIM/_vimrc MS-Windowson
|
:edit ~/_vimrc MS-Windowson
|
||||||
|
|
||||||
2. Most szúrjuk be a példa "vimrc" fájl szövegét:
|
2. Most szúrjuk be a példa "vimrc" fájl szövegét:
|
||||||
|
|
||||||
|
|||||||
@@ -882,7 +882,7 @@ NOTA: Per ignorare maiuscole/minuscole solo per una ricerca, usa \c
|
|||||||
|
|
||||||
1. Comincia a editare il file "vimrc". Questo dipende dal tuo sistema:
|
1. Comincia a editare il file "vimrc". Questo dipende dal tuo sistema:
|
||||||
:e ~/.vimrc per Unix
|
:e ~/.vimrc per Unix
|
||||||
:e $VIM/_vimrc per MS-Windows
|
:e ~/_vimrc per MS-Windows
|
||||||
|
|
||||||
2. Ora leggi i contenuti del file "vimrc" distribuito come esempio:
|
2. Ora leggi i contenuti del file "vimrc" distribuito come esempio:
|
||||||
|
|
||||||
|
|||||||
@@ -882,7 +882,7 @@ NOTA: Per ignorare maiuscole/minuscole solo per una ricerca, usa \c
|
|||||||
|
|
||||||
1. Comincia a editare il file "vimrc". Questo dipende dal tuo sistema:
|
1. Comincia a editare il file "vimrc". Questo dipende dal tuo sistema:
|
||||||
:e ~/.vimrc per Unix
|
:e ~/.vimrc per Unix
|
||||||
:e $VIM/_vimrc per MS-Windows
|
:e ~/_vimrc per MS-Windows
|
||||||
|
|
||||||
2. Ora leggi i contenuti del file "vimrc" distribuito come esempio:
|
2. Ora leggi i contenuti del file "vimrc" distribuito come esempio:
|
||||||
|
|
||||||
|
|||||||
@@ -885,7 +885,7 @@ NOTE: 1
|
|||||||
|
|
||||||
1. "vimrc" <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><D4BD>Ϥ<F2B3ABBB><CFA4>롣<EFBFBD><EBA1A3><EFBFBD><EFBFBD><EFBFBD>ϥ<EFBFBD><CFA5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>˰<EFBFBD>¸<EFBFBD><C2B8><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
1. "vimrc" <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><D4BD>Ϥ<F2B3ABBB><CFA4>롣<EFBFBD><EBA1A3><EFBFBD><EFBFBD><EFBFBD>ϥ<EFBFBD><CFA5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>˰<EFBFBD>¸<EFBFBD><C2B8><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
||||||
:edit ~/.vimrc UNIX <20><><EFBFBD><EFBFBD>
|
:edit ~/.vimrc UNIX <20><><EFBFBD><EFBFBD>
|
||||||
:edit $VIM/_vimrc Windows <20><><EFBFBD><EFBFBD>
|
:edit ~/_vimrc Windows <20><><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD> "vimrc" <20><><EFBFBD>ɤ߹<C9A4><DFB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
2. <20><><EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD> "vimrc" <20><><EFBFBD>ɤ߹<C9A4><DFB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -885,7 +885,7 @@ NOTE: 1
|
|||||||
|
|
||||||
1. "vimrc" <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̕ҏW<D28F><57><EFBFBD>J<EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>̓V<CD83>X<EFBFBD>e<EFBFBD><65><EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
1. "vimrc" <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̕ҏW<D28F><57><EFBFBD>J<EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>̓V<CD83>X<EFBFBD>e<EFBFBD><65><EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
:edit ~/.vimrc UNIX <20><><EFBFBD><EFBFBD>
|
:edit ~/.vimrc UNIX <20><><EFBFBD><EFBFBD>
|
||||||
:edit $VIM/_vimrc Windows <20><><EFBFBD><EFBFBD>
|
:edit ~/_vimrc Windows <20><><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD><EFBFBD>ŃT<C583><54><EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD> "vimrc" <20><><EFBFBD>ǂݍ<C782><DD8D>݂܂<DD82><DC82>B
|
2. <20><><EFBFBD><EFBFBD><EFBFBD>ŃT<C583><54><EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD> "vimrc" <20><><EFBFBD>ǂݍ<C782><DD8D>݂܂<DD82><DC82>B
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -885,7 +885,7 @@ NOTE: 1つの検索コマンドだけ大文字小文字の区別をやめたい
|
|||||||
|
|
||||||
1. "vimrc" ファイルの編集を開始する。これはシステムに依存します。
|
1. "vimrc" ファイルの編集を開始する。これはシステムに依存します。
|
||||||
:edit ~/.vimrc UNIX 向け
|
:edit ~/.vimrc UNIX 向け
|
||||||
:edit $VIM/_vimrc Windows 向け
|
:edit ~/_vimrc Windows 向け
|
||||||
|
|
||||||
2. ここでサンプルの "vimrc" を読み込みます。
|
2. ここでサンプルの "vimrc" を読み込みます。
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -879,7 +879,7 @@ ce 는 단어를 치환하는 것 뿐만 아니라, 내용을 삽입할 수 있
|
|||||||
|
|
||||||
1. "vimrc" 파일을 수정합시다. 이 파일은 사용하는 시스템에 따라 다릅니다:
|
1. "vimrc" 파일을 수정합시다. 이 파일은 사용하는 시스템에 따라 다릅니다:
|
||||||
:e ~/.vimrc Unix의 경우
|
:e ~/.vimrc Unix의 경우
|
||||||
:e $VIM/_vimrc MS-Windows의 경우
|
:e ~/_vimrc MS-Windows의 경우
|
||||||
|
|
||||||
2. 이제 "vimrc"의 예제를 읽어들입니다:
|
2. 이제 "vimrc"의 예제를 읽어들입니다:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -879,7 +879,7 @@ ce
|
|||||||
|
|
||||||
1. "vimrc" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>սô<D5BD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20>ý<EFBFBD><C3BD>ۿ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٸ<EFBFBD><D9B8>ϴ<EFBFBD>:
|
1. "vimrc" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>սô<D5BD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20>ý<EFBFBD><C3BD>ۿ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٸ<EFBFBD><D9B8>ϴ<EFBFBD>:
|
||||||
:e ~/.vimrc Unix<69><78> <20><><EFBFBD><EFBFBD>
|
:e ~/.vimrc Unix<69><78> <20><><EFBFBD><EFBFBD>
|
||||||
:e $VIM/_vimrc MS-Windows<77><73> <20><><EFBFBD><EFBFBD>
|
:e ~/_vimrc MS-Windows<77><73> <20><><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD> "vimrc"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>о<EFBFBD><D0BE><EFBFBD><EFBFBD>Դϴ<D4B4>:
|
2. <20><><EFBFBD><EFBFBD> "vimrc"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>о<EFBFBD><D0BE><EFBFBD><EFBFBD>Դϴ<D4B4>:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -879,7 +879,7 @@ ce 는 단어를 치환하는 것 뿐만 아니라, 내용을 삽입할 수 있
|
|||||||
|
|
||||||
1. "vimrc" 파일을 수정합시다. 이 파일은 사용하는 시스템에 따라 다릅니다:
|
1. "vimrc" 파일을 수정합시다. 이 파일은 사용하는 시스템에 따라 다릅니다:
|
||||||
:e ~/.vimrc Unix의 경우
|
:e ~/.vimrc Unix의 경우
|
||||||
:e $VIM/_vimrc MS-Windows의 경우
|
:e ~/_vimrc MS-Windows의 경우
|
||||||
|
|
||||||
2. 이제 "vimrc"의 예제를 읽어들입니다:
|
2. 이제 "vimrc"의 예제를 읽어들입니다:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -917,7 +917,7 @@ PIEZĪME: Ja vēlaties meklēt gan lielos, gan mazos burtus vienā meklējumā,
|
|||||||
|
|
||||||
1. Atkarībā no lietotās operētājsistēmas, atveriet "vimrc" failu sekojoši:
|
1. Atkarībā no lietotās operētājsistēmas, atveriet "vimrc" failu sekojoši:
|
||||||
:e ~/.vimrc Unix-veidīgā (t.sk. MacOS un Linux)
|
:e ~/.vimrc Unix-veidīgā (t.sk. MacOS un Linux)
|
||||||
:e $VIM/_vimrc VMS-veidīgā (t.sk. MS-Windows)
|
:e ~/_vimrc VMS-veidīgā (t.sk. MS-Windows)
|
||||||
|
|
||||||
2. Ielasiet "vimrc" šablona faila saturu, ievadot:
|
2. Ielasiet "vimrc" šablona faila saturu, ievadot:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Merk: Hvis du vil ignorere store/sm
|
|||||||
|
|
||||||
1. Start redigeringen av <EFBFBD>vimrc<EFBFBD>-filen. Dette avhenger av systemet ditt:
|
1. Start redigeringen av <EFBFBD>vimrc<EFBFBD>-filen. Dette avhenger av systemet ditt:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for MS Windows
|
:e ~/_vimrc for MS Windows
|
||||||
|
|
||||||
2. Les inn eksempelfilen for <EFBFBD>vimrc<EFBFBD>:
|
2. Les inn eksempelfilen for <EFBFBD>vimrc<EFBFBD>:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Merk: Hvis du vil ignorere store/små bokstaver for kun en søkekommando, bruk
|
|||||||
|
|
||||||
1. Start redigeringen av «vimrc»-filen. Dette avhenger av systemet ditt:
|
1. Start redigeringen av «vimrc»-filen. Dette avhenger av systemet ditt:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for MS Windows
|
:e ~/_vimrc for MS Windows
|
||||||
|
|
||||||
2. Les inn eksempelfilen for «vimrc»:
|
2. Les inn eksempelfilen for «vimrc»:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -864,7 +864,7 @@
|
|||||||
|
|
||||||
1. Bewerk het bestand 'vimrc'. Hoe dat moet hangt af van je systeem:
|
1. Bewerk het bestand 'vimrc'. Hoe dat moet hangt af van je systeem:
|
||||||
:e ~/.vimrc voor Unix
|
:e ~/.vimrc voor Unix
|
||||||
:e $VIM/_vimrc voor MS-Windows
|
:e ~/_vimrc voor MS-Windows
|
||||||
|
|
||||||
2. Lees de inhoud van het voorbeeld-bestand:
|
2. Lees de inhoud van het voorbeeld-bestand:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -864,7 +864,7 @@
|
|||||||
|
|
||||||
1. Bewerk het bestand 'vimrc'. Hoe dat moet hangt af van je systeem:
|
1. Bewerk het bestand 'vimrc'. Hoe dat moet hangt af van je systeem:
|
||||||
:e ~/.vimrc voor Unix
|
:e ~/.vimrc voor Unix
|
||||||
:e $VIM/_vimrc voor MS-Windows
|
:e ~/_vimrc voor MS-Windows
|
||||||
|
|
||||||
2. Lees de inhoud van het voorbeeld-bestand:
|
2. Lees de inhoud van het voorbeeld-bestand:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Merk: Hvis du vil ignorere store/sm
|
|||||||
|
|
||||||
1. Start redigeringen av <20>vimrc<72>-filen. Dette avhenger av systemet ditt:
|
1. Start redigeringen av <20>vimrc<72>-filen. Dette avhenger av systemet ditt:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for MS Windows
|
:e ~/_vimrc for MS Windows
|
||||||
|
|
||||||
2. Les inn eksempelfilen for <20>vimrc<72>:
|
2. Les inn eksempelfilen for <20>vimrc<72>:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -884,7 +884,7 @@ Merk: Hvis du vil ignorere store/små bokstaver for kun en søkekommando, bruk
|
|||||||
|
|
||||||
1. Start redigeringen av «vimrc»-filen. Dette avhenger av systemet ditt:
|
1. Start redigeringen av «vimrc»-filen. Dette avhenger av systemet ditt:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for MS Windows
|
:e ~/_vimrc for MS Windows
|
||||||
|
|
||||||
2. Les inn eksempelfilen for «vimrc»:
|
2. Les inn eksempelfilen for «vimrc»:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ Uwaga: Aby ignorowa
|
|||||||
|
|
||||||
1. Pocz<EFBFBD>tek edycji pliku "vimrc" zale<EFBFBD>y od Twojego systemu:
|
1. Pocz<EFBFBD>tek edycji pliku "vimrc" zale<EFBFBD>y od Twojego systemu:
|
||||||
:edit ~/.vimrc dla Uniksa
|
:edit ~/.vimrc dla Uniksa
|
||||||
:edit $VIM/_vimrc dla MS-Windows
|
:edit ~/_vimrc dla MS-Windows
|
||||||
2. Teraz wczytaj przyk<EFBFBD>adowy plik "vimrc":
|
2. Teraz wczytaj przyk<EFBFBD>adowy plik "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
3. Zapisz plik:
|
3. Zapisz plik:
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ Uwaga: Aby ignorowa
|
|||||||
|
|
||||||
1. Pocz<63>tek edycji pliku "vimrc" zale<6C>y od Twojego systemu:
|
1. Pocz<63>tek edycji pliku "vimrc" zale<6C>y od Twojego systemu:
|
||||||
:edit ~/.vimrc dla Uniksa
|
:edit ~/.vimrc dla Uniksa
|
||||||
:edit $VIM/_vimrc dla MS-Windows
|
:edit ~/_vimrc dla MS-Windows
|
||||||
2. Teraz wczytaj przyk<79>adowy plik "vimrc":
|
2. Teraz wczytaj przyk<79>adowy plik "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
3. Zapisz plik:
|
3. Zapisz plik:
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ Uwaga: Aby ignorować wielkość liter dla jednego wyszukiwania: /ignore\c<ENTER
|
|||||||
|
|
||||||
1. Początek edycji pliku "vimrc" zależy od Twojego systemu:
|
1. Początek edycji pliku "vimrc" zależy od Twojego systemu:
|
||||||
:edit ~/.vimrc dla Uniksa
|
:edit ~/.vimrc dla Uniksa
|
||||||
:edit $VIM/_vimrc dla MS-Windows
|
:edit ~/_vimrc dla MS-Windows
|
||||||
2. Teraz wczytaj przykładowy plik "vimrc":
|
2. Teraz wczytaj przykładowy plik "vimrc":
|
||||||
:read $VIMRUNTIME/vimrc_example.vim
|
:read $VIMRUNTIME/vimrc_example.vim
|
||||||
3. Zapisz plik:
|
3. Zapisz plik:
|
||||||
|
|||||||
@@ -901,7 +901,7 @@ NOTA: Se quiser ignorar a diferen
|
|||||||
|
|
||||||
1. Comece a editar o arquivo "vimrc". Isso depende do sistema:
|
1. Comece a editar o arquivo "vimrc". Isso depende do sistema:
|
||||||
:e ~/.vimrc para Unix
|
:e ~/.vimrc para Unix
|
||||||
:e $VIM/_vimrc para MS-Windows
|
:e ~/_vimrc para MS-Windows
|
||||||
|
|
||||||
2. Agora, leia o conte<74>do do arquivo "vimrc" de exemplo:
|
2. Agora, leia o conte<74>do do arquivo "vimrc" de exemplo:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -901,7 +901,7 @@ NOTA: Se quiser ignorar a diferença entre maiúsculas e minúsculas em apenas
|
|||||||
|
|
||||||
1. Comece a editar o arquivo "vimrc". Isso depende do sistema:
|
1. Comece a editar o arquivo "vimrc". Isso depende do sistema:
|
||||||
:e ~/.vimrc para Unix
|
:e ~/.vimrc para Unix
|
||||||
:e $VIM/_vimrc para MS-Windows
|
:e ~/_vimrc para MS-Windows
|
||||||
|
|
||||||
2. Agora, leia o conteúdo do arquivo "vimrc" de exemplo:
|
2. Agora, leia o conteúdo do arquivo "vimrc" de exemplo:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -916,7 +916,7 @@
|
|||||||
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> `vimrc'. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> `vimrc'. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||||
:e ~/.vimrc <09><><EFBFBD> Unix
|
:e ~/.vimrc <09><><EFBFBD> Unix
|
||||||
:e $VIM/_vimrc <09><><EFBFBD> MS-Windows
|
:e ~/_vimrc <09><><EFBFBD> MS-Windows
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> `vimrc':
|
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> `vimrc':
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -916,7 +916,7 @@
|
|||||||
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> `vimrc'. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> `vimrc'. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||||
:e ~/.vimrc <09><><EFBFBD> Unix
|
:e ~/.vimrc <09><><EFBFBD> Unix
|
||||||
:e $VIM/_vimrc <09><><EFBFBD> MS-Windows
|
:e ~/_vimrc <09><><EFBFBD> MS-Windows
|
||||||
|
|
||||||
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> `vimrc':
|
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> `vimrc':
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -916,7 +916,7 @@
|
|||||||
1. Отредактируйте новый файл `vimrc'. Его расположение зависит от
|
1. Отредактируйте новый файл `vimrc'. Его расположение зависит от
|
||||||
используемой системы:
|
используемой системы:
|
||||||
:e ~/.vimrc для Unix
|
:e ~/.vimrc для Unix
|
||||||
:e $VIM/_vimrc для MS-Windows
|
:e ~/_vimrc для MS-Windows
|
||||||
|
|
||||||
2. Теперь прочитайте пример файла `vimrc':
|
2. Теперь прочитайте пример файла `vimrc':
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -916,7 +916,7 @@ POZN
|
|||||||
|
|
||||||
1. Za<5A>ni editova<76> "vimrc" s<>bor, to z<>vis<69> na pou<6F>itom syst<73>me:
|
1. Za<5A>ni editova<76> "vimrc" s<>bor, to z<>vis<69> na pou<6F>itom syst<73>me:
|
||||||
:e ~/.vimrc pre Unix
|
:e ~/.vimrc pre Unix
|
||||||
:e $VIM/_vimrc pre MS-Windows
|
:e ~/_vimrc pre MS-Windows
|
||||||
|
|
||||||
2. Teraz si pre<72><65>taj text pr<70>kladu "vimrc" s<>boru:
|
2. Teraz si pre<72><65>taj text pr<70>kladu "vimrc" s<>boru:
|
||||||
|
|
||||||
|
|||||||
@@ -916,7 +916,7 @@ POZN
|
|||||||
|
|
||||||
1. Za<5A>ni editova<76> "vimrc" s<>bor, to z<>vis<69> na pou<6F>itom syst<73>me:
|
1. Za<5A>ni editova<76> "vimrc" s<>bor, to z<>vis<69> na pou<6F>itom syst<73>me:
|
||||||
:e ~/.vimrc pre Unix
|
:e ~/.vimrc pre Unix
|
||||||
:e $VIM/_vimrc pre MS-Windows
|
:e ~/_vimrc pre MS-Windows
|
||||||
|
|
||||||
2. Teraz si pre<72><65>taj text pr<70>kladu "vimrc" s<>boru:
|
2. Teraz si pre<72><65>taj text pr<70>kladu "vimrc" s<>boru:
|
||||||
|
|
||||||
|
|||||||
@@ -916,7 +916,7 @@ POZNÁMKA: Ak chceš nerozlyšovať veľkosť písmen len pre jedno
|
|||||||
|
|
||||||
1. Začni editovať "vimrc" súbor, to závisí na použitom systéme:
|
1. Začni editovať "vimrc" súbor, to závisí na použitom systéme:
|
||||||
:e ~/.vimrc pre Unix
|
:e ~/.vimrc pre Unix
|
||||||
:e $VIM/_vimrc pre MS-Windows
|
:e ~/_vimrc pre MS-Windows
|
||||||
|
|
||||||
2. Teraz si prečítaj text príkladu "vimrc" súboru:
|
2. Teraz si prečítaj text príkladu "vimrc" súboru:
|
||||||
|
|
||||||
|
|||||||
@@ -882,7 +882,7 @@ NAPOMENA: Ako
|
|||||||
|
|
||||||
1. Otvorite "vimrc" fajl. Ovo zavisi od va<76>eg sistema:
|
1. Otvorite "vimrc" fajl. Ovo zavisi od va<76>eg sistema:
|
||||||
:e ~/.vimrc za Unix
|
:e ~/.vimrc za Unix
|
||||||
:e $VIM/_vimrc za MS-Windows
|
:e ~/_vimrc za MS-Windows
|
||||||
|
|
||||||
2. Onda u<>itajte primer sadr<64>aja "vimrc" fajla:
|
2. Onda u<>itajte primer sadr<64>aja "vimrc" fajla:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -882,7 +882,7 @@ NAPOMENA: Ako želite da ne razlikujete veličinu slova u samo jednoj komandi
|
|||||||
|
|
||||||
1. Otvorite "vimrc" fajl. Ovo zavisi od vašeg sistema:
|
1. Otvorite "vimrc" fajl. Ovo zavisi od vašeg sistema:
|
||||||
:e ~/.vimrc za Unix
|
:e ~/.vimrc za Unix
|
||||||
:e $VIM/_vimrc za MS-Windows
|
:e ~/_vimrc za MS-Windows
|
||||||
|
|
||||||
2. Onda učitajte primer sadržaja "vimrc" fajla:
|
2. Onda učitajte primer sadržaja "vimrc" fajla:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
|
|||||||
@@ -787,7 +787,7 @@ Notera: Detta undviker att beh
|
|||||||
|
|
||||||
1. B<EFBFBD>rja redigera "vimrc"-filen, detta beror p<EFBFBD> ditt system:
|
1. B<EFBFBD>rja redigera "vimrc"-filen, detta beror p<EFBFBD> ditt system:
|
||||||
:edit ~/.vimrc f<EFBFBD>r Unix
|
:edit ~/.vimrc f<EFBFBD>r Unix
|
||||||
:edit $VIM/_vimrc f<EFBFBD>r MS-Windows
|
:edit ~/_vimrc f<EFBFBD>r MS-Windows
|
||||||
|
|
||||||
2. L<EFBFBD>s nu texten i exempel "vimrc"-filen:
|
2. L<EFBFBD>s nu texten i exempel "vimrc"-filen:
|
||||||
|
|
||||||
|
|||||||
@@ -787,7 +787,7 @@ Notera: Detta undviker att behöva skriva i , det sista tecknet, texten att
|
|||||||
|
|
||||||
1. Börja redigera "vimrc"-filen, detta beror på ditt system:
|
1. Börja redigera "vimrc"-filen, detta beror på ditt system:
|
||||||
:edit ~/.vimrc för Unix
|
:edit ~/.vimrc för Unix
|
||||||
:edit $VIM/_vimrc för MS-Windows
|
:edit ~/_vimrc för MS-Windows
|
||||||
|
|
||||||
2. Läs nu texten i exempel "vimrc"-filen:
|
2. Läs nu texten i exempel "vimrc"-filen:
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user