Mercurial > vim
diff runtime/doc/tagsrch.txt @ 16553:0e473e9e70c2 v8.1.1280
patch 8.1.1280: remarks about functionality not in Vi clutters the help
commit https://github.com/vim/vim/commit/25c9c680ec4dfbb51f4ef21c3460a48d3c67ffc8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 5 18:13:34 2019 +0200
patch 8.1.1280: remarks about functionality not in Vi clutters the help
Problem: Remarks about functionality not in Vi clutters the help.
Solution: Move all info about what is new in Vim or already existed in Vi to
vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add
"noet" to the help files modeline. Also include many other help
file improvements.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 May 2019 18:15:06 +0200 |
parents | 54ffc82f38a8 |
children | 1eaf34420bb3 |
line wrap: on
line diff
--- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -1,4 +1,4 @@ -*tagsrch.txt* For Vim version 8.1. Last change: 2019 Apr 28 +*tagsrch.txt* For Vim version 8.1. Last change: 2019 May 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -60,7 +60,7 @@ CTRL-] Jump to the definition of the k *v_CTRL-]* {Visual}CTRL-] Same as ":tag {name}", where {name} is the text that - is highlighted. {not in Vi} + is highlighted. *telnet-CTRL-]* CTRL-] is the default telnet escape key. When you type CTRL-] to jump to a @@ -112,18 +112,18 @@ Tags are only pushed onto the stack when g<RightMouse> *g<RightMouse>* <C-RightMouse> *<C-RightMouse>* *CTRL-T* CTRL-T Jump to [count] older entry in the tag stack - (default 1). {not in Vi} + (default 1). *:po* *:pop* *E555* *E556* :[count]po[p][!] Jump to [count] older entry in tag stack (default 1). - See |tag-!| for [!]. {not in Vi} + See |tag-!| for [!]. :[count]ta[g][!] Jump to [count] newer entry in tag stack (default 1). - See |tag-!| for [!]. {not in Vi} + See |tag-!| for [!]. *:tags* :tags Show the contents of the tag stack. The active - entry is marked with a '>'. {not in Vi} + entry is marked with a '>'. The output of ":tags" looks like this: @@ -204,7 +204,7 @@ the same entry. the current position in the list (if there is one). [name] can be a regexp pattern, see |tag-regexp|. See |tag-priority| for the priorities used in the - listing. {not in Vi} + listing. Example output: > @@ -231,54 +231,50 @@ the same entry. *:sts* *:stselect* :sts[elect][!] [name] Does ":tselect[!] [name]" and splits the window for - the selected tag. {not in Vi} + the selected tag. *g]* g] Like CTRL-], but use ":tselect" instead of ":tag". - {not in Vi} *v_g]* {Visual}g] Same as "g]", but use the highlighted text as the - identifier. {not in Vi} + identifier. *:tj* *:tjump* :tj[ump][!] [name] Like ":tselect", but jump to the tag directly when - there is only one match. {not in Vi} + there is only one match. *:stj* *:stjump* :stj[ump][!] [name] Does ":tjump[!] [name]" and splits the window for the - selected tag. {not in Vi} + selected tag. *g_CTRL-]* g CTRL-] Like CTRL-], but use ":tjump" instead of ":tag". - {not in Vi} *v_g_CTRL-]* {Visual}g CTRL-] Same as "g CTRL-]", but use the highlighted text as - the identifier. {not in Vi} + the identifier. *:tn* *:tnext* :[count]tn[ext][!] Jump to [count] next matching tag (default 1). See - |tag-!| for [!]. {not in Vi} + |tag-!| for [!]. *:tp* *:tprevious* :[count]tp[revious][!] Jump to [count] previous matching tag (default 1). - See |tag-!| for [!]. {not in Vi} + See |tag-!| for [!]. *:tN* *:tNext* -:[count]tN[ext][!] Same as ":tprevious". {not in Vi} +:[count]tN[ext][!] Same as ":tprevious". *:tr* *:trewind* :[count]tr[ewind][!] Jump to first matching tag. If [count] is given, jump - to [count]th matching tag. See |tag-!| for [!]. {not - in Vi} + to [count]th matching tag. See |tag-!| for [!]. *:tf* *:tfirst* -:[count]tf[irst][!] Same as ":trewind". {not in Vi} +:[count]tf[irst][!] Same as ":trewind". *:tl* *:tlast* -:tl[ast][!] Jump to last matching tag. See |tag-!| for [!]. {not - in Vi} +:tl[ast][!] Jump to last matching tag. See |tag-!| for [!]. *:lt* *:ltag* :lt[ag][!] [name] Jump to tag [name] and add the matching tags to a new @@ -290,7 +286,6 @@ g CTRL-] Like CTRL-], but use ":tjump" characters (very nomagic). The location list showing the matching tags is independent of the tag stack. See |tag-!| for [!]. - {not in Vi} When there is no other message, Vim shows which matching tag has been jumped to, and the number of matching tags: > @@ -317,34 +312,28 @@ the same as above, with a "p" prepended. *:pts* *:ptselect* :pts[elect][!] [name] Does ":tselect[!] [name]" and shows the new tag in a "Preview" window. See |:ptag| for more info. - {not in Vi} *:ptj* *:ptjump* :ptj[ump][!] [name] Does ":tjump[!] [name]" and shows the new tag in a "Preview" window. See |:ptag| for more info. - {not in Vi} *:ptn* *:ptnext* :[count]ptn[ext][!] ":tnext" in the preview window. See |:ptag|. - {not in Vi} *:ptp* *:ptprevious* :[count]ptp[revious][!] ":tprevious" in the preview window. See |:ptag|. - {not in Vi} *:ptN* *:ptNext* -:[count]ptN[ext][!] Same as ":ptprevious". {not in Vi} +:[count]ptN[ext][!] Same as ":ptprevious". *:ptr* *:ptrewind* :[count]ptr[ewind][!] ":trewind" in the preview window. See |:ptag|. - {not in Vi} *:ptf* *:ptfirst* -:[count]ptf[irst][!] Same as ":ptrewind". {not in Vi} +:[count]ptf[irst][!] Same as ":ptrewind". *:ptl* *:ptlast* :ptl[ast][!] ":tlast" in the preview window. See |:ptag|. - {not in Vi} ============================================================================== 4. Tags details *tag-details* @@ -630,10 +619,7 @@ If the command is a normal search comman "?"), some special handling is done: - Searching starts on line 1 of the file. The direction of the search is forward for "/", backward for "?". - Note that 'wrapscan' does not matter, the whole file is always searched. (Vi - does use 'wrapscan', which caused tags sometimes not be found.) {Vi starts - searching in line 2 of another file. It does not find a tag in line 1 of - another file when 'wrapscan' is not set} + Note that 'wrapscan' does not matter, the whole file is always searched. - If the search fails, another try is done ignoring case. If that fails too, a search is done for: "^tagname[ \t]*(" @@ -644,7 +630,7 @@ If the command is a normal search comman "^[#a-zA-Z_].*\<tagname[ \t]*(" This means: A line starting with '#' or an identifier and containing the tag followed by white space and a '('. This will find macro names and function - names with a type prepended. {the extra searches are not in Vi} + names with a type prepended. *tag-old-static* @@ -720,33 +706,31 @@ mapping to do that for you. Here is an of the file. Lines that look like a comment are ignored (see 'comments' option). If a count is given, the count'th matching line is displayed, and comment - lines are not ignored. {not in Vi} + lines are not ignored. *]i* ]i like "[i", but start at the current cursor position. - {not in Vi} *:is* *:isearch* :[range]is[earch][!] [count] [/]pattern[/] Like "[i" and "]i", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. *[I* [I Display all lines that contain the keyword under the cursor. Filenames and line numbers are displayed for the found lines. The search starts at the - beginning of the file. {not in Vi} + beginning of the file. *]I* ]I like "[I", but start at the current cursor position. - {not in Vi} *:il* *:ilist* :[range]il[ist][!] [/]pattern[/] Like "[I" and "]I", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. *[_CTRL-I* [ CTRL-I Jump to the first line that contains the keyword @@ -754,17 +738,17 @@ mapping to do that for you. Here is an of the file. Lines that look like a comment are ignored (see 'comments' option). If a count is given, the count'th matching line is jumped to, and comment - lines are not ignored. {not in Vi} + lines are not ignored. *]_CTRL-I* ] CTRL-I like "[ CTRL-I", but start at the current cursor - position. {not in Vi} + position. *:ij* *:ijump* :[range]ij[ump][!] [count] [/]pattern[/] Like "[ CTRL-I" and "] CTRL-I", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. CTRL-W CTRL-I *CTRL-W_CTRL-I* *CTRL-W_i* CTRL-W i Open a new window, with the cursor on the first line @@ -773,45 +757,43 @@ CTRL-W i Open a new window, with the cu that look like a comment line are ignored (see 'comments' option). If a count is given, the count'th matching line is jumped to, and comment lines are not - ignored. {not in Vi} + ignored. *:isp* *:isplit* :[range]isp[lit][!] [count] [/]pattern[/] Like "CTRL-W i" and "CTRL-W i", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. *[d* [d Display the first macro definition that contains the macro under the cursor. The search starts from the beginning of the file. If a count is given, the - count'th matching line is displayed. {not in Vi} + count'th matching line is displayed. *]d* ]d like "[d", but start at the current cursor position. - {not in Vi} *:ds* *:dsearch* :[range]ds[earch][!] [count] [/]string[/] Like "[d" and "]d", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. *[D* [D Display all macro definitions that contain the macro under the cursor. Filenames and line numbers are displayed for the found lines. The search starts - from the beginning of the file. {not in Vi} + from the beginning of the file. *]D* ]D like "[D", but start at the current cursor position. - {not in Vi} *:dli* *:dlist* :[range]dli[st][!] [/]string[/] Like `[D` and `]D`, but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. Note that `:dl` works like `:delete` with the "l" flag, not `:dlist`. @@ -819,36 +801,35 @@ CTRL-W i Open a new window, with the cu [ CTRL-D Jump to the first macro definition that contains the keyword under the cursor. The search starts from the beginning of the file. If a count is given, the - count'th matching line is jumped to. {not in Vi} + count'th matching line is jumped to. *]_CTRL-D* ] CTRL-D like "[ CTRL-D", but start at the current cursor - position. {not in Vi} + position. *:dj* *:djump* :[range]dj[ump][!] [count] [/]string[/] Like "[ CTRL-D" and "] CTRL-D", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. CTRL-W CTRL-D *CTRL-W_CTRL-D* *CTRL-W_d* CTRL-W d Open a new window, with the cursor on the first macro definition line that contains the keyword under the cursor. The search starts from the beginning of the file. If a count is given, the - count'th matching line is jumped to. {not in Vi} + count'th matching line is jumped to. *:dsp* *:dsplit* :[range]dsp[lit][!] [count] [/]string[/] Like "CTRL-W d", but search in [range] lines (default: whole file). - See |:search-args| for [/] and [!]. {not in Vi} + See |:search-args| for [/] and [!]. *:che* *:checkpath* :che[ckpath] List all the included files that could not be found. - {not in Vi} -:che[ckpath]! List all the included files. {not in Vi} +:che[ckpath]! List all the included files. *:search-args* Common arguments for the commands above: