Add multi-line example to CHANGELOG

This commit is contained in:
Junegunn Choi 2024-05-27 01:48:46 +09:00
parent 2f51eb2b41
commit 32eb32ee5e
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -5,7 +5,13 @@ CHANGELOG
------
- fzf can now display multi-line items
```sh
rg -p bash | perl -0777 -pe 's/\n\n/\n\0/gm' |
# All bash functions, highlighted
declare -f | perl -0777 -pe 's/^}\n/}\0/gm' |
bat --plain --language bash --color always |
fzf --read0 --ansi --reverse --multi --highlight-line
# Ripgrep multi-line output
rg --pretty bash | perl -0777 -pe 's/\n\n/\n\0/gm' |
fzf --read0 --ansi --multi --highlight-line --reverse --tmux 70%
```
- To disable multi-line display, use `--no-multi-line`