Skip to content
Myr

Update CHANGELOG

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 bf77206 · Browse files · 1 file+49 added−10 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+49 added−10 removed

  • other:+49 added−10 removed

1 file+49 added−10 removed

modified:CHANGELOG.md+49 added-10 removed
2 unmodified lines
340.66.05------67### Quick summary89This version introduces many new features centered around the new "raw" mode.1011| Type | Class | Name | Description |12| :-- | :-- | :-- | :-- |13| New | Option | `--raw` | Enable raw mode by default |14| New | Option | `--gutter CHAR` | Set the gutter column character |15| New | Option | `--gutter-raw CHAR` | Set the gutter column character in raw mode |16| Enhancement | Option | `--listen SOCKET` | Added support for Unix domain sockets |17| New | Action | `toggle-raw` | Toggle raw mode |18| New | Action | `enable-raw` | Enable raw mode |19| New | Action | `disable-raw` | Disable raw mode |20| New | Action | `up-match` | Move up to the matching item |21| New | Action | `down-match` | Move down to the matching item |22| New | Action | `best` | Move to the matching item with the best score |23| New | Color | `nomatch` | Color for non-matching items in raw mode |24| New | Env Var | `FZF_RAW` | Matching status in raw mode (0, 1, or undefined) |25| New | Env Var | `FZF_DIRECTION` | `up` or `down` depending on the layout |26| New | Env Var | `FZF_SOCK` | Path to the Unix domain socket fzf is listening on |27| Enhancement | Key | `CTRL-N` | `down` -> `down-match` |28| Enhancement | Key | `CTRL-P` | `up` -> `up-match` |29| Enhancement | Shell | `CTRL-R` binding | Toggle raw mode with `ALT-R` |3031### Introducing "raw" mode3233This version introduces a new "raw" mode (named so because it shows the list34"unfiltered"). In raw mode, non-matching items stay in their original positions,
157 unmodified lines
192As noted above, the `--gutter-raw CHAR` option was also added for customizing the gutter column in raw mode.193194### Added actions195172| Action | Description |173| --- | --- |174| `up-match` | Move up to the matching item; identical to `up` if raw mode is disabled |175| `down-match` | Move down to the matching item; identical to `down` if raw mode is disabled |176| `toggle-raw` | Toggle raw mode |177| `enable-raw` | Enable raw mode |178| `disable-raw` | Disable raw mode |179| `best` | Move to the first matching item with the best score; identical to `first` if raw mode is disabled |196The following actions were introduced to support working with raw mode:197181### Added environment variable198| Action | Description |199| :-- | :-- |200| `toggle-raw` | Toggle raw mode |201| `enable-raw` | Enable raw mode |202| `disable-raw` | Disable raw mode |203| `up-match` | Move up to the matching item; identical to `up` if raw mode is disabled |204| `down-match` | Move down to the matching item; identical to `down` if raw mode is disabled |205| `best` | Move to the matching item with the best score; identical to `first` if raw mode is disabled |206183`$FZF_DIRECTION` is now exported to child processes, indicating the list direction of the current layout.207### Added environment variables208209#### `$FZF_DIRECTION`210211`$FZF_DIRECTION` is now exported to child processes, indicating the list direction of the current layout:212213- `up` for the default layout214- `down` for `reverse` or `reverse-list`215216This simplifies writing transform actions involving layout-dependent actions
2 unmodified lines
219```sh220fzf --raw --bind 'result:first+transform:[[ $FZF_RAW = 0 ]] && echo $FZF_DIRECTION-match'221```222223#### `$FZF_SOCK`224225When fzf is listening on a Unix domain socket using `--listen`, the path to the226socket is exported as `$FZF_SOCK`, analogous to `$FZF_PORT` for TCP sockets.227228#### `$FZF_RAW`229230As described above, `$FZF_RAW` is now exported to child processes in raw mode,231indicating whether the current item is a match (`1`) or not (`0`). It is not232defined when not in raw mode.233234### Added key support for `--bind`235236Pull request #3996 added support for many additional keys for `--bind` option,237such as `ctrl-backspace`.
2832 unmodified lines