Home Explore Blog CI



neovim

12th chunk of `runtime/doc/tagsrch.txt`
298d6dae6152aaf32f9811c0424a136f1b7b7546d8ddc6410000000100000f98
 file).
			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
			that contains the keyword under the cursor.  The
			search starts at the beginning of the file.  Lines
			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.

							*: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 [!].

							*[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.

							*[d-default*
			Jumps to the previous diagnostic in the current buffer
			by default. |vim.diagnostic.jump()| |default-mappings|

							*]d*
]d			like "[d", but start at the current cursor position.

							*]d-default*
			Jumps to the next diagnostic in the current buffer by
			default. |vim.diagnostic.jump()| |default-mappings|

							*:ds* *:dsearch*
:[range]ds[earch][!] [count] [/]string[/]
			Like "[d"  and "]d", but search in [range] lines
			(default: whole file).
			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.

							*[D-default*
			Jumps to the first diagnostic in the current buffer by
			default. |vim.diagnostic.jump()| |default-mappings|

							*]D*
]D			like "[D", but start at the current cursor position.

							*]D-default*
			Jumps to the last diagnostic in the current buffer by
			default. |vim.diagnostic.jump()| |default-mappings|

							*:dli* *:dlist*
:[range]dli[st][!] [/]string[/]
			Like `[D`  and `]D`, but search in [range] lines
			(default: whole file).
			See |:search-args| for [/] and [!].
			Note that `:dl` works like `:delete` with the "l"
			flag, not `:dlist`.

							*[_CTRL-D*
[ 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.

							*]_CTRL-D*
] CTRL-D		like "[ CTRL-D", but start at the current cursor
			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 [!].

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.

						*CTRL-W_d-default*
			Mapped to |vim.diagnostic.open_float()| by default.
			|default-mappings|

							*:dsp* *:dsplit*
:[range]dsp[lit][!] [count] [/]string[/]
			Like "CTRL-W d", but search in [range] lines
			(default: whole file).
			See |:search-args| for [/] and [!].

							*:checkp* *:checkpath*
:checkp[ath]		List all the included files that could not be found.

:checkp[ath]!		List all the included files.

								*:search-args*
Common arguments for the commands above:
[!]	When included, find matches in lines that are recognized as comments.
	When excluded, a match is ignored when the line is recognized as a
	comment (according to 'comments'), or the match is in a C comment
	(after "//" or inside `/* */`).  Note that a match may be missed if a
	line is recognized as a comment, but the comment ends halfway the line.
	And if the line is a comment, but it is not recognized (according to
	'comments') a match may be found in it anyway.  Example: >
		/* comment
		   foobar */
<	A

Title: Macro Definition Search Commands and Diagnostic Jumps
Summary
This section details commands for displaying, jumping to, or opening in a new window macro definitions ([d, ]d, [D, ]D, [CTRL-D, ]CTRL-D) containing the keyword under the cursor, including options to search within a range of lines. It also covers diagnostic jumps and the ':checkpath' command for listing included files. Common search arguments, including the '!' modifier for searching within comments, are also described.