Skip to content
Myr

Update extended-search mode section of README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent aaef182 · Browse files · 1 file+12 added−13 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+12 added−13 removed

  • other:+12 added−13 removed

1 file+12 added−13 removed

modified:README.md+12 added-13 removed
106 unmodified lines
107- Emacs style key bindings108- Mouse: scroll, click, double-click; shift-click and shift-scroll on109 multi-select mode110111#### Extended-search mode111#### Search syntax112113Since 0.10.9, fzf starts in "extended-search mode" by default.113Unless otherwise specified, fzf starts in "extended-search mode" where you can114type in multiple search terms delimited by spaces. e.g. `^music .mp3$ sbtrkt115!rmx`116115In this mode, you can specify multiple patterns delimited by spaces,116such as: `^music .mp3$ sbtrkt !rmx`117| Token | Match type | Description |118| -------- | -------------------- | -------------------------------- |119| `sbtrkt` | fuzzy-match | Items that match `sbtrkt` |120| `^music` | prefix-exact-match | Items that start with `music` |121| `.mp3$` | suffix-exact-match | Items that end with `.mp3` |122| `'wild` | exact-match (quoted) | Items that include `wild` |123| `!rmx` | inverse-fuzzy-match | Items that do not match `rmx` |124| `!'fire` | inverse-exact-match | Items that do not include `fire` |125118| Token | Description | Match type |119| -------- | -------------------------------- | -------------------- |120| `^music` | Items that start with `music` | prefix-exact-match |121| `.mp3$` | Items that end with `.mp3` | suffix-exact-match |122| `sbtrkt` | Items that match `sbtrkt` | fuzzy-match |123| `!rmx` | Items that do not match `rmx` | inverse-fuzzy-match |124| `'wild` | Items that include `wild` | exact-match (quoted) |125| `!'fire` | Items that do not include `fire` | inverse-exact-match |126126If you don't prefer fuzzy matching and do not wish to "quote" every word,127start fzf with `-e` or `--exact` option. Note that when `--exact` is set,128`'`-prefix "unquotes" the term.129
253 unmodified lines