Update help files.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 7.4. Last change: 2016 Jan 03
|
*editing.txt* For Vim version 7.4. Last change: 2016 Jan 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -639,6 +639,7 @@ list of the current window.
|
|||||||
:0argadd x x a b c
|
:0argadd x x a b c
|
||||||
:1argadd x a x b c
|
:1argadd x a x b c
|
||||||
:$argadd x a b c x
|
:$argadd x a b c x
|
||||||
|
And after the last one:
|
||||||
:+2argadd y a b c x y
|
:+2argadd y a b c x y
|
||||||
There is no check for duplicates, it is possible to
|
There is no check for duplicates, it is possible to
|
||||||
add a file to the argument list twice.
|
add a file to the argument list twice.
|
||||||
@ -1458,6 +1459,16 @@ using zip, "[blowfish]" when using blowfish, etc.
|
|||||||
When writing an undo file, the same key and method will be used for the text
|
When writing an undo file, the same key and method will be used for the text
|
||||||
in the undo file. |persistent-undo|.
|
in the undo file. |persistent-undo|.
|
||||||
|
|
||||||
|
To test for blowfish support you can use these conditions: >
|
||||||
|
has('crypt-blowfish')
|
||||||
|
has('crypt-blowfish2')
|
||||||
|
This works since Vim 7.4.1099 while blowfish support was added earlier.
|
||||||
|
Thus the condition failing doesn't mean blowfish is not supported. You can
|
||||||
|
test for blowfish with: >
|
||||||
|
v:version >= 703
|
||||||
|
And for blowfish2 with: >
|
||||||
|
v:version > 704 || (v:version == 704 && has('patch401'))
|
||||||
|
<
|
||||||
*E817* *E818* *E819* *E820*
|
*E817* *E818* *E819* *E820*
|
||||||
When encryption does not work properly, you would be able to write your text
|
When encryption does not work properly, you would be able to write your text
|
||||||
to a file and never be able to read it back. Therefore a test is performed to
|
to a file and never be able to read it back. Therefore a test is performed to
|
||||||
|
|||||||
@ -873,7 +873,7 @@ cursor: >
|
|||||||
:let c = getline(".")[col(".") - 1]
|
:let c = getline(".")[col(".") - 1]
|
||||||
|
|
||||||
If the length of the String is less than the index, the result is an empty
|
If the length of the String is less than the index, the result is an empty
|
||||||
String. A negative index always results in an empty string (reason: backwards
|
String. A negative index always results in an empty string (reason: backward
|
||||||
compatibility). Use [-1:] to get the last byte.
|
compatibility). Use [-1:] to get the last byte.
|
||||||
|
|
||||||
If expr8 is a |List| then it results the item at index expr1. See |list-index|
|
If expr8 is a |List| then it results the item at index expr1. See |list-index|
|
||||||
@ -4563,8 +4563,8 @@ matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]])
|
|||||||
respectively. If the {id} argument is not specified or -1,
|
respectively. If the {id} argument is not specified or -1,
|
||||||
|matchadd()| automatically chooses a free ID.
|
|matchadd()| automatically chooses a free ID.
|
||||||
|
|
||||||
The optional {dict} argmument allows for further custom
|
The optional {dict} argument allows for further custom
|
||||||
values. Currently this is used to specify a match specifc
|
values. Currently this is used to specify a match specific
|
||||||
conceal character that will be shown for |hl-Conceal|
|
conceal character that will be shown for |hl-Conceal|
|
||||||
highlighted matches. The dict can have the following members:
|
highlighted matches. The dict can have the following members:
|
||||||
|
|
||||||
@ -4797,9 +4797,9 @@ pathshorten({expr}) *pathshorten()*
|
|||||||
perleval({expr}) *perleval()*
|
perleval({expr}) *perleval()*
|
||||||
Evaluate Perl expression {expr} in scalar context and return
|
Evaluate Perl expression {expr} in scalar context and return
|
||||||
its result converted to Vim data structures. If value can't be
|
its result converted to Vim data structures. If value can't be
|
||||||
converted, it returned as string Perl representation.
|
converted, it is returned as a string Perl representation.
|
||||||
Note: If you want a array or hash, {expr} must returns an
|
Note: If you want an array or hash, {expr} must return a
|
||||||
reference of it.
|
reference to it.
|
||||||
Example: >
|
Example: >
|
||||||
:echo perleval('[1 .. 4]')
|
:echo perleval('[1 .. 4]')
|
||||||
< [1, 2, 3, 4]
|
< [1, 2, 3, 4]
|
||||||
@ -5319,7 +5319,7 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
|
|||||||
|
|
||||||
'ignorecase', 'smartcase' and 'magic' are used.
|
'ignorecase', 'smartcase' and 'magic' are used.
|
||||||
|
|
||||||
When the 'z' flag is not given seaching always starts in
|
When the 'z' flag is not given, searching always starts in
|
||||||
column zero and then matches before the cursor are skipped.
|
column zero and then matches before the cursor are skipped.
|
||||||
When the 'c' flag is present in 'cpo' the next search starts
|
When the 'c' flag is present in 'cpo' the next search starts
|
||||||
after the match. Without the 'c' flag the next search starts
|
after the match. Without the 'c' flag the next search starts
|
||||||
@ -7681,7 +7681,7 @@ This does NOT work: >
|
|||||||
From Vim version 4.5 until 5.0, every Ex command in
|
From Vim version 4.5 until 5.0, every Ex command in
|
||||||
between the ":if" and ":endif" is ignored. These two
|
between the ":if" and ":endif" is ignored. These two
|
||||||
commands were just to allow for future expansions in a
|
commands were just to allow for future expansions in a
|
||||||
backwards compatible way. Nesting was allowed. Note
|
backward compatible way. Nesting was allowed. Note
|
||||||
that any ":else" or ":elseif" was ignored, the "else"
|
that any ":else" or ":elseif" was ignored, the "else"
|
||||||
part was not executed either.
|
part was not executed either.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*if_mzsch.txt* For Vim version 7.4. Last change: 2012 Dec 17
|
*if_mzsch.txt* For Vim version 7.4. Last change: 2016 Jan 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sergey Khorev
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*mlang.txt* For Vim version 7.4. Last change: 2012 Jan 15
|
*mlang.txt* For Vim version 7.4. Last change: 2016 Jan 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -97,13 +97,15 @@ If you used the self-installing .exe file, message translations should work
|
|||||||
already. Otherwise get the libintl.dll file if you don't have it yet:
|
already. Otherwise get the libintl.dll file if you don't have it yet:
|
||||||
|
|
||||||
http://sourceforge.net/projects/gettext
|
http://sourceforge.net/projects/gettext
|
||||||
|
Or:
|
||||||
|
https://mlocati.github.io/gettext-iconv-windows/
|
||||||
|
|
||||||
This also contains tools xgettext, msgformat and others.
|
This also contains tools xgettext, msgformat and others.
|
||||||
|
|
||||||
libintl.dll should be placed in same directory with (g)vim.exe, or some
|
libintl.dll should be placed in same directory with (g)vim.exe, or some
|
||||||
place where PATH environment value describe. Message files (vim.mo)
|
place where PATH environment value describe. Vim also finds libintl-8.dll.
|
||||||
have to be placed in "$VIMRUNTIME/lang/xx/LC_MESSAGES", where "xx" is the
|
Message files (vim.mo) have to be placed in "$VIMRUNTIME/lang/xx/LC_MESSAGES",
|
||||||
abbreviation of the language (mostly two letters).
|
where "xx" is the abbreviation of the language (mostly two letters).
|
||||||
|
|
||||||
If you write your own translations you need to generate the .po file and
|
If you write your own translations you need to generate the .po file and
|
||||||
convert it to a .mo file. You need to get the source distribution and read
|
convert it to a .mo file. You need to get the source distribution and read
|
||||||
|
|||||||
@ -3367,12 +3367,18 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
|||||||
== change.txt /*==*
|
== change.txt /*==*
|
||||||
> change.txt /*>*
|
> change.txt /*>*
|
||||||
>> change.txt /*>>*
|
>> change.txt /*>>*
|
||||||
|
>backtrace repeat.txt /*>backtrace*
|
||||||
|
>bt repeat.txt /*>bt*
|
||||||
>cont repeat.txt /*>cont*
|
>cont repeat.txt /*>cont*
|
||||||
|
>down repeat.txt /*>down*
|
||||||
>finish repeat.txt /*>finish*
|
>finish repeat.txt /*>finish*
|
||||||
|
>frame repeat.txt /*>frame*
|
||||||
>interrupt repeat.txt /*>interrupt*
|
>interrupt repeat.txt /*>interrupt*
|
||||||
>next repeat.txt /*>next*
|
>next repeat.txt /*>next*
|
||||||
>quit repeat.txt /*>quit*
|
>quit repeat.txt /*>quit*
|
||||||
>step repeat.txt /*>step*
|
>step repeat.txt /*>step*
|
||||||
|
>up repeat.txt /*>up*
|
||||||
|
>where repeat.txt /*>where*
|
||||||
? pattern.txt /*?*
|
? pattern.txt /*?*
|
||||||
?<CR> pattern.txt /*?<CR>*
|
?<CR> pattern.txt /*?<CR>*
|
||||||
@ repeat.txt /*@*
|
@ repeat.txt /*@*
|
||||||
@ -7086,6 +7092,7 @@ mzscheme-examples if_mzsch.txt /*mzscheme-examples*
|
|||||||
mzscheme-funcref if_mzsch.txt /*mzscheme-funcref*
|
mzscheme-funcref if_mzsch.txt /*mzscheme-funcref*
|
||||||
mzscheme-mzeval if_mzsch.txt /*mzscheme-mzeval*
|
mzscheme-mzeval if_mzsch.txt /*mzscheme-mzeval*
|
||||||
mzscheme-sandbox if_mzsch.txt /*mzscheme-sandbox*
|
mzscheme-sandbox if_mzsch.txt /*mzscheme-sandbox*
|
||||||
|
mzscheme-setup if_mzsch.txt /*mzscheme-setup*
|
||||||
mzscheme-threads if_mzsch.txt /*mzscheme-threads*
|
mzscheme-threads if_mzsch.txt /*mzscheme-threads*
|
||||||
mzscheme-vim if_mzsch.txt /*mzscheme-vim*
|
mzscheme-vim if_mzsch.txt /*mzscheme-vim*
|
||||||
mzscheme-vimext if_mzsch.txt /*mzscheme-vimext*
|
mzscheme-vimext if_mzsch.txt /*mzscheme-vimext*
|
||||||
@ -7531,6 +7538,7 @@ perl-overview if_perl.txt /*perl-overview*
|
|||||||
perl-patterns pattern.txt /*perl-patterns*
|
perl-patterns pattern.txt /*perl-patterns*
|
||||||
perl-using if_perl.txt /*perl-using*
|
perl-using if_perl.txt /*perl-using*
|
||||||
perl.vim syntax.txt /*perl.vim*
|
perl.vim syntax.txt /*perl.vim*
|
||||||
|
perleval() eval.txt /*perleval()*
|
||||||
persistent-undo undo.txt /*persistent-undo*
|
persistent-undo undo.txt /*persistent-undo*
|
||||||
pexpr-option print.txt /*pexpr-option*
|
pexpr-option print.txt /*pexpr-option*
|
||||||
pfn-option print.txt /*pfn-option*
|
pfn-option print.txt /*pfn-option*
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.4. Last change: 2016 Jan 15
|
*todo.txt* For Vim version 7.4. Last change: 2016 Jan 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -97,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)
|
||||||
|
|
||||||
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
|
||||||
(Dominique Pelle, 2015 Nov 6)
|
(Dominique Pelle, 2015 Nov 6)
|
||||||
|
|
||||||
@ -125,42 +123,16 @@ 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.
|
||||||
>
|
>
|
||||||
Can src/GvimExt/Make_cyg.mak be removed?
|
|
||||||
Same for src/xxd/Make_cyg.mak
|
|
||||||
|
|
||||||
When t_Co is changed from termresponse, the OptionSet autocmmand event isn't
|
When t_Co is changed from termresponse, the OptionSet autocmmand event isn't
|
||||||
triggered. Use the code from the end of set_num_option() in
|
triggered. Use the code from the end of set_num_option() in
|
||||||
set_color_count().
|
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)
|
||||||
|
|
||||||
Patch for explaining the help. (Christian Brabandt, 2015 Jan 8)
|
|
||||||
Should be in the user manual?
|
|
||||||
|
|
||||||
Patch to recognize string slice for variable followed by colon.
|
|
||||||
(Hirohito Higashi, 2015 Nov 24)
|
|
||||||
|
|
||||||
Patch to add debug backtrace. (Alberto Fanjul, 2015 Sep 27)
|
|
||||||
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
|
|
||||||
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.
|
||||||
|
|
||||||
@ -171,19 +143,12 @@ 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,
|
||||||
2016 Jan 11.
|
2016 Jan 11.
|
||||||
|
|
||||||
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)
|
|
||||||
|
|
||||||
Value returned by virtcol() changes depending on how lines wrap. This is
|
Value returned by virtcol() changes depending on how lines wrap. This is
|
||||||
inconsistent with the documentation.
|
inconsistent with the documentation.
|
||||||
|
|
||||||
Patch to add perleval(). (Damien, 2015 Dec 8, update 2016 Jan 4)
|
|
||||||
|
|
||||||
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
||||||
'cursorline'/'cursorcolumn' are a lot faster?
|
'cursorline'/'cursorcolumn' are a lot faster?
|
||||||
|
|
||||||
Patch to add window and tab arguments to getcwd(). (Thinca, 2015 Nov 15)
|
|
||||||
|
|
||||||
Build with Python on Mac does not always use the right library.
|
Build with Python on Mac does not always use the right library.
|
||||||
(Kazunobu Kuriyama, 2015 Mar 28)
|
(Kazunobu Kuriyama, 2015 Mar 28)
|
||||||
|
|
||||||
@ -286,7 +251,7 @@ Is this the right solution? Need to cleanup langmap behavior:
|
|||||||
- Remove LANGMAP_ADJUST() in other parts of the code. Make sure the mode is
|
- Remove LANGMAP_ADJUST() in other parts of the code. Make sure the mode is
|
||||||
covered by the above change.
|
covered by the above change.
|
||||||
So that replaying the register doesn't use keymap/langmap and still does the
|
So that replaying the register doesn't use keymap/langmap and still does the
|
||||||
same thing. Remarks on issue 543.
|
same thing. Remarks on issue 543 (Roland Puntaier).
|
||||||
|
|
||||||
Patch to add grepfile(). (Scott Prager, 2015 May 26)
|
Patch to add grepfile(). (Scott Prager, 2015 May 26)
|
||||||
Work in progress.
|
Work in progress.
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*usr_02.txt* For Vim version 7.4. Last change: 2016 Jan 15
|
*usr_02.txt* For Vim version 7.4. Last change: 2016 Jan 16
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@ -554,38 +554,42 @@ Summary: *help-summary* >
|
|||||||
8) Ex-commands always start with ":", so to go to the :s command help: >
|
8) Ex-commands always start with ":", so to go to the :s command help: >
|
||||||
:help :s
|
:help :s
|
||||||
|
|
||||||
9) Key combinations. They usually start with a single letter indicating
|
9) Commands specifically for debugging start with ">". To go to to the help
|
||||||
the mode for which they can be used. E.g.: >
|
for the "cont" debug command: >
|
||||||
:help i_CTRL-X
|
:help >cont
|
||||||
< takes you to the family of Ctrl-X commands for insert mode which can be
|
|
||||||
used to auto complete different things. Note, that certain keys will
|
|
||||||
always be written the same, e.g. Control will always be CTRL.
|
|
||||||
For normal mode commands there is no prefix and the topic is available at
|
|
||||||
:h CTRL-<Letter>. E.g. >
|
|
||||||
:help CTRL-W
|
|
||||||
< In contrast >
|
|
||||||
: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
|
10) Key combinations. They usually start with a single letter indicating
|
||||||
|
the mode for which they can be used. E.g.: >
|
||||||
|
:help i_CTRL-X
|
||||||
|
< takes you to the family of Ctrl-X commands for insert mode which can be
|
||||||
|
used to auto complete different things. Note, that certain keys will
|
||||||
|
always be written the same, e.g. Control will always be CTRL.
|
||||||
|
For normal mode commands there is no prefix and the topic is available at
|
||||||
|
:h CTRL-<Letter>. E.g. >
|
||||||
|
:help CTRL-W
|
||||||
|
< In contrast >
|
||||||
|
: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"
|
||||||
|
|
||||||
|
11) Regexp items always start with /. So to get help for the "\+" quantifier
|
||||||
in Vim regexes: >
|
in Vim regexes: >
|
||||||
:help /\+
|
:help /\+
|
||||||
< If you need to know everything about regular expressions, start reading
|
< If you need to know everything about regular expressions, start reading
|
||||||
at: >
|
at: >
|
||||||
:help pattern.txt
|
:help pattern.txt
|
||||||
|
|
||||||
11) Registers always start with "quote". To find out about the special ":"
|
12) Registers always start with "quote". To find out about the special ":"
|
||||||
register: >
|
register: >
|
||||||
:help quote:
|
:help quote:
|
||||||
|
|
||||||
12) Vim Script (VimL) is available at >
|
13) Vim Script (VimL) is available at >
|
||||||
:help eval.txt
|
:help eval.txt
|
||||||
< Certain aspects of the language are available at :h expr-X where "X" is a
|
< Certain aspects of the language are available at :h expr-X where "X" is a
|
||||||
single letter. E.g. >
|
single letter. E.g. >
|
||||||
@ -600,7 +604,7 @@ Summary: *help-summary* >
|
|||||||
< talks about the append VimL function rather than how to append text in the
|
< talks about the append VimL function rather than how to append text in the
|
||||||
current buffer.
|
current buffer.
|
||||||
|
|
||||||
13) Mappings are talked about in the help page :h |map.txt|. Use >
|
14) Mappings are talked about in the help page :h |map.txt|. Use >
|
||||||
:help mapmode-i
|
:help mapmode-i
|
||||||
< to find out about the |:imap| command. Also use :map-topic
|
< to find out about the |:imap| command. Also use :map-topic
|
||||||
to find out about certain subtopics particular for mappings. e.g: >
|
to find out about certain subtopics particular for mappings. e.g: >
|
||||||
@ -609,19 +613,19 @@ Summary: *help-summary* >
|
|||||||
:help map-bar
|
:help map-bar
|
||||||
< for how the '|' is handled in mappings.
|
< for how the '|' is handled in mappings.
|
||||||
|
|
||||||
14) Command definitions are talked about :h command-topic, so use >
|
15) Command definitions are talked about :h command-topic, so use >
|
||||||
:help command-bar
|
:help command-bar
|
||||||
< to find out about the '!' argument for custom commands.
|
< to find out about the '!' argument for custom commands.
|
||||||
|
|
||||||
15) Window management commands always start with CTRL-W, so you find the
|
16) Window management commands always start with CTRL-W, so you find the
|
||||||
corresponding help at :h CTRL-W_letter. E.g. >
|
corresponding help at :h CTRL-W_letter. E.g. >
|
||||||
:help CTRL-W_p
|
:help CTRL-W_p
|
||||||
< for moving the previous accessed window). You can also access >
|
< for moving the previous accessed window. You can also access >
|
||||||
:help windows.txt
|
:help windows.txt
|
||||||
< and read your way through if you are looking for window handling
|
< and read your way through if you are looking for window handling
|
||||||
commands.
|
commands.
|
||||||
|
|
||||||
16) Use |:helpgrep| to search in all help pages (and also of any installed
|
17) Use |:helpgrep| to search in all help pages (and also of any installed
|
||||||
plugins). See |:helpgrep| for how to use it.
|
plugins). See |:helpgrep| for how to use it.
|
||||||
To search for a topic: >
|
To search for a topic: >
|
||||||
:helpgrep topic
|
:helpgrep topic
|
||||||
@ -632,7 +636,7 @@ Summary: *help-summary* >
|
|||||||
:copen
|
:copen
|
||||||
< Move around to the match you like and press Enter to jump to that help.
|
< 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
|
18) 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
|
friendly way. Start at |usr_toc.txt| to find the table of content (as you
|
||||||
might have guessed): >
|
might have guessed): >
|
||||||
:help usr_toc.txt
|
:help usr_toc.txt
|
||||||
@ -645,31 +649,31 @@ Summary: *help-summary* >
|
|||||||
:help 10.1
|
:help 10.1
|
||||||
< goes to chapter 10.1 in |usr_10.txt| and talks about recording macros.
|
< goes to chapter 10.1 in |usr_10.txt| and talks about recording macros.
|
||||||
|
|
||||||
18) Highlighting groups. Always start with hl-groupname. E.g. >
|
19) Highlighting groups. Always start with hl-groupname. E.g. >
|
||||||
:help hl-WarningMsg
|
:help hl-WarningMsg
|
||||||
< talks about the WarningMsg highlighting group.
|
< talks about the WarningMsg highlighting group.
|
||||||
|
|
||||||
19) Syntax highlighting is namespaced to :syn-topic e.g. >
|
20) Syntax highlighting is namespaced to :syn-topic e.g. >
|
||||||
:help :syn-conceal
|
:help :syn-conceal
|
||||||
< talks about the conceal argument for the :syn command.
|
< talks about the conceal argument for the :syn command.
|
||||||
|
|
||||||
20) Quickfix commands usually start with :c while location list commands
|
21) Quickfix commands usually start with :c while location list commands
|
||||||
usually start with :l
|
usually start with :l
|
||||||
|
|
||||||
21) Autocommand events can be found by their name: >
|
22) Autocommand events can be found by their name: >
|
||||||
:help BufWinLeave
|
:help BufWinLeave
|
||||||
< To see all possible events: >
|
< To see all possible events: >
|
||||||
:help autocommands-events
|
:help autocommands-events
|
||||||
|
|
||||||
22) Command-line switches always start with "-". So for the help of the -f
|
23) Command-line switches always start with "-". So for the help of the -f
|
||||||
command switch of Vim use: >
|
command switch of Vim use: >
|
||||||
:help -f
|
:help -f
|
||||||
|
|
||||||
23) Optional features always start with "+". To find out about the
|
24) Optional features always start with "+". To find out about the
|
||||||
conceal feature use: >
|
conceal feature use: >
|
||||||
:help +conceal
|
:help +conceal
|
||||||
|
|
||||||
24) Documentation for included filetype specific functionality is usually
|
25) Documentation for included filetype specific functionality is usually
|
||||||
available in the form ft-<filetype>-<functionality>. So >
|
available in the form ft-<filetype>-<functionality>. So >
|
||||||
:help ft-c-syntax
|
:help ft-c-syntax
|
||||||
< talks about the C syntax file and the option it provides. Sometimes,
|
< talks about the C syntax file and the option it provides. Sometimes,
|
||||||
@ -679,7 +683,7 @@ Summary: *help-summary* >
|
|||||||
:help ft-tex-plugin
|
:help ft-tex-plugin
|
||||||
< are available.
|
< are available.
|
||||||
|
|
||||||
25) Error and Warning codes can be looked up directly in the help. So >
|
26) Error and Warning codes can be looked up directly in the help. So >
|
||||||
:help E297
|
:help E297
|
||||||
< takes you exactly to the description of the swap error message and >
|
< takes you exactly to the description of the swap error message and >
|
||||||
:help W10
|
:help W10
|
||||||
|
|||||||
Reference in New Issue
Block a user