Step 4 of 6

Refining your search

Refining your search

You don’t need to type a whole filename into the buffer picker. The picker uses fuzzy filtering: every buffer whose name contains the characters you’ve typed, in that order, stays in the list, and the closest matches float to the top. A character or two is usually enough.

When more than one buffer is left, keep typing to narrow the list further, or use the arrow keys to move the highlight between the matches. Enter jumps to whichever one is highlighted.

Work through the checklist below. Load foo.txt, bar.txt, and baz.txt with :e, then open the picker and type f — only foo.txt matches. Open it again and type ba: both bar.txt and baz.txt remain, so narrow down to baz.txt before pressing Enter.

  1. Open foo.txt Type :e foo.txt and press Enter.
  2. Open bar.txt Type :e bar.txt and press Enter.
  3. Open baz.txt Type :e baz.txt and press Enter.
  4. Filter down to foo.txt Press Space then b, type just f — only foo.txt is left — and press Enter.
  5. Narrow the matches to baz.txt Press Space then b, type ba — bar.txt and baz.txt both remain — then add z (or press the down arrow) and press Enter.
Open foo.txt Type :e foo.txt and press Enter.

Next: Open bar.txt

Loading editor…