m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

CTRL-R: Bind ALT-R to toggle-raw

This commit is contained in:
Junegunn Choi
2025-10-03 18:06:50 +09:00
parent e393fda2fb
commit 5dea11ddbb
5 changed files with 11 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ but it's often more useful when toggled dynamically with the `toggle-raw`
action.
```sh
tree | fzf --reverse --bind ctrl-x:toggle-raw
tree | fzf --reverse --bind alt-r:toggle-raw
```
While non-matching items are displayed in a dimmed color, they are treated just
@@ -56,7 +56,7 @@ option.
```sh
# Use a thinner gutter instead of the default dashed line
fzf --bind ctrl-x:toggle-raw --gutter-raw ▎
fzf --bind alt-r:toggle-raw --gutter-raw ▎
```
##### Color and style of non-matching items
@@ -97,8 +97,7 @@ fzf --raw --bind 'enter:transform:[[ ${FZF_RAW-1} = 1 ]] && echo accept || echo
#### Leveraging raw mode in shell integration
The `CTRL-R` binding (command history) now lets you toggle raw mode with
`CTRL-X`.
The `CTRL-R` binding (command history) now lets you toggle raw mode with `ALT-R`.
### Style changes