summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-27 01:48:46 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-27 01:48:46 +0900
commit32eb32ee5e80ab4e10ead9bc6db8c6ad59cf509d (patch)
tree065b94049316447b09ab6a0aee021ae68fe6ac4b
parent2f51eb2b414f3e27f0d3ab3f4ef1a3f3a48c6d06 (diff)
downloadfzf-32eb32ee5e80ab4e10ead9bc6db8c6ad59cf509d.tar.gz
Add multi-line example to CHANGELOG
-rw-r--r--CHANGELOG.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b4d55eb..6242f1b5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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`