mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
change-preview-window to take multiple option sets separated by '|'
So you can "rotate" through the different options with a single binding. fzf --preview 'cat {}' \ --bind 'ctrl-/:change-preview-window(70%|down,40%,border-horizontal|hidden|)' Close #2376
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG
|
||||
- cf. `preview(...)` is a one-off action that doesn't change the default
|
||||
preview command
|
||||
- Added `change-preview-window(...)` action
|
||||
- You can rotate through the different options separated by `|`
|
||||
```sh
|
||||
fzf --preview 'cat {}' --bind 'ctrl-/:change-preview-window(right,70%|down,40%,border-horizontal|hidden|right)'
|
||||
```
|
||||
|
||||
0.28.0
|
||||
------
|
||||
|
Reference in New Issue
Block a user