m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 17:13:42 -05:00

Add --preview-window follow option

This commit is contained in:
Junegunn Choi
2020-12-05 21:16:35 +09:00
parent cbfee31593
commit 2ec382ae0e
5 changed files with 78 additions and 36 deletions

View File

@@ -3,6 +3,15 @@ CHANGELOG
0.24.4
------
- Added `--preview-window` option `follow`
```sh
# Preview window will automatically scroll to the bottom
fzf --preview-window follow --preview 'for i in $(seq 100000); do
echo "$i"
sleep 0.01
(( i % 300 == 0 )) && printf "\033[2J"
done'
```
- Added `change-prompt` action
```sh
fzf --prompt 'foo> ' --bind $'a:change-prompt:\x1b[31mbar> '