Vim Recall繁體中文

Filter output of following command

:filter

Example

Normal 0 / 2

Filter output of following command.

Before & after

Before

After

Filtered :buffers output

1
alpha.txt

Documentation-backed illustration. exactly the two listed buffers 1 alpha.txt and 2 beta.txt are prepared; :buffers supports :filter; cmdheight=4, at least 80 columns and no pending messages or prompt leave a clean command area; the output panel is a filename summary, omitting native flags, quotes and line numbers. :filter restricts the displayed buffer listing to filenames matching alpha; beta.txt remains a listed buffer. Primary help: :filter.

Sample buffer
alpha
beta
gamma
Cursor on line 1, column 1
Details & Vim help

Filter output of following command. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :filt[er] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.