SHA256
1
0
forked from pool/fzf

Accepting request 1171134 from utilities

- Update to 0.51.0:
  - Added a new environment variable $FZF_POS exported to the
    child processes. It's the vertical position of the cursor in
    the list starting from 1.
    # Toggle selection to the top or to the bottom
    seq 30 | fzf --multi --bind 'load:pos(10)' \
      --bind 'shift-up:transform:for _ in $(seq $FZF_POS $FZF_MATCH_COUNT); do echo -n +toggle+up; done' \
      --bind 'shift-down:transform:for _ in $(seq 1 $FZF_POS); do echo -n +toggle+down; done'
  - Added --with-shell option to start child processes with a
    custom shell command and flags
    gem list | fzf --with-shell 'ruby -e' \
      --preview 'pp Gem::Specification.find_by_name({1})' \
      --bind 'ctrl-o:execute-silent:
          spec = Gem::Specification.find_by_name({1})
          [spec.homepage, *spec.metadata.filter { _1.end_with?("uri") }.values].uniq.each do
            system "open", _1
          end
      '
  - Added change-multi action for dynamically changing --multi option
        change-multi - enable multi-select mode with no limit
        change-multi(NUM) - enable multi-select mode with a limit
        change-multi(0) - disable multi-select mode
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/1171134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2024-05-01 12:58:06 +00:00 committed by Git OBS Bridge
commit b4b39b5286
5 changed files with 33 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3dd8f57eb58c039d343c23fbe1b4f03e441eb796d564c959f8241106805370d0
size 271421

3
fzf-0.51.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64b3616700cff7b00785607771fc05023219eff24c54981e2497977fc7a6dd76
size 273767

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed May 1 10:57:38 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.51.0:
- Added a new environment variable $FZF_POS exported to the
child processes. It's the vertical position of the cursor in
the list starting from 1.
# Toggle selection to the top or to the bottom
seq 30 | fzf --multi --bind 'load:pos(10)' \
--bind 'shift-up:transform:for _ in $(seq $FZF_POS $FZF_MATCH_COUNT); do echo -n +toggle+up; done' \
--bind 'shift-down:transform:for _ in $(seq 1 $FZF_POS); do echo -n +toggle+down; done'
- Added --with-shell option to start child processes with a
custom shell command and flags
gem list | fzf --with-shell 'ruby -e' \
--preview 'pp Gem::Specification.find_by_name({1})' \
--bind 'ctrl-o:execute-silent:
spec = Gem::Specification.find_by_name({1})
[spec.homepage, *spec.metadata.filter { _1.end_with?("uri") }.values].uniq.each do
system "open", _1
end
'
- Added change-multi action for dynamically changing --multi option
change-multi - enable multi-select mode with no limit
change-multi(NUM) - enable multi-select mode with a limit
change-multi(0) - disable multi-select mode
- Bug fixes and improvements
-------------------------------------------------------------------
Wed Apr 24 10:21:09 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -18,7 +18,7 @@
%global _lto_cflags %{nil}
Name: fzf
Version: 0.50.0
Version: 0.51.0
Release: 0
Summary: A command-line fuzzy finder
License: MIT

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1105a71865e06d9f0591d2171a15ea47280f535c970467509b6d12fd5e631c0
size 1646652
oid sha256:a5274f64ecdb8f00a402cb0ee2f82785b75e17d24bac4fc342fe5a559e37812d
size 1647741