From 1a32220ca94ae897cab408a9eeaed094a8a739f1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 1 Oct 2024 19:15:17 +0900 Subject: Add --gap option to put empty lines between items --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 80b6491a..3ea88846 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,21 @@ CHANGELOG ========= +0.56.0 +------ +- Added `--gap[=N]` option to display empty lines between items. + - This can be useful to visually separate adjacent multi-line items. + ```sh + # 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 --gap + ``` + - Or just to make the list easier to read. For single-line items, you probably want to set `--color gutter:-1` as well to hide the gutter. + ```sh + fzf --gap --color gutter:-1 + ``` + 0.55.0 ------ _Release highlights: https://junegunn.github.io/fzf/releases/0.55.0/_ -- cgit v1.2.3