mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-14 11:51:05 +08:00
Add --preview-window=next position (#4801)
Places preview adjacent to input on the list side: above input in the
default layout, below it in --layout=reverse.
fzf --preview 'cat {}' --preview-window=next
Close #4798
This commit is contained in:
@@ -16,6 +16,7 @@ CHANGELOG
|
||||
else echo accept
|
||||
fi'
|
||||
```
|
||||
- New `--preview-window=next` position that places the preview adjacent to the input section, on the list side: above the input in the default layout, below it in `--layout=reverse` (#4798).
|
||||
- Bug fixes
|
||||
- `change-preview-window` no longer resets `wrap` / `wrap-word` state set via `toggle-preview-wrap` / `toggle-preview-wrap-word`. Layout fields still snap to the preset, so cycling and the empty-token reset behave as before. The new spec can still override by including `wrap` or `nowrap` explicitly. (#4791)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user