Checklist
Output of fzf --version
0.72.0
OS
Shell
Problem / Steps to reproduce
I would like any change-preview-window commands to keep any other preview configuration values unchanged. So, if I toggle wrapping on, resizing preview should retain the wrapping state.
printf 'item\n' |
fzf \
--preview 'printf "%*s\n" 300 | tr " " x' \
--preview-window 'right,40%,nowrap' \
--bind 'ctrl-w:toggle-preview-wrap' \
--bind 'ctrl-r:change-preview-window:80%'
Steps:
- Run the command.
- Press
Ctrl-W to enable preview wrapping.
- Press
Ctrl-R to resize preview to 80%.
- Press
Ctrl-W again to show wrapped text in new preview size.
Expected: preview stays wrapped.
Actual: preview snaps back to startup nowrap.
Checklist
man fzf)Output of
fzf --version0.72.0
OS
Shell
Problem / Steps to reproduce
I would like any
change-preview-windowcommands to keep any other preview configuration values unchanged. So, if I toggle wrapping on, resizing preview should retain the wrapping state.Steps:
Ctrl-Wto enable preview wrapping.Ctrl-Rto resize preview to80%.Ctrl-Wagain to show wrapped text in new preview size.Expected: preview stays wrapped.
Actual: preview snaps back to startup
nowrap.