From f90795fc1ed972360b6168bac5101a42372df99a0ab5a54b2041fa0eb94e4ae0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 30 Apr 2023 21:46:48 +0000 Subject: [PATCH] - Update to version 0.40.0: - Added `zero` event that is triggered when there's no match ```sh # Reload the candidate list when there's no match echo $RANDOM | fzf --bind 'zero:reload(echo $RANDOM)+clear-query' --height 3 ``` - New actions - Added `track` action which makes fzf track the current item when the search result is updated. If the user manually moves the cursor, or the item is not in the updated search result, tracking is automatically disabled. Tracking is useful when you want to see the surrounding items by deleting the query string. ```sh # Narrow down the list with a query, point to a command, # and hit CTRL-T to see its surrounding commands. export FZF_CTRL_R_OPTS=" --preview 'echo {}' --preview-window up:3:hidden:wrap --bind 'ctrl-/:toggle-preview' --bind 'ctrl-t:track+clear-query' --bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort' --color header:italic --header 'Press CTRL-Y to copy command into clipboard'" ``` - Added `change-header(...)` - Added `transform-header(...)` - Added `toggle-track` action - Fixed `--track` behavior when used with `--tac` - However, using `--track` with `--tac` is not recommended. The resulting behavior can be very confusing. - Bug fixes and improvements OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=72 --- fzf-0.39.0.tar.gz | 3 --- fzf-0.40.0.tar.gz | 3 +++ fzf.changes | 34 ++++++++++++++++++++++++++++++++++ fzf.spec | 2 +- vendor.tar.zst | 4 ++-- 5 files changed, 40 insertions(+), 6 deletions(-) delete mode 100644 fzf-0.39.0.tar.gz create mode 100644 fzf-0.40.0.tar.gz diff --git a/fzf-0.39.0.tar.gz b/fzf-0.39.0.tar.gz deleted file mode 100644 index 29bd45a..0000000 --- a/fzf-0.39.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac665ac269eca320ca9268227142f01b10ad5d25364ff274658b5a9f709a7259 -size 235093 diff --git a/fzf-0.40.0.tar.gz b/fzf-0.40.0.tar.gz new file mode 100644 index 0000000..195b852 --- /dev/null +++ b/fzf-0.40.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9597f297a6811d300f619fff5aadab8003adbcc1566199a43886d2ea09109a65 +size 236930 diff --git a/fzf.changes b/fzf.changes index 05b98f4..e33e9af 100644 --- a/fzf.changes +++ b/fzf.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sun Apr 30 21:45:37 UTC 2023 - Matej Cepl + +- Update to version 0.40.0: + - Added `zero` event that is triggered when there's no match + ```sh + # Reload the candidate list when there's no match + echo $RANDOM | fzf --bind 'zero:reload(echo $RANDOM)+clear-query' --height 3 + ``` + - New actions + - Added `track` action which makes fzf track the current item when the + search result is updated. If the user manually moves the cursor, or the + item is not in the updated search result, tracking is automatically + disabled. Tracking is useful when you want to see the surrounding items + by deleting the query string. + ```sh + # Narrow down the list with a query, point to a command, + # and hit CTRL-T to see its surrounding commands. + export FZF_CTRL_R_OPTS=" + --preview 'echo {}' --preview-window up:3:hidden:wrap + --bind 'ctrl-/:toggle-preview' + --bind 'ctrl-t:track+clear-query' + --bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort' + --color header:italic + --header 'Press CTRL-Y to copy command into clipboard'" + ``` + - Added `change-header(...)` + - Added `transform-header(...)` + - Added `toggle-track` action + - Fixed `--track` behavior when used with `--tac` + - However, using `--track` with `--tac` is not recommended. The resulting + behavior can be very confusing. + - Bug fixes and improvements + ------------------------------------------------------------------- Wed Apr 19 04:26:40 UTC 2023 - Luciano Santos diff --git a/fzf.spec b/fzf.spec index 59d4cad..37ab988 100644 --- a/fzf.spec +++ b/fzf.spec @@ -18,7 +18,7 @@ %global _lto_cflags %nil Name: fzf -Version: 0.39.0 +Version: 0.40.0 Release: 0 Summary: A command-line fuzzy finder License: MIT diff --git a/vendor.tar.zst b/vendor.tar.zst index 13a9df6..e62a896 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5a122d95ecb7f324e3a941cf2fd1923e1dd894f9122ec3641fafc9e987721b7 -size 1656514 +oid sha256:92d2844b0f3fdf45a8fe8c9f448b5fb1c5935857b6dd00943af04bac1fc1f1b4 +size 1642794