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
Provenance
- Commit
91c4bef- Tree
51da4ab- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
bf77206
1 file changed+49 added−10 removed
modified:CHANGELOG.md+49 added-10 removed
2 unmodified lines3 4 0.66.05 ------6 7+### Quick summary8+9+This version introduces many new features centered around the new "raw" mode.10+11+| 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` |30+31 ### Introducing "raw" mode32 33 This 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 lines192 As noted above, the `--gutter-raw CHAR` option was also added for customizing the gutter column in raw mode.193 194 ### Added actions195 172-| 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 |196+The following actions were introduced to support working with raw mode:197 181-### 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 |206 183-`$FZF_DIRECTION` is now exported to child processes, indicating the list direction of the current layout.207+### Added environment variables208 209+#### `$FZF_DIRECTION`210+211+`$FZF_DIRECTION` is now exported to child processes, indicating the list direction of the current layout:212+213 - `up` for the default layout214 - `down` for `reverse` or `reverse-list`215 216 This simplifies writing transform actions involving layout-dependent actions2 unmodified lines219 ```sh220 fzf --raw --bind 'result:first+transform:[[ $FZF_RAW = 0 ]] && echo $FZF_DIRECTION-match'221 ```222 223+#### `$FZF_SOCK`224+225+When fzf is listening on a Unix domain socket using `--listen`, the path to the226+socket is exported as `$FZF_SOCK`, analogous to `$FZF_PORT` for TCP sockets.227+228+#### `$FZF_RAW`229+230+As described above, `$FZF_RAW` is now exported to child processes in raw mode,231+indicating whether the current item is a match (`1`) or not (`0`). It is not232+defined when not in raw mode.233+234 ### Added key support for `--bind`235 236 Pull request #3996 added support for many additional keys for `--bind` option,237 such as `ctrl-backspace`.2832 unmodified lines