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 c1f8d18 · Browse files · 1 file+29 added−30 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+29 added−30 removed

  • other:+29 added−30 removed

1 file+29 added−30 removed

modified:CHANGELOG.md+29 added-30 removed
4 unmodified lines
5------67### Introducing "raw" mode89In "raw" mode, non-matching items are also displayed in their original position,10but dimmed. This is useful when you want to see the surrounding items of a match11to understand the context. Raw mode can be enabled by using `--raw` option, but12I find it more useful when toggled dynamically using `toggle-raw` action.9This version introduces a new "raw" mode (named so because it shows the list10"unfiltered"). In raw mode, non-matching items stay in their original positions,11but appear dimmed. This allows you see surrounding items of a match and better12understand the context of it. You can enable raw mode by default with `--raw`,13but it's often more useful when toggled dynamically with the `toggle-raw`14action.1516```sh15export FZF_CTRL_R_OPTS='--bind ctrl-x:toggle-raw'17tree | fzf --reverse --bind ctrl-x:toggle-raw18```1918```sh19tree | fzf --raw --reverse --bind ctrl-x:toggle-raw20```20While non-matching items are displayed in a dimmed color, they are treated just21like matching items, so you place the cursor on them and perform any action. If22you prefer to navigate only through matching items, use the `down-match` and23`up-match` actions, which are from now on bound to `CTRL-N` and `CTRL-P`24respectively. Historically, these keys were bound to `next-history` and25`prev-history` when `--history` option is enabled, so in that case, you'll need26to manually bind them, or use `ALT-DOWN` and `ALT-UP` instead.2722While non-matching items are displayed in dimmed color, they are treated just23like matching items in the list, so you place the cursor on them and do any24action against them. But if you want to navigate through matching items only,25you can use `down-match` and `up-match` actions, which are from now on bound to26`CTRL-N` and `CTRL-P` respectively. Historically, `CTRL-N` and `CTRL-P` are27bound to `next-history` and `prev-history` when `--history` option is used, so28in that case, you'll have to manually bind the actions to the keys of your29choice, or you can use `ALT-DOWN` and `ALT-UP` instead.3028#### Customizing the look2930##### Gutter3135To distinguish the raw mode, the gutter column is rendered in dashed line using36`▖` character. But you can customize it using `--gutter-raw CHAR` option.32To make the mode visually distinct, the gutter column is rendered in a dashed33line using `▖` character. But you can customize it with the `--gutter-raw CHAR`34option.3536```sh39# If you don't like the dashed line and you just want a thinner gutter37# Use a thinner gutter instead of the default dashed line38fzf --bind ctrl-x:toggle-raw --gutter-raw ▎39```4041##### Color and style of non-matching items4245Non-matching items are displayed in dimmed color by default, but you can change46it using `--color hidden:...` option.43Non-matching items are displayed in a dimmed color by default, but you can44change it with the `--color hidden:...` option.4546```sh47fzf --raw --color hidden:red:strikethrough4849# To unset the default 'dim' attribute, prefix the color spec with 'regular'50fzf --raw --color hidden:regular:red:strikethrough51```5255#### Leveraging `toggle-raw` in shell integration53#### Leveraging raw mode in shell integration5457`CTRL-R` binding (command history) now allows you to toggle raw mode with `CTRL-X`.55The `CTRL-R` binding (command history) now lets you toggle raw mode with56`CTRL-X`.5758### Style changes5961This version introduces some minor changes to the traditional visual style of fzf.60This version includes a few minor updates to fzf's classic visual style:6163- Narrowed the gutter column by using the left-half block character (`▌`).64- Removed background colors from markers.65- Updated `--color base16` (alias: `16`) theme so that it works better with both dark and light themes.62- The gutter column is now narrower, rendered with the left-half block character (`▌`).63- Markers no longer use background colors.64- The `--color base16` theme (alias: `16`) has been updated for better compatibility with both dark and light themes.6566### Added options6768#### `--gutter CHAR`
21 unmodified lines
90```9192#### `--gutter-raw CHAR`9395As mentioned above, also added `--gutter-raw CHAR` option for customizing the gutter column in raw mode.94As noted above, the `--gutter-raw CHAR` option was also added for customizing the gutter column in raw mode.9596### Compatibility changes9799Starting from this version, fzf is built with Go 1.23. Support for some old OS versions has been dropped.98Starting with this release, fzf is built with Go 1.23. Support for some old OS versions has been dropped.99100See https://go.dev/wiki/MinimumRequirements.1011020.65.2
2794 unmodified lines