Filter output of following command
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Filter output of following command.
Command entered · ready to apply
Command line
- Typed text
:filter /alpha/ buffers- Insertion offset
23
:filter restricts the displayed buffer listing to filenames matching alpha; beta.txt remains a listed buffer.
Filtered :buffers output
- 1
alpha.txt
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.
alpha
beta
gammaCursor on line 1, column 1Details & 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.