0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Update runtime files

This commit is contained in:
Bram Moolenaar 2016-01-15 20:57:49 +01:00
parent 065ee9aebf
commit 345efa013d
11 changed files with 362 additions and 147 deletions

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.4. Last change: 2016 Jan 09 *eval.txt* For Vim version 7.4. Last change: 2016 Jan 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -3497,7 +3497,7 @@ getcmdwintype() *getcmdwintype()*
*getcurpos()* *getcurpos()*
getcurpos() Get the position of the cursor. This is like getpos('.'), but getcurpos() Get the position of the cursor. This is like getpos('.'), but
includes an extra item in the list: includes an extra item in the list:
[bufnum, lnum, col, off, curswant] [bufnum, lnum, col, off, curswant] ~
The "curswant" number is the preferred column when moving the The "curswant" number is the preferred column when moving the
cursor vertically. cursor vertically.
This can be used to save and restore the cursor position: > This can be used to save and restore the cursor position: >

View File

@ -1,4 +1,4 @@
*help.txt* For Vim version 7.4. Last change: 2016 Jan 09 *help.txt* For Vim version 7.4. Last change: 2016 Jan 10
VIM - main help file VIM - main help file
k k
@ -10,14 +10,14 @@ Close this window: Use ":q<Enter>".
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-]. Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI). With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
Double-click the left mouse button on a tag, e.g. |bars|. Double-click the left mouse button on a tag, e.g. |bars|.
Jump back: Type CTRL-T or CTRL-O (repeat to go further back). Jump back: Type CTRL-T or CTRL-O. Repeat to go further back.
Get specific help: It is possible to go directly to whatever you want help Get specific help: It is possible to go directly to whatever you want help
on, by giving an argument to the |:help| command. on, by giving an argument to the |:help| command.
It is possible to further specify the context: Prepend something to specify the context: *help-context*
*help-context*
WHAT PREPEND EXAMPLE ~ WHAT PREPEND EXAMPLE ~
Normal mode command (nothing) :help x Normal mode command :help x
Visual mode command v_ :help v_u Visual mode command v_ :help v_u
Insert mode command i_ :help i_<Esc> Insert mode command i_ :help i_<Esc>
Command-line command : :help :quit Command-line command : :help :quit
@ -25,7 +25,7 @@ Get specific help: It is possible to go directly to whatever you want help
Vim command argument - :help -r Vim command argument - :help -r
Option ' :help 'textwidth' Option ' :help 'textwidth'
Regular expression / :help /[ Regular expression / :help /[
Also see |help-summary| for a verbose explanation. See |help-summary| for more contexts and an explanation.
Search for help: Type ":help word", then hit CTRL-D to see matching Search for help: Type ":help word", then hit CTRL-D to see matching
help entries for "word". help entries for "word".

View File

@ -1,4 +1,4 @@
*map.txt* For Vim version 7.4. Last change: 2014 Dec 08 *map.txt* For Vim version 7.4. Last change: 2016 Jan 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -483,7 +483,7 @@ internal code is written to the script file.
1.6 SPECIAL CHARACTERS *:map-special-chars* 1.6 SPECIAL CHARACTERS *:map-special-chars*
*map_backslash* *map_backslash* *map-backslash*
Note that only CTRL-V is mentioned here as a special character for mappings Note that only CTRL-V is mentioned here as a special character for mappings
and abbreviations. When 'cpoptions' does not contain 'B', a backslash can and abbreviations. When 'cpoptions' does not contain 'B', a backslash can
also be used like CTRL-V. The <> notation can be fully used then |<>|. But also be used like CTRL-V. The <> notation can be fully used then |<>|. But
@ -494,21 +494,21 @@ To map a backslash, or use a backslash literally in the {rhs}, the special
sequence "<Bslash>" can be used. This avoids the need to double backslashes sequence "<Bslash>" can be used. This avoids the need to double backslashes
when using nested mappings. when using nested mappings.
*map_CTRL-C* *map_CTRL-C* *map-CTRL-C*
Using CTRL-C in the {lhs} is possible, but it will only work when Vim is Using CTRL-C in the {lhs} is possible, but it will only work when Vim is
waiting for a key, not when Vim is busy with something. When Vim is busy waiting for a key, not when Vim is busy with something. When Vim is busy
CTRL-C interrupts/breaks the command. CTRL-C interrupts/breaks the command.
When using the GUI version on MS-Windows CTRL-C can be mapped to allow a Copy When using the GUI version on MS-Windows CTRL-C can be mapped to allow a Copy
command to the clipboard. Use CTRL-Break to interrupt Vim. command to the clipboard. Use CTRL-Break to interrupt Vim.
*map_space_in_lhs* *map_space_in_lhs* *map-space_in_lhs*
To include a space in {lhs} precede it with a CTRL-V (type two CTRL-Vs for To include a space in {lhs} precede it with a CTRL-V (type two CTRL-Vs for
each space). each space).
*map_space_in_rhs* *map_space_in_rhs* *map-space_in_rhs*
If you want a {rhs} that starts with a space, use "<Space>". To be fully Vi If you want a {rhs} that starts with a space, use "<Space>". To be fully Vi
compatible (but unreadable) don't use the |<>| notation, precede {rhs} with a compatible (but unreadable) don't use the |<>| notation, precede {rhs} with a
single CTRL-V (you have to type CTRL-V two times). single CTRL-V (you have to type CTRL-V two times).
*map_empty_rhs* *map_empty_rhs* *map-empty-rhs*
You can create an empty {rhs} by typing nothing after a single CTRL-V (you You can create an empty {rhs} by typing nothing after a single CTRL-V (you
have to type CTRL-V two times). Unfortunately, you cannot do this in a vimrc have to type CTRL-V two times). Unfortunately, you cannot do this in a vimrc
file. file.
@ -583,7 +583,7 @@ Upper and lowercase differences are ignored.
It is not possible to put a comment after these commands, because the '"' It is not possible to put a comment after these commands, because the '"'
character is considered to be part of the {lhs} or {rhs}. character is considered to be part of the {lhs} or {rhs}.
*map_bar* *map_bar* *map-bar*
Since the '|' character is used to separate a map command from the next Since the '|' character is used to separate a map command from the next
command, you will have to do something special to include a '|' in {rhs}. command, you will have to do something special to include a '|' in {rhs}.
There are three methods: There are three methods:
@ -601,7 +601,7 @@ When 'b' is present in 'cpoptions', "\|" will be recognized as a mapping
ending in a '\' and then another command. This is Vi compatible, but ending in a '\' and then another command. This is Vi compatible, but
illogical when compared to other commands. illogical when compared to other commands.
*map_return* *map_return* *map-return*
When you have a mapping that contains an Ex command, you need to put a line When you have a mapping that contains an Ex command, you need to put a line
terminator after it to have it executed. The use of <CR> is recommended for terminator after it to have it executed. The use of <CR> is recommended for
this (see |<>|). Example: > this (see |<>|). Example: >

View File

@ -4903,6 +4903,8 @@ asm.vim syntax.txt /*asm.vim*
asm68k syntax.txt /*asm68k* asm68k syntax.txt /*asm68k*
asmh8300.vim syntax.txt /*asmh8300.vim* asmh8300.vim syntax.txt /*asmh8300.vim*
assert_equal() eval.txt /*assert_equal()* assert_equal() eval.txt /*assert_equal()*
assert_exception() eval.txt /*assert_exception()*
assert_fails() eval.txt /*assert_fails()*
assert_false() eval.txt /*assert_false()* assert_false() eval.txt /*assert_false()*
assert_true() eval.txt /*assert_true()* assert_true() eval.txt /*assert_true()*
at motion.txt /*at* at motion.txt /*at*
@ -6923,9 +6925,13 @@ man.vim filetype.txt /*man.vim*
manual-copyright usr_01.txt /*manual-copyright* manual-copyright usr_01.txt /*manual-copyright*
map() eval.txt /*map()* map() eval.txt /*map()*
map-<SID> map.txt /*map-<SID>* map-<SID> map.txt /*map-<SID>*
map-CTRL-C map.txt /*map-CTRL-C*
map-ambiguous map.txt /*map-ambiguous* map-ambiguous map.txt /*map-ambiguous*
map-backslash map.txt /*map-backslash*
map-backtick tips.txt /*map-backtick* map-backtick tips.txt /*map-backtick*
map-bar map.txt /*map-bar*
map-comments map.txt /*map-comments* map-comments map.txt /*map-comments*
map-empty-rhs map.txt /*map-empty-rhs*
map-error map.txt /*map-error* map-error map.txt /*map-error*
map-examples map.txt /*map-examples* map-examples map.txt /*map-examples*
map-keys-fails map.txt /*map-keys-fails* map-keys-fails map.txt /*map-keys-fails*
@ -6934,7 +6940,10 @@ map-modes map.txt /*map-modes*
map-multibyte map.txt /*map-multibyte* map-multibyte map.txt /*map-multibyte*
map-overview map.txt /*map-overview* map-overview map.txt /*map-overview*
map-precedence map.txt /*map-precedence* map-precedence map.txt /*map-precedence*
map-return map.txt /*map-return*
map-self-destroy tips.txt /*map-self-destroy* map-self-destroy tips.txt /*map-self-destroy*
map-space_in_lhs map.txt /*map-space_in_lhs*
map-space_in_rhs map.txt /*map-space_in_rhs*
map-typing map.txt /*map-typing* map-typing map.txt /*map-typing*
map-which-keys map.txt /*map-which-keys* map-which-keys map.txt /*map-which-keys*
map.txt map.txt /*map.txt* map.txt map.txt /*map.txt*

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2016 Jan 10 *todo.txt* For Vim version 7.4. Last change: 2016 Jan 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -34,8 +34,6 @@ not be repeated below, unless there is extra information.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
/tmp/test_increment_new_style.patch.2
Regexp problems: Regexp problems:
- The regexp engines are not reentrant, causing havoc when interrupted by a - The regexp engines are not reentrant, causing havoc when interrupted by a
remote expression or something else. Move global variables onto the stack remote expression or something else. Move global variables onto the stack
@ -78,8 +76,6 @@ Regexp problems:
matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24) matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24)
- Search for \\~ causes error E874. - Search for \\~ causes error E874.
Help to build with interfaces. (Ken Takata, 2015 Jan 5)
Need to try out instructions in INSSTALLpc.txt about how to install all Need to try out instructions in INSSTALLpc.txt about how to install all
interfaces and how to build Vim with them. interfaces and how to build Vim with them.
Appveyor build with self-installing executable, includes getting most Appveyor build with self-installing executable, includes getting most
@ -101,8 +97,6 @@ Should use /usr/local/share/applications or /usr/share/applications.
Or use $XDG_DATA_DIRS. Or use $XDG_DATA_DIRS.
Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4) Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
Patch to update the help summary. (Christian Brabandt, 2015 Jan 10)
Add has('crypt-blowfish') and has('crypt-blowfish2') (Smu Johnson) Add has('crypt-blowfish') and has('crypt-blowfish2') (Smu Johnson)
Access to uninitialized memory in match_backref() regexp_nda.c:4882 Access to uninitialized memory in match_backref() regexp_nda.c:4882
@ -123,19 +117,11 @@ Illegal memory access, requires ASAN to see. (Dominique Pelle, 2015 Jul 28)
Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab. Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
Patch to fix "." after CTRL-A in Visual block mode. (Ozaki Kiichi, 2015 Oct
24)
Patch to have CTRL-A and CTRL-X update the '[ and '] marks.
(Yukihiro Nakadaira, 2015 Aug 23)
Patch for GVimExt building with VS2015. (Mike Williams, 2015 Jan 10)
Unexpected delay when using CTRL-O u. It's not timeoutlen. Unexpected delay when using CTRL-O u. It's not timeoutlen.
(Gary Johnson, 2015 Aug 28) (Gary Johnson, 2015 Aug 28)
Instead of separately uploading patches to the ftp site, can we get them from Instead of separately uploading patches to the ftp site, we can get them from
github? This URL works: github with a URL like this:
https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff
Diff for version.c contains more context, can't skip a patch. Diff for version.c contains more context, can't skip a patch.
> >
@ -148,6 +134,9 @@ set_color_count().
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
Patch to fix cursor position in right-left mode with concealing.
(Hirohito Higashi, 2016 Jan 13)
Plugin to use Vim in MANPAGER. Konfekt, PR #491 Plugin to use Vim in MANPAGER. Konfekt, PR #491
Using uninitialized memory. (Dominique Pelle, 2015 Nov 4) Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
@ -161,8 +150,16 @@ Patch to recognize string slice for variable followed by colon.
Patch to add debug backtrace. (Alberto Fanjul, 2015 Sep 27) Patch to add debug backtrace. (Alberto Fanjul, 2015 Sep 27)
Update 2016 Jan 2. Issue #433 Update 2016 Jan 2. Issue #433
Patch to gvim.nsi for appveyor build. (Ken Takata, 2016 Jan 12)
Patch to improve behavior of dead keys on MS-Windows. (John Wellesz, 2015 Aug
25) https://github.com/vim/vim/pull/399.diff
Patch to make mzscheme (racket) interface work. (Yukihiro Nakadaira, 2015 Jan Patch to make mzscheme (racket) interface work. (Yukihiro Nakadaira, 2015 Jan
10) Doesn't work for me, need to build from source. 10) Doesn't work for me, need to build from source. Include anyway?
Additional patch by Ken Takata, 2016 Jan 13.
Merged patch by Yasuhiro Nakadaira,, 2016 Jan 14.
Update for INSSTALLpc.txt by Ken Takata, Jan 14.
MS-Windows: When editing a file with a leading space, writing it uses the MS-Windows: When editing a file with a leading space, writing it uses the
wrong name. (Aram, 2014 Nov 7) Vim 7.4. wrong name. (Aram, 2014 Nov 7) Vim 7.4.
@ -172,7 +169,7 @@ specifically? First try with the parens, then without.
Half-finished patch to fix the Problem using cgn to change a search hit when Half-finished patch to fix the Problem using cgn to change a search hit when
replacement includes hit. Reported by John Beckett, fix by Christian Brabandt, replacement includes hit. Reported by John Beckett, fix by Christian Brabandt,
2015 Dec 14, Update Dec 15. 2016 Jan 11.
Patch to fix pointer cast warning in VS2015. (Mike Williams, 2015 Dec 13) Patch to fix pointer cast warning in VS2015. (Mike Williams, 2015 Dec 13)
Patch to make building GVimExt with VS2015. (Mike Williams, 2015 Dec 13) Patch to make building GVimExt with VS2015. (Mike Williams, 2015 Dec 13)
@ -199,6 +196,10 @@ library: http://userguide.icu-project.org/boundaryanalysis
When complete() first argument is before where insert started and 'backspace' When complete() first argument is before where insert started and 'backspace'
is Vi compatible, the completion fails. (Hirohito Higashi, 2015 Feb 19) is Vi compatible, the completion fails. (Hirohito Higashi, 2015 Feb 19)
Patch to fix bug in searchpair(). (Christian Brabandt, 2016 Jan 11)
Problem reported by David Fishburn, using searchpair() with synID() used in
the skip expression.
Test 44 fails when [[=A=]] is changed to [[=À=]]. Caused by getcmdline() not Test 44 fails when [[=A=]] is changed to [[=À=]]. Caused by getcmdline() not
handling the 0x80 as a second byte correctly? (Dominique Pelle, 2015 Jun 10) handling the 0x80 as a second byte correctly? (Dominique Pelle, 2015 Jun 10)
@ -339,9 +340,6 @@ When two SIGWINCH arrive very quickly, the second one may be lost.
Make comments in the test Makefile silent. (Kartik Agaram, 2014 Sep 24) Make comments in the test Makefile silent. (Kartik Agaram, 2014 Sep 24)
Patch to improve behavior of dead keys on MS-Windows. (John Wellesz, 2015 Aug
25) https://github.com/vim/vim/pull/399.diff
Result of systemlist() does not show whether text ended in line break. Result of systemlist() does not show whether text ended in line break.
(Bjorn Linse, 2014 Nov 27) (Bjorn Linse, 2014 Nov 27)

View File

@ -1,4 +1,4 @@
*usr_02.txt* For Vim version 7.4. Last change: 2015 Apr 12 *usr_02.txt* For Vim version 7.4. Last change: 2016 Jan 15
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@ -408,7 +408,15 @@ original version of the file.
Everything you always wanted to know can be found in the Vim help files. Everything you always wanted to know can be found in the Vim help files.
Don't be afraid to ask! Don't be afraid to ask!
To get generic help use this command: >
If you know what you are looking for, it is usually easier to search for it
using the help system, instead of using Google. Because the subjects follow
a certain style guide.
Also the help has the advantage of belonging to your particular Vim version.
You won't see help for commands added later. These would not work for you.
To get generic help use this command: >
:help :help
@ -482,7 +490,7 @@ example, use the following command: >
:help 'number' :help 'number'
The table with all mode prefixes can be found here: |help-context|. The table with all mode prefixes can be found below: |help-summary|.
Special keys are enclosed in angle brackets. To find help on the up-arrow key Special keys are enclosed in angle brackets. To find help on the up-arrow key
in Insert mode, for instance, use this command: > in Insert mode, for instance, use this command: >
@ -499,64 +507,187 @@ You can use the error ID at the start to find help about it: >
Summary: *help-summary* > Summary: *help-summary* >
:help
< Gives you very general help. Scroll down to see a list of all 1) Use Ctrl-D after typing a topic and let Vim show all available topics.
helpfiles, including those added locally (i.e. not distributed Or press Tab to complete: >
with Vim). > :help some<Tab>
:help user-toc.txt < More information on how to use the help: >
< Table of contents of the User Manual. > :help helphelp
:help :subject
< Ex-command "subject", for instance the following: > 2) Follow the links in bars to related help. You can go from the detailed
:help :help help to the user documentation, which describes certain commands more from
< Help on getting help. > a user perspective and less detailed. E.g. after: >
:help abc :help pattern.txt
< normal-mode command "abc". > < You can see the user guide topics |03.9| and |usr_27.txt| in the
:help CTRL-B introduction.
< Control key <C-B> in Normal mode. >
:help i_abc 3) Options are enclosed in single apostrophes. To go to the help topic for the
:help i_CTRL-B list option: >
< The same in Insert mode. > :help 'list'
:help v_abc < If you only know you are looking for a certain option, you can also do: >
:help v_CTRL-B :help options.txt
< The same in Visual mode. > < to open the help page which describes all option handling and then search
:help c_abc using regular expressions, e.g. textwidth.
:help c_CTRL-B Certain options have their own namespace, e.g.: >
< The same in Command-line mode. > :help cpo-<letter>
:help 'subject' < for the corresponding flag of the 'cpoptions' settings, substitute <letter>
< Option 'subject'. > by a specific flag, e.g.: >
:help subject() :help cpo-;
< Function "subject". > < And for the guioption flags: >
:help -subject :help go-<letter>
< Command-line argument "-subject". >
:help +subject 4) Normal mode commands do not have a prefix. To go to the help page for the
< Compile-time feature "+subject". > "gt" command: >
:help /* :help gt
< Regular expression item "*" >
:help EventName 5) Insert mode commands start with i_. Help for deleting a word: >
< Autocommand event "EventName". > :help i_CTRL-W
:help digraphs.txt
< The top of the helpfile "digraph.txt". 6) Visual mode commands start with v_. Help for jumping to the other side of
Similarly for any other helpfile. > the Visual area: >
:help pattern<Tab> :help v_o
< Find a help tag starting with "pattern". Repeat <Tab> for
others. > 7) Command line editing and arguments start with c_. Help for using the
:help pattern<Ctrl-D> command argument %: >
< See all possible help tag matches "pattern" at once. > :help c_%
:helpgrep pattern
< Search the whole text of all help files for pattern "pattern". 8) Ex-commands always start with ":", so to go to the :s command help: >
Jumps to the first match. Jump to other matches with: > :help :s
:cn
< next match > 9) Key combinations. They usually start with a single letter indicating
:cprev the mode for which they can be used. E.g.: >
:cN :help i_CTRL-X
< previous match > < takes you to the family of Ctrl-X commands for insert mode which can be
:cfirst used to auto complete different things. Note, that certain keys will
:clast always be written the same, e.g. Control will always be CTRL.
< first or last match > For normal mode commands there is no prefix and the topic is available at
:copen :h CTRL-<Letter>. E.g. >
:cclose :help CTRL-W
< open/close the quickfix window; press <Enter> to jump < In contrast >
to the item under the cursor :help c_CTRL-R
< will describe what the Ctrl-R does when entering commands in the Command
line and >
:help v_Ctrl-A
< talks about incrementing numbers in visual mode and >
:help g_CTRL-A
< talks about the g<C-A> command (e.g. you have to press "g" then <Ctrl-A>).
Here the "g" stand for the normal command "g" which always expects a second
key before doing something similar to the commands starting with "z"
10) Regexp items always start with /. So to get help for the "\+" quantifier
in Vim regexes: >
:help /\+
< If you need to know everything about regular expressions, start reading
at: >
:help pattern.txt
11) Registers always start with "quote". To find out about the special ":"
register: >
:help quote:
12) Vim Script (VimL) is available at >
:help eval.txt
< Certain aspects of the language are available at :h expr-X where "X" is a
single letter. E.g. >
:help expr-!
< will take you to the topic describing the "!" (Not) operator for
VimScript.
Also important is >
:help function-list
< to find a short description of all functions available. Help topics for
VimL functions always include the "()", so: >
:help append()
< talks about the append VimL function rather than how to append text in the
current buffer.
13) Mappings are talked about in the help page :h |map.txt|. Use >
:help mapmode-i
< to find out about the |:imap| command. Also use :map-topic
to find out about certain subtopics particular for mappings. e.g: >
:help :map-local
< for buffer-local mappings or >
:help map-bar
< for how the '|' is handled in mappings.
14) Command definitions are talked about :h command-topic, so use >
:help command-bar
< to find out about the '!' argument for custom commands.
15) Window management commands always start with CTRL-W, so you find the
corresponding help at :h CTRL-W_letter. E.g. >
:help CTRL-W_p
< for moving the previous accessed window). You can also access >
:help windows.txt
< and read your way through if you are looking for window handling
commands.
16) Use |:helpgrep| to search in all help pages (and also of any installed
plugins). See |:helpgrep| for how to use it.
To search for a topic: >
:helpgrep topic
< This takes you to the first match. To go to the next one: >
:cnext
< All matches are available in the quickfix window which can be opened
with: >
:copen
< Move around to the match you like and press Enter to jump to that help.
17) The user manual. This describes help topics for beginners in a rather
friendly way. Start at |usr_toc.txt| to find the table of content (as you
might have guessed): >
:help usr_toc.txt
< Skim over the contents to find interesting topics. The "Digraphs" and
"Entering special characters" items are in chapter 24, so to go to that
particular help page: >
:help usr_24.txt
< Also if you want to access a certain chapter in the help, the chapter
number can be accessed directly like this: >
:help 10.1
< goes to chapter 10.1 in |usr_10.txt| and talks about recording macros.
18) Highlighting groups. Always start with hl-groupname. E.g. >
:help hl-WarningMsg
< talks about the WarningMsg highlighting group.
19) Syntax highlighting is namespaced to :syn-topic e.g. >
:help :syn-conceal
< talks about the conceal argument for the :syn command.
20) Quickfix commands usually start with :c while location list commands
usually start with :l
21) Autocommand events can be found by their name: >
:help BufWinLeave
< To see all possible events: >
:help autocommands-events
22) Command-line switches always start with "-". So for the help of the -f
command switch of Vim use: >
:help -f
23) Optional features always start with "+". To find out about the
conceal feature use: >
:help +conceal
24) Documentation for included filetype specific functionality is usually
available in the form ft-<filetype>-<functionality>. So >
:help ft-c-syntax
< talks about the C syntax file and the option it provides. Sometimes,
additional sections for omni completion >
:help ft-php-omni
< or filetype plugins >
:help ft-tex-plugin
< are available.
25) Error and Warning codes can be looked up directly in the help. So >
:help E297
< takes you exactly to the description of the swap error message and >
:help W10
< talks about the warning "Changing a readonly file".
Sometimes however, those error codes are not described, but rather are
listed at the Vim command that usually causes this. So: >
:help E128
< takes you to the |:function| command
============================================================================== ==============================================================================

View File

@ -1,4 +1,4 @@
*various.txt* For Vim version 7.4. Last change: 2015 Nov 15 *various.txt* For Vim version 7.4. Last change: 2016 Jan 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -647,6 +647,7 @@ K Run a program to lookup the keyword under the
g CTRL-A Only when Vim was compiled with MEM_PROFILING defined g CTRL-A Only when Vim was compiled with MEM_PROFILING defined
(which is very rare): print memory usage statistics. (which is very rare): print memory usage statistics.
Only useful for debugging Vim. Only useful for debugging Vim.
For incrementing in Visual mode see |v_g_CTRL-A|.
============================================================================== ==============================================================================
2. Using Vim like less or more *less* 2. Using Vim like less or more *less*

View File

@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: APT config file " Language: APT config file
" Maintainer: Yann Amar <quidame@poivron.org> " Maintainer: Yann Amar <quidame@poivron.org>
" Last Change: 2013 Apr 12 " Last Change: 2015 Dec 22
" For version 5.x: Clear all syntax items " For version 5.x: Clear all syntax items
" For version 6.x and 7.x: Quit when a syntax file was already loaded " For version 6.x and 7.x: Quit when a syntax file was already loaded
@ -38,22 +38,22 @@ setlocal iskeyword+=/,-,.,_,+
" Incomplete keywords will be treated differently than completely bad strings: " Incomplete keywords will be treated differently than completely bad strings:
syn keyword aptconfGroupIncomplete syn keyword aptconfGroupIncomplete
\ a[cquire] a[ptitude] d[ebtags] d[ebug] d[ir] d[pkg] d[select] \ a[cquire] a[dequate] a[ptitude] a[ptlistbugs] d[ebtags] d[ebug]
\ o[rderlist] p[ackagemanager] p[kgcachegen] q[uiet] r[pm] \ d[ir] d[pkg] d[select] o[rderlist] p[ackagemanager] p[kgcachegen]
\ u[nattended-upgrade] \ q[uiet] r[pm] s[ynaptic] u[nattended-upgrade] w[hatmaps]
" Only the following keywords can be used at toplevel (to begin an option): " Only the following keywords can be used at toplevel (to begin an option):
syn keyword aptconfGroup syn keyword aptconfGroup
\ acquire apt aptitude debtags debug dir dpkg dselect \ acquire adequate apt aptitude aptlistbugs debtags debug
\ orderlist packagemanager pkgcachegen quiet rpm \ dir dpkg dselect orderlist packagemanager pkgcachegen
\ unattended-upgrade \ quiet rpm synaptic unattended-upgrade whatmaps
" Possible options for each group: " Possible options for each group:
" Acquire: {{{ " Acquire: {{{
syn keyword aptconfAcquire contained syn keyword aptconfAcquire contained
\ cdrom Check-Valid-Until CompressionTypes ForceHash ftp gpgv \ cdrom Check-Valid-Until CompressionTypes ForceHash ForceIPv4
\ GzipIndexes http https Languages Max-ValidTime Min-ValidTime PDiffs \ ForceIPv6 ftp gpgv GzipIndexes http https Languages Max-ValidTime
\ Queue-Mode Retries Source-Symlinks \ Min-ValidTime PDiffs Queue-Mode Retries Source-Symlinks
syn keyword aptconfAcquireCDROM contained syn keyword aptconfAcquireCDROM contained
\ AutoDetect CdromOnly Mount UMount \ AutoDetect CdromOnly Mount UMount
@ -62,14 +62,15 @@ syn keyword aptconfAcquireCompressionTypes contained
\ bz2 lzma gz Order \ bz2 lzma gz Order
syn keyword aptconfAcquireFTP contained syn keyword aptconfAcquireFTP contained
\ Passive Proxy ProxyLogin Timeout \ ForceExtended Passive Proxy ProxyLogin Timeout
syn keyword aptconfAcquireHTTP contained syn keyword aptconfAcquireHTTP contained
\ AllowRedirect Dl-Limit Max-Age No-Cache No-Store Pipeline-Depth \ AllowRedirect Dl-Limit Max-Age No-Cache No-Store Pipeline-Depth
\ Proxy Timeout User-Agent \ Proxy ProxyAutoDetect Proxy-Auto-Detect Timeout User-Agent
syn keyword aptconfAcquireHTTPS contained syn keyword aptconfAcquireHTTPS contained
\ CaInfo CaPath CrlFile IssuerCert SslCert SslForceVersion SslKey \ AllowRedirect CaInfo CaPath CrlFile Dl-Limit IssuerCert Max-Age
\ No-Cache No-Store Proxy SslCert SslForceVersion SslKey Timeout
\ Verify-Host Verify-Peer \ Verify-Host Verify-Peer
syn keyword aptconfAcquireMaxValidTime contained syn keyword aptconfAcquireMaxValidTime contained
@ -83,14 +84,21 @@ syn cluster aptconfAcquire_ contains=aptconfAcquire,
\ aptconfAcquireHTTP,aptconfAcquireHTTPS,aptconfAcquireMaxValidTime, \ aptconfAcquireHTTP,aptconfAcquireHTTPS,aptconfAcquireMaxValidTime,
\ aptconfAcquirePDiffs \ aptconfAcquirePDiffs
" }}} " }}}
" Adequate: {{{
syn keyword aptconfAdequate contained
\ Enabled
syn cluster aptconfAdequate_ contains=aptconfAdequate
" }}}
" Apt: {{{ " Apt: {{{
syn keyword aptconfApt contained syn keyword aptconfApt contained
\ Architecture Architectures Archive Authentication AutoRemove \ Architecture Architectures Archive Authentication AutoRemove
\ Build-Essential Cache Cache-Grow Cache-Limit Cache-Start CDROM \ Build-Essential Build-Profiles Cache Cache-Grow Cache-Limit
\ Changelogs Clean-Installed Compressor Default-Release \ Cache-Start CDROM Changelogs Clean-Installed Compressor
\ Force-LoopBreak Get Ignore-Hold Immediate-Configure \ Default-Release Force-LoopBreak Get Ignore-Hold Immediate-Configure
\ Install-Recommends Install-Suggests Keep-Fds List-Cleanup \ Install-Recommends Install-Suggests Keep-Fds List-Cleanup
\ NeverAutoRemove Never-MarkAuto-Sections Periodic Status-Fd Update \ Move-Autobit-Sections NeverAutoRemove Never-MarkAuto-Sections
\ Periodic Status-Fd Update VersionedKernelPackages
syn keyword aptconfAptAuthentication contained syn keyword aptconfAptAuthentication contained
\ TrustCDROM \ TrustCDROM
@ -124,11 +132,12 @@ syn keyword aptconfAptGet contained
syn keyword aptconfAptPeriodic contained syn keyword aptconfAptPeriodic contained
\ AutocleanInterval BackupArchiveInterval BackupLevel \ AutocleanInterval BackupArchiveInterval BackupLevel
\ Download-Upgradeable-Packages MaxAge MaxSize MinAge \ Download-Upgradeable-Packages Download-Upgradeable-Packages-Debdelta
\ Unattended-Upgrade Update-Package-Lists Verbose \ Enable MaxAge MaxSize MinAge Unattended-Upgrade Update-Package-Lists
\ Verbose
syn keyword aptconfAptUpdate contained syn keyword aptconfAptUpdate contained
\ Pre-Invoke Post-Invoke Post-Invoke-Success \ List-Refresh Pre-Invoke Post-Invoke Post-Invoke-Success
syn cluster aptconfApt_ contains=aptconfApt, syn cluster aptconfApt_ contains=aptconfApt,
\ aptconfAptAuthentication,aptconfAptAutoRemove,aptconfAptCache, \ aptconfAptAuthentication,aptconfAptAutoRemove,aptconfAptCache,
@ -240,6 +249,12 @@ syn cluster aptconfAptitude_ contains=aptconfAptitude,
\ aptconfAptitudeUIKeyBindings,aptconfAptitudeUIStyles, \ aptconfAptitudeUIKeyBindings,aptconfAptitudeUIStyles,
\ aptconfAptitudeUIStylesElements \ aptconfAptitudeUIStylesElements
" }}} " }}}
" AptListbugs: {{{
syn keyword aptconfAptListbugs contained
\ IgnoreRegexp Severities
syn cluster aptconfAptListbugs_ contains=aptconfAptListbugs
" }}}
" DebTags: {{{ " DebTags: {{{
syn keyword aptconfDebTags contained syn keyword aptconfDebTags contained
\ Vocabulary \ Vocabulary
@ -251,7 +266,8 @@ syn keyword aptconfDebug contained
\ Acquire aptcdrom BuildDeps Hashes IdentCdrom Nolocking \ Acquire aptcdrom BuildDeps Hashes IdentCdrom Nolocking
\ pkgAcquire pkgAutoRemove pkgCacheGen pkgDepCache pkgDPkgPM \ pkgAcquire pkgAutoRemove pkgCacheGen pkgDepCache pkgDPkgPM
\ pkgDPkgProgressReporting pkgInitialize pkgOrderList \ pkgDPkgProgressReporting pkgInitialize pkgOrderList
\ pkgPackageManager pkgPolicy pkgProblemResolver sourceList \ pkgPackageManager pkgPolicy pkgProblemResolver RunScripts
\ sourceList
syn keyword aptconfDebugAcquire contained syn keyword aptconfDebugAcquire contained
\ cdrom Ftp gpgv Http Https netrc \ cdrom Ftp gpgv Http Https netrc
@ -295,7 +311,7 @@ syn keyword aptconfDirMedia contained
\ MountPath \ MountPath
syn keyword aptconfDirState contained syn keyword aptconfDirState contained
\ cdroms extended_states Lists mirrors status \ cdroms extended_states Lists mirrors preferences status
syn cluster aptconfDir_ contains=aptconfDir, syn cluster aptconfDir_ contains=aptconfDir,
\ aptconfDirAptitude,aptconfDirBin,aptconfDirCache,aptconfDirEtc, \ aptconfDirAptitude,aptconfDirBin,aptconfDirCache,aptconfDirEtc,
@ -303,15 +319,16 @@ syn cluster aptconfDir_ contains=aptconfDir,
" }}} " }}}
" DPkg: {{{ " DPkg: {{{
syn keyword aptconfDPkg contained syn keyword aptconfDPkg contained
\ Build-Options Chroot-Directory ConfigurePending FlushSTDIN MaxArgs \ Build-Options Chroot-Directory ConfigurePending FlushSTDIN
\ MaxBytes NoTriggers options Pre-Install-Pkgs Pre-Invoke Post-Invoke \ MaxArgBytes MaxArgs MaxBytes NoTriggers options
\ Pre-Install-Pkgs Pre-Invoke Post-Invoke
\ Run-Directory StopOnError Tools TriggersPending \ Run-Directory StopOnError Tools TriggersPending
syn keyword aptconfDPkgTools contained syn keyword aptconfDPkgTools contained
\ Options Version \ adequate InfoFD Options Version
syn cluster aptconfDPkg_ contains=aptconfDPkg, syn cluster aptconfDPkg_ contains=aptconfDPkg,
\ aptconfDPkgOrderList,aptconfDPkgOrderListScore,aptconfDPkgTools \ aptconfDPkgTools
" }}} " }}}
" DSelect: {{{ " DSelect: {{{
syn keyword aptconfDSelect contained syn keyword aptconfDSelect contained
@ -353,23 +370,59 @@ syn keyword aptconfRpm contained
syn cluster aptconfRpm_ contains=aptconfRpm syn cluster aptconfRpm_ contains=aptconfRpm
" }}} " }}}
" Unattened Upgrade: {{{ " Synaptic: {{{
syn keyword aptconfSynaptic contained
\ AskQuitOnProceed AskRelated AutoCleanCache CleanCache DefaultDistro
\ delAction delHistory Download-Only ftpProxy ftpProxyPort httpProxy
\ httpProxyPort Install-Recommends LastSearchType Maximized noProxy
\ OneClickOnStatusActions ShowAllPkgInfoInMain showWelcomeDialog
\ ToolbarState undoStackSize update upgradeType useProxy UseStatusColors
\ UseTerminal useUserFont useUserTerminalFont ViewMode
\ availVerColumnPos availVerColumnVisible componentColumnPos
\ componentColumnVisible descrColumnPos descrColumnVisible
\ downloadSizeColumnPos downloadSizeColumnVisible hpanedPos
\ instVerColumnPos instVerColumnVisible instSizeColumnPos
\ instSizeColumnVisible nameColumnPos nameColumnVisible
\ sectionColumnPos sectionColumnVisible statusColumnPos
\ statusColumnVisible supportedColumnPos supportedColumnVisible
\ vpanedPos windowWidth windowHeight windowX windowY closeZvt
\ color-available color-available-locked color-broken color-downgrade
\ color-install color-installed-locked color-installed-outdated
\ color-installed-updated color-new color-purge color-reinstall
\ color-remove color-upgrade
syn keyword aptconfSynapticUpdate contained
\ last type
syn cluster aptconfSynaptic_ contains=aptconfSynaptic,
\ aptconfSynapticUpdate
" }}}
" Unattended Upgrade: {{{
syn keyword aptconfUnattendedUpgrade contained syn keyword aptconfUnattendedUpgrade contained
\ AutoFixInterruptedDpkg Automatic-Reboot InstallOnShutdown Mail \ AutoFixInterruptedDpkg Automatic-Reboot Automatic-Reboot-Time
\ MailOnlyOnError MinimalSteps Origins-Pattern Package-Blacklist \ Automatic-Reboot-WithUsers InstallOnShutdown Mail MailOnlyOnError
\ MinimalSteps Origins-Pattern Package-Blacklist
\ Remove-Unused-Dependencies \ Remove-Unused-Dependencies
syn cluster aptconfUnattendedUpgrade_ contains=aptconfUnattendedUpgrade syn cluster aptconfUnattendedUpgrade_ contains=aptconfUnattendedUpgrade
" }}} " }}}
" Whatmaps: {{{
syn keyword aptconfWhatmaps contained
\ Enable-Restart Security-Update-Origins
syn cluster aptconfWhatmaps_ contains=aptconfWhatmaps
" }}}
syn case match syn case match
" Now put all the keywords (and 'valid' options) in a single cluster: " Now put all the keywords (and 'valid' options) in a single cluster:
syn cluster aptconfOptions contains=aptconfRegexpOpt, syn cluster aptconfOptions contains=aptconfRegexpOpt,
\ @aptconfAcquire_,@aptconfApt_,@aptconfAptitude_,@aptconfDebTags_, \ @aptconfAcquire_,@aptconfAdequate_,@aptconfApt_,@aptconfAptitude_,
\ @aptconfDebug_,@aptconfDir_,@aptconfDPkg_,@aptconfDSelect_, \ @aptconfAptListbugs_,@aptconfDebTags_,@aptconfDebug_,@aptconfDir_,
\ @aptconfOrderList_,@aptconfPackageManager_,@aptconfPkgCacheGen_, \ @aptconfDPkg_,@aptconfDSelect_,@aptconfOrderList_,
\ @aptconfQuiet_,@aptconfRpm_,@aptconfUnattendedUpgrade_ \ @aptconfPackageManager_,@aptconfPkgCacheGen_,@aptconfQuiet_,
\ @aptconfRpm_,@aptconfSynaptic_,@aptconfUnattendedUpgrade_,
\ @aptconfWhatmaps_
" Syntax: " Syntax:
syn match aptconfSemiColon ';' syn match aptconfSemiColon ';'
@ -382,8 +435,11 @@ syn region aptconfInclude matchgroup=aptconfOperator start='::' end='::\|\s'me=
" Basic Syntax Errors: XXX avoid to generate false positives !!! " Basic Syntax Errors: XXX avoid to generate false positives !!!
" "
" * Invalid comment format (seems to not cause errors, but...): " * Undocumented inline comment. Since it is currently largely used, and does
syn match aptconfAsError display '^#.*' " not seem to cause trouble ('apt-config dump' never complains when # is used
" the same way than //) it has been moved to aptconfComment group. But it
" still needs to be defined here (i.e. before #clear and #include directives)
syn match aptconfComment '#.*' contains=@aptconfCommentSpecial
" "
" * When a semicolon is missing after a double-quoted string: " * When a semicolon is missing after a double-quoted string:
" There are some cases (for example in the Dir group of options, but not only) " There are some cases (for example in the Dir group of options, but not only)
@ -445,6 +501,8 @@ hi def link aptconfAcquireHTTPS aptconfOption
hi def link aptconfAcquireMaxValidTime aptconfOption hi def link aptconfAcquireMaxValidTime aptconfOption
hi def link aptconfAcquirePDiffs aptconfOption hi def link aptconfAcquirePDiffs aptconfOption
hi def link aptconfAdequate aptconfOption
hi def link aptconfApt aptconfOption hi def link aptconfApt aptconfOption
hi def link aptconfAptAuthentication aptconfOption hi def link aptconfAptAuthentication aptconfOption
hi def link aptconfAptAutoRemove aptconfOption hi def link aptconfAptAutoRemove aptconfOption
@ -471,6 +529,8 @@ hi def link aptconfAptitudeUIKeyBindings aptconfOption
hi def link aptconfAptitudeUIStyles aptconfOption hi def link aptconfAptitudeUIStyles aptconfOption
hi def link aptconfAptitudeUIStylesElements aptconfOption hi def link aptconfAptitudeUIStylesElements aptconfOption
hi def link aptconfAptListbugs aptconfOption
hi def link aptconfDebTags aptconfOption hi def link aptconfDebTags aptconfOption
hi def link aptconfDebug aptconfOption hi def link aptconfDebug aptconfOption
@ -504,8 +564,13 @@ hi def link aptconfQuiet aptconfOption
hi def link aptconfRpm aptconfOption hi def link aptconfRpm aptconfOption
hi def link aptconfSynaptic aptconfOption
hi def link aptconfSynapticUpdate aptconfOption
hi def link aptconfUnattendedUpgrade aptconfOption hi def link aptconfUnattendedUpgrade aptconfOption
hi def link aptconfWhatmaps aptconfOption
let b:current_syntax = "aptconf" let b:current_syntax = "aptconf"
let &cpo = s:cpo_save let &cpo = s:cpo_save

View File

@ -2,7 +2,7 @@
" Language: reStructuredText documentation format " Language: reStructuredText documentation format
" Maintainer: Marshall Ward <marshall.ward@gmail.com> " Maintainer: Marshall Ward <marshall.ward@gmail.com>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2015-09-07 " Latest Revision: 2016-01-05
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@ -13,8 +13,6 @@ set cpo&vim
syn case ignore syn case ignore
syn match rstSections "^\%(\([=`:.'"~^_*+#-]\)\1\+\n\)\=.\+\n\([=`:.'"~^_*+#-]\)\2\+$"
syn match rstTransition /^[=`:.'"~^_*+#-]\{4,}\s*$/ syn match rstTransition /^[=`:.'"~^_*+#-]\{4,}\s*$/
syn cluster rstCruft contains=rstEmphasis,rstStrongEmphasis, syn cluster rstCruft contains=rstEmphasis,rstStrongEmphasis,
@ -123,6 +121,8 @@ call s:DefineInlineMarkup('InlineLiteral', '``', "", '``')
call s:DefineInlineMarkup('SubstitutionReference', '|', '|', '|_\{0,2}') call s:DefineInlineMarkup('SubstitutionReference', '|', '|', '|_\{0,2}')
call s:DefineInlineMarkup('InlineInternalTargets', '_`', '`', '`') call s:DefineInlineMarkup('InlineInternalTargets', '_`', '`', '`')
syn match rstSections "^\%(\([=`:.'"~^_*+#-]\)\1\+\n\)\=.\+\n\([=`:.'"~^_*+#-]\)\2\+$"
" TODO: Cant remember why these two cant be defined like the ones above. " TODO: Cant remember why these two cant be defined like the ones above.
execute 'syn match rstFootnoteReference contains=@NoSpell' . execute 'syn match rstFootnoteReference contains=@NoSpell' .
\ ' +\[\%(\d\+\|#\%(' . s:ReferenceName . '\)\=\|\*\)\]_+' \ ' +\[\%(\d\+\|#\%(' . s:ReferenceName . '\)\=\|\*\)\]_+'

View File

@ -2,9 +2,10 @@
" Language: OpenSSH client configuration file (ssh_config) " Language: OpenSSH client configuration file (ssh_config)
" Author: David Necas (Yeti) " Author: David Necas (Yeti)
" Maintainer: Dominik Fischer <d dot f dot fischer at web dot de> " Maintainer: Dominik Fischer <d dot f dot fischer at web dot de>
" Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de> " Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
" Last Change: 2015 Dec 3 " Contributor: Karsten Hopp <karsten@redhat.com>
" SSH Version: 7.0 " Last Change: 2016 Jan 15
" SSH Version: 7.1
" "
" Setup " Setup
@ -69,8 +70,8 @@ syn keyword sshconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1
syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7 syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
syn keyword sshconfigAddressFamily inet inet6 syn keyword sshconfigAddressFamily inet inet6
syn match sshconfigIPQoS "af1[1234]" syn match sshconfigIPQoS "af1[123]"
syn match sshconfigIPQoS "af2[23]" syn match sshconfigIPQoS "af2[123]"
syn match sshconfigIPQoS "af3[123]" syn match sshconfigIPQoS "af3[123]"
syn match sshconfigIPQoS "af4[123]" syn match sshconfigIPQoS "af4[123]"
syn match sshconfigIPQoS "cs[0-7]" syn match sshconfigIPQoS "cs[0-7]"
@ -106,6 +107,10 @@ syn keyword sshconfigMatch canonical exec host originalhost user localuser all
syn keyword sshconfigKeyword AddressFamily syn keyword sshconfigKeyword AddressFamily
syn keyword sshconfigKeyword BatchMode syn keyword sshconfigKeyword BatchMode
syn keyword sshconfigKeyword BindAddress syn keyword sshconfigKeyword BindAddress
syn keyword sshconfigKeyword CanonicalDomains
syn keyword sshconfigKeyword CanonicalizeFallbackLocal
syn keyword sshconfigKeyword CanonicalizeHostname
syn keyword sshconfigKeyword CanonicalizeMaxDots
syn keyword sshconfigKeyword ChallengeResponseAuthentication syn keyword sshconfigKeyword ChallengeResponseAuthentication
syn keyword sshconfigKeyword CheckHostIP syn keyword sshconfigKeyword CheckHostIP
syn keyword sshconfigKeyword Cipher syn keyword sshconfigKeyword Cipher
@ -145,6 +150,8 @@ syn keyword sshconfigKeyword HostbasedKeyTypes
syn keyword sshconfigKeyword IPQoS syn keyword sshconfigKeyword IPQoS
syn keyword sshconfigKeyword IdentitiesOnly syn keyword sshconfigKeyword IdentitiesOnly
syn keyword sshconfigKeyword IdentityFile syn keyword sshconfigKeyword IdentityFile
syn keyword sshconfigKeyword IgnoreUnknown
syn keyword sshconfigKeyword IPQoS
syn keyword sshconfigKeyword KbdInteractiveAuthentication syn keyword sshconfigKeyword KbdInteractiveAuthentication
syn keyword sshconfigKeyword KbdInteractiveDevices syn keyword sshconfigKeyword KbdInteractiveDevices
syn keyword sshconfigKeyword KexAlgorithms syn keyword sshconfigKeyword KexAlgorithms
@ -182,6 +189,7 @@ syn keyword sshconfigKeyword UseBlacklistedKeys
syn keyword sshconfigKeyword UsePrivilegedPort syn keyword sshconfigKeyword UsePrivilegedPort
syn keyword sshconfigKeyword User syn keyword sshconfigKeyword User
syn keyword sshconfigKeyword UserKnownHostsFile syn keyword sshconfigKeyword UserKnownHostsFile
syn keyword sshconfigKeyword UseRoaming
syn keyword sshconfigKeyword VerifyHostKeyDNS syn keyword sshconfigKeyword VerifyHostKeyDNS
syn keyword sshconfigKeyword VisualHostKey syn keyword sshconfigKeyword VisualHostKey
syn keyword sshconfigKeyword XAuthLocation syn keyword sshconfigKeyword XAuthLocation

View File

@ -4,9 +4,10 @@
" Maintainer: Dominik Fischer <d dot f dot fischer at web dot de> " Maintainer: Dominik Fischer <d dot f dot fischer at web dot de>
" Contributor: Thilo Six " Contributor: Thilo Six
" Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de> " Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
" Contributor: Karsten Hopp <karsten@redhat.com>
" Originally: 2009-07-09 " Originally: 2009-07-09
" Last Change: 2015 Dec 3 " Last Change: 2016 Jan 12
" SSH Version: 7.0 " SSH Version: 7.1
" "
" Setup " Setup
@ -65,8 +66,8 @@ syn keyword sshdconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
syn keyword sshdconfigCompression delayed syn keyword sshdconfigCompression delayed
syn match sshdconfigIPQoS "af1[1234]" syn match sshdconfigIPQoS "af1[123]"
syn match sshdconfigIPQoS "af2[23]" syn match sshdconfigIPQoS "af2[123]"
syn match sshdconfigIPQoS "af3[123]" syn match sshdconfigIPQoS "af3[123]"
syn match sshdconfigIPQoS "af4[123]" syn match sshdconfigIPQoS "af4[123]"
syn match sshdconfigIPQoS "cs[0-7]" syn match sshdconfigIPQoS "cs[0-7]"
@ -109,6 +110,7 @@ syn keyword sshdconfigKeyword AllowGroups
syn keyword sshdconfigKeyword AllowStreamLocalForwarding syn keyword sshdconfigKeyword AllowStreamLocalForwarding
syn keyword sshdconfigKeyword AllowTcpForwarding syn keyword sshdconfigKeyword AllowTcpForwarding
syn keyword sshdconfigKeyword AllowUsers syn keyword sshdconfigKeyword AllowUsers
syn keyword sshdconfigKeyword AuthenticationMethods
syn keyword sshdconfigKeyword AuthorizedKeysFile syn keyword sshdconfigKeyword AuthorizedKeysFile
syn keyword sshdconfigKeyword AuthorizedKeysCommand syn keyword sshdconfigKeyword AuthorizedKeysCommand
syn keyword sshdconfigKeyword AuthorizedKeysCommandUser syn keyword sshdconfigKeyword AuthorizedKeysCommandUser
@ -132,6 +134,7 @@ syn keyword sshdconfigKeyword GSSAPIStrictAcceptorCheck
syn keyword sshdconfigKeyword GatewayPorts syn keyword sshdconfigKeyword GatewayPorts
syn keyword sshdconfigKeyword HostCertificate syn keyword sshdconfigKeyword HostCertificate
syn keyword sshdconfigKeyword HostKey syn keyword sshdconfigKeyword HostKey
syn keyword sshdconfigKeyword HostKeyAgent
syn keyword sshdconfigKeyword HostKeyAlgorithms syn keyword sshdconfigKeyword HostKeyAlgorithms
syn keyword sshdconfigKeyword HostbasedAcceptedKeyTypes syn keyword sshdconfigKeyword HostbasedAcceptedKeyTypes
syn keyword sshdconfigKeyword HostbasedAuthentication syn keyword sshdconfigKeyword HostbasedAuthentication