SHA256
1
0
forked from pool/fzf

Compare commits

...

131 Commits

Author SHA256 Message Date
Ana Guerrero
df4917ba23 Accepting request 1199735 from utilities
OBS-URL: https://build.opensuse.org/request/show/1199735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=58
2024-09-10 19:13:23 +00:00
Dominique Leuenberger
70e41a18dc Accepting request 1190692 from utilities
OBS-URL: https://build.opensuse.org/request/show/1190692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=57
2024-08-01 20:04:32 +00:00
OBS User smolsheep
dd7956bdf9 Accepting request 1190691 from home:smolsheep:upgrades
- Update to 0.54.3:
  * Fixed incompatibility of adaptive height specification and
    'start:reload'
  * Environment variables are now available to $FZF_DEFAULT_COMMAND

OBS-URL: https://build.opensuse.org/request/show/1190691
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=126
2024-07-31 14:12:40 +00:00
Dominique Leuenberger
68f0d46887 Accepting request 1189776 from utilities
- Update to 0.54.2:
  * Fixed incorrect syntax highlighting of truncated multi-line entries

OBS-URL: https://build.opensuse.org/request/show/1189776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=56
2024-07-26 14:16:24 +00:00
04064a9390 - Update to 0.54.2:
* Fixed incorrect syntax highlighting of truncated multi-line entries

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=124
2024-07-26 10:31:33 +00:00
Ana Guerrero
f4b174c747 Accepting request 1188813 from utilities
OBS-URL: https://build.opensuse.org/request/show/1188813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=55
2024-07-22 15:17:48 +00:00
OBS User smolsheep
e1bc264b93 - Update to 0.54.1:
* fastwalk: add optional sorting and improve documentation
  * Reverted ALT-C binding of fish to use cd instead of builtin
    cd. builtin cd was introduced to work around a bug of cd coming
    from zoxide init --cmd cd fish where it cannot handle --
    argument.

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=122
2024-07-20 14:22:03 +00:00
Ana Guerrero
af49eb845b Accepting request 1186202 from utilities
OBS-URL: https://build.opensuse.org/request/show/1186202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=54
2024-07-08 17:09:23 +00:00
OBS User smolsheep
173299be5e - Add new "v" prefix to tag in URL
- Update to 0.54.0:
  * Implemented line wrap of long items
  * Updated shell integration scripts to leverage line wrap
  * Added --info-command option for customizing the info line
  * Pointer and marker signs can be set to empty strings
  * Better cache management and improved rendering for --tail
  * Improved --sync behavior: When --sync is provided, fzf will not
    render the interface until the initial filtering and the
    associated actions (bound to any of start, load, result, or
    focus) are complete.
  * GET endpoint is now available from execute and transform
    actions (it used to timeout due to lock conflict)
  * Added offset-middle action to place the current item is in the
    middle of the screen
  * fzf will not start the initial reader when reload or
    reload-sync is bound to start event. fzf < /dev/null or : | fzf
    are no longer required and extraneous load event will not fire
    due to the empty list.
  * Fixed crash when using --tiebreak=end with very long items
  * zsh 5.0 compatibility
  * Fixed --walker-skip to also skip symlinks to directories
  * Fixed result event not fired when input stream is not complete
  * New tags will have v prefix

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=120
2024-07-08 14:23:15 +00:00
Ana Guerrero
8bb892da66 Accepting request 1179024 from utilities
OBS-URL: https://build.opensuse.org/request/show/1179024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=53
2024-06-07 13:03:27 +00:00
OBS User smolsheep
1bbbcdb15c Accepting request 1179023 from home:smolsheep:upgrades
- Update to 0.53.0:
  * fzf can now display multi-line items. To disable multi-line
    display, use --no-multi-line
  * CTRL-R bindings of bash, zsh, and fish have been updated to
    leverage multi-line display
  * The default --pointer and --marker have been changed from > to
    Unicode bar characters as they look better with multi-line
    items
  * Added --marker-multi-line to customize the select marker for
    multi-line entries with the default set to ╻┃╹
  * Added --tmux option to replace fzf-tmux script and simplify
    distribution
  * Added support for endless input streams. Added --tail=NUM
    option to limit the number of items to keep in memory. This is
    useful when you want to browse an endless stream of data (e.g.
    log stream) with fzf while limiting memory usage.
  * man page is now embedded in the binary; fzf --man to see it
  * Changed the default --scroll-off to 3, as we think it's a
    better default
  * Process started by execute action now directly writes to and
    reads from /dev/tty. Manual /dev/tty redirection for
    interactive programs is no longer required.
  * Added print(...) action to queue an arbitrary string to be
    printed on exit. This was mainly added to work around the
    limitation of --expect where it's not compatible with --bind on
    the same key and it would ignore other actions bound to it.
  * NO_COLOR environment variable is now respected. If the variable
    is set, fzf defaults to --no-color unless otherwise specified.

OBS-URL: https://build.opensuse.org/request/show/1179023
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=118
2024-06-06 13:52:30 +00:00
Dominique Leuenberger
fd33a64e31 Accepting request 1172487 from utilities
OBS-URL: https://build.opensuse.org/request/show/1172487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=52
2024-05-08 09:39:11 +00:00
OBS User smolsheep
0b27f38e20 Accepting request 1172486 from home:smolsheep:upgrades
- Update to 0.52.0:
  * Added --highlight-line to highlight the whole current line (à
    la set cursorline of Vim)
  * Added color names for selected lines: selected-fg, selected-bg,
    and selected-hl
  * Added click-header event that is triggered when the header
    section is clicked. When the event is triggered,
    $FZF_CLICK_HEADER_COLUMN and $FZF_CLICK_HEADER_LINE are set.
  * Add $FZF_COMPLETION_{DIR,PATH}_OPTS for separately
    customizing the behavior of fuzzy completion
  * Bug fixes and improvements
  * The code was heavily refactored to allow using fzf as a library
    in Go programs. The API is still experimental and subject to
    change.

OBS-URL: https://build.opensuse.org/request/show/1172486
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=116
2024-05-07 15:59:18 +00:00
Dominique Leuenberger
b4b39b5286 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
2024-05-01 12:58:06 +00:00
18d5812fc5 - 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/package/show/utilities/fzf?expand=0&rev=114
2024-05-01 11:00:50 +00:00
Ana Guerrero
be0ad2d94f Accepting request 1170041 from utilities
- Rearranging and renaming shell-related subpackages (reaction to
  the discussion gh#akinomyoga/ble.sh$441 and
  https://github.com/junegunn/fzf?tab=readme-ov-file#setting-up-shell-integration).
- Shell subpackages should be Enahncing (not Supplementing) fzf.

OBS-URL: https://build.opensuse.org/request/show/1170041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=50
2024-04-25 18:48:45 +00:00
5f9a9adadd Fix the generation of /etc/profile.d/fzf-bash.sh
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=112
2024-04-24 13:59:40 +00:00
5c1b1ece73 - Shell subpackages should be Enahncing (not Supplementing) fzf.
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=111
2024-04-24 12:01:19 +00:00
6c353489f3 - Rearranging and renaming shell-related subpackages (reaction to
the discussion gh#akinomyoga/ble.sh$441 and
  https://github.com/junegunn/fzf?tab=readme-ov-file#setting-up-shell-integration).

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=110
2024-04-24 10:26:11 +00:00
Ana Guerrero
4b9ad7038d Accepting request 1167679 from utilities
- Update to version 0.50.0:
  - Search performance optimization. You can observe 50%+
    improvement in some scenarios.
  - Added jump and jump-cancel events that are triggered when
    leaving jump mode
  - Added a new environment variable $FZF_KEY exported to the
    child processes. It's the name of the last key pressed.
  - fzf can be built with profiling options. See BUILD.md for
    more information.
  - Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1167679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=49
2024-04-15 18:17:41 +00:00
676db9efb7 - Update to version 0.50.0:
- Search performance optimization. You can observe 50%+
    improvement in some scenarios.
  - Added jump and jump-cancel events that are triggered when
    leaving jump mode
  - Added a new environment variable $FZF_KEY exported to the
    child processes. It's the name of the last key pressed.
  - fzf can be built with profiling options. See BUILD.md for
    more information.
  - Bug fixes

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=108
2024-04-14 17:30:19 +00:00
Ana Guerrero
ead4f2effe Accepting request 1165093 from utilities
OBS-URL: https://build.opensuse.org/request/show/1165093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=48
2024-04-04 20:27:22 +00:00
OBS User smolsheep
a52f0f3e06 Accepting request 1165092 from home:smolsheep:upgrades
- Update to version 0.49.0:
  * Ingestion performance improved by around 40% (more or less
    depending on options)
  * --info=hidden and --info=inline-right will no longer hide the
    horizontal separator by default. This gives you more
    flexibility in customizing the layout.
  * Added two environment variables exported to the child
    processes. FZF_PREVIEW_LABEL and FZF_BORDER_LABEL.
  * Renamed track action to track-current to highlight the
    difference between the global tracking state set by --track and
    a one-off tracking action. track is still available as an
    alias.
  * Added untrack-current and toggle-track-current actions
  * Bug fixes and minor improvements

OBS-URL: https://build.opensuse.org/request/show/1165092
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=106
2024-04-04 19:33:19 +00:00
Ana Guerrero
267730d33e Accepting request 1163994 from utilities
- Revendor

OBS-URL: https://build.opensuse.org/request/show/1163994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=47
2024-04-02 14:46:32 +00:00
c66fd0010b - Revendor
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=104
2024-04-01 21:35:04 +00:00
Ana Guerrero
787d70f67e Accepting request 1158763 from utilities
OBS-URL: https://build.opensuse.org/request/show/1158763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=46
2024-03-17 21:17:03 +00:00
OBS User smolsheep
3f734be09c Accepting request 1158762 from home:smolsheep:upgrades
- Update to version 0.48.1:
  * CTRL-T and ALT-C bindings can be disabled by setting
    FZF_CTRL_T_COMMAND and FZF_ALT_C_COMMAND to empty strings
    respectively when sourcing the script
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1158762
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=102
2024-03-17 13:43:49 +00:00
Ana Guerrero
f07413896f Accepting request 1158062 from utilities
OBS-URL: https://build.opensuse.org/request/show/1158062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=45
2024-03-15 19:30:31 +00:00
OBS User smolsheep
508a8082b8 Accepting request 1158061 from home:smolsheep:upgrades
- Switch to generated shell integration scripts

OBS-URL: https://build.opensuse.org/request/show/1158061
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=100
2024-03-14 17:00:08 +00:00
OBS User smolsheep
f6f9771c94 Accepting request 1158056 from home:smolsheep:upgrades
Revert changes

OBS-URL: https://build.opensuse.org/request/show/1158056
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=99
2024-03-14 16:24:10 +00:00
f85422a42b - Version 0.48.0 doesn't include shell completion scripts
anymore, shell integration scripts are now embedded in the
  fzf binary. This simplifies the distribution, and the users
  are less likely to have problems caused by using incompatible
  scripts and binaries.
    bash
    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --bash)"
    zsh
    
    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --zsh)"
    
    fish
    
    # Set up fzf key bindings
    fzf --fish | source

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=98
2024-03-14 13:53:28 +00:00
Ana Guerrero
305aa56ed6 Accepting request 1157747 from utilities
OBS-URL: https://build.opensuse.org/request/show/1157747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=44
2024-03-13 21:21:35 +00:00
OBS User smolsheep
2f1d946946 Accepting request 1157746 from home:smolsheep:upgrades
- Update to version 0.48.0:
  * Shell integration scripts are now embedded in the fzf binary.
    This simplifies the distribution, and the users are less likely
    to have problems caused by using incompatible scripts and
    binaries.
  * Added options for customizing the behavior of the built-in
    walker
  * Shell integration scripts have been updated to use the built-in
    walker with these new options and they are now much faster out
    of the box.

OBS-URL: https://build.opensuse.org/request/show/1157746
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=96
2024-03-13 17:48:26 +00:00
Ana Guerrero
6e17cddb07 Accepting request 1156762 from utilities
OBS-URL: https://build.opensuse.org/request/show/1156762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=43
2024-03-11 14:34:03 +00:00
OBS User smolsheep
62dbbbc35b Accepting request 1156761 from home:smolsheep:upgrades
- Update to version 0.47.0:
  * Replaced default find command with built-in directory walker
    to simplify the code and to achieve better performance. This
    doesn't affect you if you have $FZF_DEFAULT_COMMAND set.
  * Added $FZF_DEFAULT_OPTS_FILE to allow managing default options
    in a file
  * Bug fixes and improvements.

OBS-URL: https://build.opensuse.org/request/show/1156761
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=94
2024-03-10 19:42:48 +00:00
Ana Guerrero
e61d83418d Accepting request 1143424 from utilities
OBS-URL: https://build.opensuse.org/request/show/1143424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=42
2024-02-01 17:06:33 +00:00
OBS User smolsheep
cda0ce9986 Accepting request 1143421 from home:smolsheep:upgrades
- Update to version 0.46.1:
  * Bug fixes and improvements
  * Downgraded minimum go version to 1.20
  * Updated rivo/uniseg dependency

OBS-URL: https://build.opensuse.org/request/show/1143421
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=92
2024-02-01 15:17:29 +00:00
Ana Guerrero
8268bd0e9b Accepting request 1141046 from utilities
OBS-URL: https://build.opensuse.org/request/show/1141046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=41
2024-01-23 21:57:32 +00:00
OBS User smolsheep
a3c0b00446 Accepting request 1141045 from home:smolsheep:upgrades
- Update to version 0.46.0:
  * Added new events, result and resize
  * fzf now exports many new environment variables to the child
    processes.
  * fzf:prompt and fzf:action are being phased out
  * Changed mattn/go-runewidth dependency to rivo/uniseg for
    accurate results. Set --ambidouble if your terminal displays
    ambigous width characters
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1141045
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=90
2024-01-23 19:55:46 +00:00
Dominique Leuenberger
a478b226ea Accepting request 1135957 from utilities
OBS-URL: https://build.opensuse.org/request/show/1135957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=40
2024-01-03 11:27:33 +00:00
OBS User smolsheep
b4b252e88d Accepting request 1135956 from home:smolsheep:upgrades
- Update to version 0.45.0:
  * Added transform action to conditionally perform a set of
    actions
  * Added placeholder expressions like {fzf:query}
  * Added support for negative height
  * Added accept-or-print-query action that acts like accept but
    prints the current query when there's no match for the query
  * Added show-header and hide-header actions
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1135956
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=88
2024-01-01 06:57:54 +00:00
Ana Guerrero
de64df1a44 Accepting request 1127403 from utilities
OBS-URL: https://build.opensuse.org/request/show/1127403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=39
2023-11-19 19:15:46 +00:00
OBS User smolsheep
b224930885 Accepting request 1127402 from home:smolsheep:upgrades
- Update to version 0.44.1:
  * Fixed crash when preview window is hidden on focus event

OBS-URL: https://build.opensuse.org/request/show/1127402
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=86
2023-11-18 06:42:18 +00:00
Ana Guerrero
642b5888d4 Accepting request 1125249 from utilities
OBS-URL: https://build.opensuse.org/request/show/1125249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=38
2023-11-13 21:21:15 +00:00
OBS User smolsheep
faf232500a Accepting request 1125247 from home:uncomfyhalomacro
- Update to version 0.44.0:
  * experimental sixel support added in fzf-preview.sh script
  * HTTP server can be configured to accept remote connections
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1125247
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=84
2023-11-12 14:35:38 +00:00
Ana Guerrero
85fd34b7d1 Accepting request 1117899 from utilities
- Update to version 0.43.0 (examples are in full release notes on
  https://github.com/junegunn/fzf/releases/tag/0.43.0):
  - (Experimental) Added support for Kitty image protocol in the
    preview window
  - (Experimental) --listen server can report program state in
    JSON format (GET /)
  - --listen server can be secured by setting $FZF_API_KEY
varienvironment able.
  - Added toggle-header action
  - Added mouse events for --bind
  - Added offset-up and offset-down actions
  - Shell extensions

OBS-URL: https://build.opensuse.org/request/show/1117899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=37
2023-10-16 20:33:13 +00:00
43504fab74 Add missing vendor tarball
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=82
2023-10-15 17:53:26 +00:00
e1a6e2144d - Update to version 0.43.0 (examples are in full release notes on
https://github.com/junegunn/fzf/releases/tag/0.43.0):
  - (Experimental) Added support for Kitty image protocol in the
    preview window
  - (Experimental) --listen server can report program state in
    JSON format (GET /)
  - --listen server can be secured by setting $FZF_API_KEY
varienvironment able.
  - Added toggle-header action
  - Added mouse events for --bind
  - Added offset-up and offset-down actions
  - Shell extensions

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=81
2023-10-15 17:53:00 +00:00
Dominique Leuenberger
31d5e06a54 Accepting request 1093151 from utilities
OBS-URL: https://build.opensuse.org/request/show/1093151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=36
2023-06-16 14:53:16 +00:00
OBS User smolsheep
2321cb9463 Accepting request 1093150 from home:smolsheep:upgrades
- Update to version 0.42.0:
  * Added new info style: --info=right
  * Added new info style: --info=inline-right
  * Added new border style thinblock which uses Symbols for Legacy
    Computing one eighth block elements
  * Removed fix-go-test.patch that is no longer needed.

OBS-URL: https://build.opensuse.org/request/show/1093150
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=79
2023-06-14 16:35:16 +00:00
Dominique Leuenberger
235fe0ce1f Accepting request 1091832 from utilities
- Update to version 0.41.1:
  * Fixed a bug where preview window is not updated when
    --disabled is set and a reload is triggered by change:reload
    binding
  * Added fix-go-test.patch to make test cases work on 0.41.1

OBS-URL: https://build.opensuse.org/request/show/1091832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=35
2023-06-11 17:54:36 +00:00
OBS User smolsheep
2f650a482f Accepting request 1091831 from home:smolsheep:upgrades
- Update to version 0.41.1:
  * Fixed a bug where preview window is not updated when
    --disabled is set and a reload is triggered by change:reload
    binding
  * Added fix-go-test.patch to make test cases work on 0.41.1
- Update to version 0.41.0:
  * Added color name preview-border and preview-scrollbar
  * Added new border style block which uses block elements
  * --scrollbar can take two characters, one for the main window,
   the other for the preview window
  * Bug fixes and improvements
- require golang >= 1.19 instead of "="
- 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
- Update to version 0.39.0:
  * Added 'one' event that is triggered when there's only one
    match.
  * Added --track option that makes fzf track the current selection
    when the result list is updated. This can be useful when
    browsing logs using fzf with sorting disabled.
  * If you use --listen option without a port number fzf will
    automatically allocate an available port and export it as
    $FZF_PORT environment variable.
  * A carriage return and a line feed character will be rendered as
    dim ␍ and ␊ respectively.
  * fzf will stop rendering a non-displayable characters as a
    space. This will likely cause less glitches in the preview
    window.
  * Other bug fixes and improvements.
- Update vendor tarball.
- All those completion scripts not requiring their respective
  shells is a bit ridiculous.
- Disable LTO
- Replace unused RPM_OPT_FLAGS
- Update to version 0.38.0:
  * New actions
    - become(...) - Replace the current fzf process with the specified command using execve(2) system call.
      See https://github.com/junegunn/fzf#turning-into-a-different-process for more information.
        # Open selected files in Vim
        fzf --multi --bind 'enter:become(vim {+})'
        # Open the file in Vim and go to the line
        git grep --line-number . |
        fzf --delimiter : --nth 3.. --bind 'enter:become(vim {1} +{2})'
      >> this action is not supported on Windows
    - show-preview
    - hide-preview
  * Bug fixes
    - --preview-window 0,hidden should not execute the preview command until toggle-preview action is triggered
- Update to 0.37.0:
  - Added a way to customize the separator of inline info
    fzf --info 'inline: ╱ ' --prompt '╱ ' --color prompt:bright-yellow
  - New event
        focus - Triggered when the focus changes due to a vertical cursor
        movement or a search result update
        fzf --bind 'focus:transform-preview-label:echo [ {} ]' --preview 'cat {}'
        # Any action bound to the event runs synchronously and thus can make the interface sluggish
        # e.g. lolcat isn't one of the fastest programs, and every cursor movement in
        #      fzf will be noticeably affected by its execution time
        fzf --bind 'focus:transform-preview-label:echo [ {} ] | lolcat -f' --preview 'cat {}'
        # Beware not to introduce an infinite loop
        seq 10 | fzf --bind 'focus:up' --cycle
    - New actions
        change-border-label
        change-preview-label
        transform-border-label
        transform-preview-label
    - Bug fixes and improvements
- Update to 0.36.0:
  - Added --listen=HTTP_PORT option to start HTTP server. It allows external
    processes to send actions to perform via POST method.
    # Start HTTP server on port 6266
    fzf --listen 6266
    # Send actions to the server
    curl localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
  - Added draggable scrollbar to the main search window and the preview window
    # Hide scrollbar
    fzf --no-scrollbar
    # Customize scrollbar
    fzf --scrollbar ┆ --color scrollbar:blue
  - New event
        Added load event that is triggered when the input stream is complete
        and the initial processing of the list is complete.
        # Change the prompt to "loaded" when the input stream is complete
        (seq 10; sleep 1; seq 11 20) | fzf --prompt 'Loading> ' --bind 'load:change-prompt:Loaded> '
        # You can use it instead of 'start' event without `--sync` if asynchronous
        # trigger is not an issue.
        (seq 10; sleep 1; seq 11 20) | fzf --bind 'load:last'
  - New actions
        Added pos(...) action to move the cursor to the numeric position
            first and last are equivalent to pos(1) and pos(-1) respectively
        # Put the cursor on the 10th item
        seq 100 | fzf --sync --bind 'start:pos(10)'
        # Put the cursor on the 10th to last item
        seq 100 | fzf --sync --bind 'start:pos(-10)'
        Added reload-sync(...) action which replaces the current list only after
        the reload process is complete. This is useful when the command takes
        a while to produce the initial output and you don't want fzf to run against
        an empty list while the command is running.
        # You can still filter and select entries from the initial list for 3 seconds
        seq 100 | fzf --bind 'load:reload-sync(sleep 3; seq 1000)+unbind(load)'
        Added next-selected and prev-selected actions to move between selected
        items
        # `next-selected` will move the pointer to the next selected item below the current line
        # `prev-selected` will move the pointer to the previous selected item above the current line
        seq 10 | fzf --multi --bind ctrl-n:next-selected,ctrl-p:prev-selected
        # Both actions respect --layout option
        seq 10 | fzf --multi --bind ctrl-n:next-selected,ctrl-p:prev-selected --layout reverse
        Added change-query(...) action that simply changes the query string to the
        given static string. This can be useful when used with --listen.
        curl localhost:6266 -d "change-query:$(date)"
        Added transform-prompt(...) action for transforming the prompt string
        using an external command
        # Press space to change the prompt string using an external command
        # (only the first line of the output is taken)
        fzf --bind 'space:reload(ls),load:transform-prompt(printf "%s> " "$(date)")'
        Added transform-query(...) action for transforming the query string using
        an external command
        # Press space to convert the query to uppercase letters
        fzf --bind 'space:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
        # Bind it to 'change' event for automatic conversion
        fzf --bind 'change:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
        # Can only type numbers
        fzf --bind 'change:transform-query(sed "s/[^0-9]//g" <<< {q})'
        put action can optionally take an argument string
        # a will put 'alpha' on the prompt, ctrl-b will put 'bravo'
        fzf --bind 'a:put+put(lpha),ctrl-b:put(bravo)'
    - Added color name preview-label for --preview-label
      (defaults to label for --border-label)
    - Better support for (Windows) terminals where
      each box-drawing character takes 2 columns. Set
      RUNEWIDTH_EASTASIAN environment variable to 1.
        On Vim, the variable will be automatically set if &ambiwidth is double
    - Behavior changes
        fzf will always execute the preview command if the command template
        contains {q} even when it's empty. If you prefer the old behavior,
        you'll have to check if {q} is empty in your command.
        # This will show // even when the query is empty
        : | fzf --preview 'echo /{q}/'
        # But if you don't want it,
        : | fzf --preview '[ -n {q} ] || exit; echo /{q}/'
        double-click will behave the same as enter unless otherwise specified,
        so you don't have to repeat the same action twice in --bind in most cases.
        # No need to bind 'double-click' to the same action
        fzf --bind 'enter:execute:less {}' # --bind 'double-click:execute:less {}'
        If the color for separator is not specified, it will default to the
        color for border. Same holds true for scrollbar. This is to reduce
        the number of configuration items required to achieve a consistent color
        scheme.
        If follow flag is specified in --preview-window option, fzf will
        automatically scroll to the bottom of the streaming preview output. But
        when the user manually scrolls the window, the following stops. With
        this version, fzf will resume following if the user scrolls the window
        to the bottom.
        Default border style on Windows is changed to sharp because some
        Windows terminals are not capable of displaying rounded border
        characters correctly.
    - Minor bug fixes and improvements
- update to 0.35.1:
  * Fixed a bug where fzf with `--tiebreak=chunk` crashes on inverse match
    query
  * Fixed a bug where clicking above fzf would paste escape sequences
- Update to 0.35.0:
  * Added start event that is triggered only once when fzf finder
    starts. Since fzf consumes the input stream asynchronously,
    the input list is not available unless you use --sync.
    seq 100 | fzf --multi --sync --bind 'start:last+select-all+preview(echo welcome)'
  * Added --border-label and --border-label-pos for putting label
    on the border
    # ANSI color codes are supported
    # (with https://github.com/busyloop/lolcat)
    label=$(curl -s http://metaphorpsum.com/sentences/1 | lolcat -f)
    # Border label at the center
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --color=label:italic:black
    # Left-aligned (positive integer)
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --border-label-pos=3 --color=label:italic:black
    # Right-aligned (negative integer) on the bottom line (:bottom)
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --border-label-pos=-3:bottom --color=label:italic:black
  * Also added --preview-label and --preview-label-pos for the
    border of the preview window
    fzf --preview 'cat {}' --border --preview-label=' Preview ' \
    --preview-label-pos=2
  * Info panel (match counter) will be followed by a horizontal separator
    by default
    - Use --no-separator or --separator='' to hide the separator
    - You can specify an arbitrary string that is repeated to form the
      horizontal separator. e.g. --separator=╸
    - The color of the separator can be customized via --color=separator:...
    - ANSI color codes are also supported
    fzf --separator=╸ --color=separator:green
    fzf --separator=$(lolcat -f -F 1.4 <<< ▁▁▂▃▄▅▆▆▅▄▃▂▁▁) --info=inline
  * Added --border=bold and --border=double along with
    --preview-window=border-bold and --preview-window=border-double
- Update to 0.34.0:
  - Added support for adaptive --height. If the --height value is prefixed
    with ~, fzf will automatically determine the height in the range according
    to the input size.
    seq 1 | fzf --height ~70% --border --padding 1 --margin 1
    seq 10 | fzf --height ~70% --border --padding 1 --margin 1
    seq 100 | fzf --height ~70% --border --padding 1 --margin 1
      - There are a few limitations
        - Not compatible with percent top/bottom margin/padding
            # This is not allowed (top/bottom margin in percent value)
            fzf --height ~50% --border --margin 5%,10%
            # This is allowed (top/bottom margin in fixed value)
            fzf --height ~50% --border --margin 2,10%
         - fzf will not start until it can determine the right height for the input
            # fzf will open immediately
            (sleep 2; seq 10) | fzf --height 50%
            # fzf will open after 2 seconds
            (sleep 2; seq 10) | fzf --height ~50%
            (sleep 2; seq 1000) | fzf --height ~50%
  - Fixed tcell renderer used to render full-screen fzf on Windows
    --no-clear is deprecated. Use reload action instead.
- Update to 0.33.0:
  - Added --scheme=[default|path|history] option to choose scoring scheme
    - (Experimental)
    - We updated the scoring algorithm in 0.32.0, however we have learned that
      this new scheme (default) is not always giving the optimal result
    - path: Additional bonus point is only given to the the characters after
      path separator. You might want to choose this scheme if you have many
      files with spaces in their paths.
    - history: No additional bonus points are given so that we give more
      weight to the chronological ordering. This is equivalent to the scoring
      scheme before 0.32.0. This also sets --tiebreak=index.
  - ANSI color sequences with colon delimiters are now supported.
     printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi
     printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi
  - Support border-{up,down} as the synonyms for border-{top,bottom} in
    --preview-window
  - Added support for ANSI strikethrough
     printf "\e[9mdeleted" | fzf --ansi
     fzf --color fg+:strikethrough
- Update to 0.32.0:
  - Updated the scoring algorithm
    - Different bonus points to different categories of word
      boundaries (listed higher to lower bonus point)
      - Word after whitespace characters or beginning of the string
      - Word after common delimiter characters (/,:;|)
      - Word after other non-word characters
      # foo/bar.sh` is preferred over `foo-bar.sh` on `bar`
      fzf --query=bar --height=4 << EOF
      foo-bar.sh
      foo/bar.sh
      EOF
  - Added a new tiebreak chunk
    - Favors the line with shorter matched chunk. A chunk is a
      set of consecutive non-whitespace characters.
    - Unlike the default length, this scheme works well with
      tabular input
        # length prefers item #1, because the whole line is shorter,
        # chunk prefers item #2, because the matched chunk ("foo") is shorter
        fzf --height=6 --header-lines=2 --tiebreak=chunk --reverse --query=fo << "EOF"
        N | Field1 | Field2 | Field3
        - | ------ | ------ | ------
        1 | hello  | foobar | baz
        2 | world  | foo    | bazbaz
        EOF
     - If the input does not contain any spaces, chunk is
       equivalent to length. But we're not going to set it as the
       default because it is computationally more expensive.
  - Bug fixes and improvements
- Update to 0.31.0:
  - Added support for an alternative preview window layout that
    is activated when the size of the preview window is smaller
    than a certain threshold.
    # If the width of the preview window is smaller than 50 columns,
    # it will be displayed above the search window.
    fzf --preview 'cat {}' --preview-window 'right,50%,border-left,<50(up,30%,border-bottom)'
    # Or you can just hide it like so
    fzf --preview 'cat {}' --preview-window '<50(hidden)'
  - fzf now uses SGR mouse mode to properly support mouse on
    larger terminals
  - You can now use characters that do not satisfy
    unicode.IsGraphic constraint for --marker, --pointer, and
    --ellipsis. Allows Nerd Fonts and stuff.
    Use at your own risk.
  - Bug fixes and improvements
  - Shell extension
      kill completion now requires trigger sequence (**) for
      consistency
- Supplement fzf-bash-completion against bash-completion, not bash.
- update to 0.30.0:
  * Fixed cursor flickering over the screen by hiding it during rendering
  * Added --ellipsis option. You can take advantage of it to make fzf
    effectively search non-visible parts of the item.
  * Added rebind action for restoring bindings after unbind
  * Switching between Ripgrep mode and fzf mode
  * Bug fixes and improvements
- Update to 0.29.0:
  - Added `change-preview(...)` action to change the `--preview` command
      - cf. `preview(...)` is a one-off action that doesn't change the
        default preview command
  - Added `change-preview-window(...)` action
      - You can rotate through the different options separated by `|`
        ```sh
        fzf --preview 'cat {}' --preview-window right:40% \
            --bind 'ctrl-/:change-preview-window(right,70%|down,40%,border-top|hidden|)'
        ```
  - Fixed rendering of the prompt line when overflow occurs with
    `--info=inline`
- update to 0.28.0:
  * Added `--header-first` option to print header before the prompt line
  * Added `--scroll-off=LINES` option
  * Fixed bug where preview window is not updated on `reload`
  * fzf on Windows will also use `$SHELL` to execute external programs
- Update to 0.27.3:
  - Preview window is `hidden` by default when there are `preview` bindings but
    `--preview` command is not given
  - Fixed bug where `{n}` is not properly reset on `reload`
  - Fixed bug where spinner is not displayed on `reload`
  - Enhancements in tcell renderer for Windows (#2616)
  - Vim plugin
      - `sinklist` is added as a synonym to `sink*` so that it's
        easier to add a function to a spec dictionary
        ```vim
        let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
        function spec.sinklist(matches)
          echom string(a:matches)
        endfunction
  
        call fzf#run(fzf#wrap(spec))
        ```
  - Vim 7 compatibility
- Set FZF_VERSION and FZF_REVISION environment variables as well.
- Update to 0.27.2:
  - 16 base ANSI colors can be specified by their names
    fzf --color fg:3,fg+:11
    fzf --color fg:yellow,fg+:bright-yellow
  - Fix bug where --read0 not properly displaying long lines
- Update to 0.27.1:
  - Added unbind action. In the following Ripgrep launcher
    example, you can use unbind(reload) to switch to fzf-only
    filtering mode.
    See https://github.com/junegunn/fzf/blob/master/ADVANCED.md#switching-to-fzf-only-search-mode
  - Vim plugin will stop immediately even when the source command hasn't finished
    " fzf will read the stream file while allowing other processes to append to it
    call fzf#run(fzf#wrap({'source': 'cat /dev/null > /tmp/stream; tail -f /tmp/stream'}))
  - It is now possible to open popup window relative to the currrent window
    let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6, 'relative': v:true, 'yoffset': 1.0 } }
- Update to 0.27.0:
  - More border options for `--preview-window`
    ```sh
    fzf --preview 'cat {}' --preview-window border-left
    fzf --preview 'cat {}' --preview-window border-left --border horizontal
    fzf --preview 'cat {}' --preview-window top:border-bottom
    fzf --preview 'cat {}' --preview-window top:border-horizontal
    ```
  - Automatically set `/dev/tty` as STDIN on execute action
    ```sh
    # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal"
    # ls | fzf --bind "enter:execute(vim {} < /dev/tty)"
    # "< /dev/tty" part is no longer needed
    ls | fzf --bind "enter:execute(vim {})"
    ```
  - Bug fixes and improvements
  
- Update to 0.26.0:
  - Added support for fixed header in preview window
    # Display top 3 lines as the fixed header
    fzf --preview 'bat --style=header,grid --color=always {}' --preview-window '~3'
    More advanced preview offset expression to better support the fixed header
    # Preview with bat, matching line in the middle of the window below
    # the fixed header of the top 3 lines
    #
    #   ~3    Top 3 lines as the fixed header
    #   +{2}  Base scroll offset extracted from the second field
    #   +3    Extra offset to compensate for the 3-line header
    #   /2    Put in the middle of the preview area
    #
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=full --color=always --highlight-line {2} {1}' \
          --preview-window '~3:+{2}+3/2'
  - Added select and deselect action for unconditionally selecting or
    deselecting a single item in --multi mode. Complements toggle action.
  - Sigificant performance improvement in ANSI code processing
  - Bug fixes and improvements
- Update to 0.25.1:
  - Added `close` action
    - Close preview window if open, abort fzf otherwise
  - Bug fixes and improvements
- Text attributes set in --color are not reset when fzf sees another
  --color option for the same element. This allows you to put custom
  text attributes in your $FZF_DEFAULT_OPTS and still have those
  attributes even when you override the colors.
  # Default colors and attributes
  fzf
  # Apply custom text attributes
  export FZF_DEFAULT_OPTS='--color fg+:italic,hl👎underline,hl+👎reverse:underline'
  fzf
  # Different colors but you still have the attributes
  fzf --color hl:176,hl+:177
  # Write "regular" if you want to clear the attributes
  fzf --color hl:176:regular,hl+:177:regular
- Renamed --phony to --disabled
- You can dynamically enable and disable the search functionality using
  the new enable-search, disable-search, and toggle-search actions
- You can assign a different color to the query string for when search
  is disabled
  fzf --color query:#ffffff,disabled:#999999 --bind space:toggle-search
- Added last action to move the cursor to the last match
      The opposite action top is renamed to first, but top is still
      recognized as a synonym for backward compatibility
- Added preview-top and preview-bottom actions
- Extended support for alt key chords: alt with any case-sensitive
  single character
  fzf --bind alt-,:first,alt-.:last
- Generate tags for vim documentation
- Update to 24.4.4:
  - Added --preview-window option follow
    # Preview window will automatically scroll to the bottom
    fzf --preview-window follow --preview 'for i in $(seq 100000); do
      echo "$i"
      sleep 0.01
      (( i % 300 == 0 )) && printf "\033[2J"
    done'
  - Added change-prompt action
    fzf --prompt 'foo> ' --bind $'a:change-prompt:\x1b[31mbar> '
  - Bug fixes and improvements
- Enable tests
- Update to 0.24.3:
  - Added --padding option:
    fzf --margin 5% --padding 5% --border --preview 'cat {}' \
    --color bg:#222222,preview-bg:#333333
  - Bug fixes and improvements
- Update to 0.24.1:
  - Real-time rendering of preview window
    # fzf can render preview window before the command completes
    fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'
    # Preview window can process ANSI escape sequence (CSI 2 J) for clearing the display
    fzf --preview 'for i in $(seq 100000); do
      (( i % 200 == 0 )) && printf "\033[2J"
      echo "$i"
      sleep 0.01
    done'
  - To indicate if --multi mode is enabled, fzf will print the number of
    selected items even when no item is selected
    seq 100 | fzf
      # 100/100
    seq 100 | fzf --multi
      # 100/100 (0)
    seq 100 | fzf --multi 5
      # 100/100 (0/5)
  - Added --preview-window options for disabling flags
        nocycle
        nohidden
        nowrap
        default
  - Support preview scroll offset relative to window height
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
          --preview-window +{2}-/2
  - Added --preview-window option for sharp edges (--preview-window
    sharp)
  - Added --preview-window option for cyclic scrolling (--preview-window
    cycle)
  - Reduced vertical padding around the preview window when
    --preview-window noborder is used
  - Added actions for preview window
        preview-half-page-up
        preview-half-page-down
  - Vim
    - Popup width and height can be given in absolute integer values
    - Added fzf#exec() function for getting the path of fzf executable
      It also downloads the latest binary if it's not available by
      running ./install --bin
- Update to 0.22.0
  - Added more options for --bind
  - Added preview window option for setting the initial scroll offset
  - Added support for ANSI colors in --prompt string
  - Smart match of accented characters
  - Vim plugin
- Add subpackage for fish completion.
- Update to 0.21.1
  - CTRL-R will remove duplicate commands
  - Supports tmux popup window (require tmux 3.2 or above) 
  - bug fixes
- Update to 0.21.0: 
  - --height option is now available on Windows as well (@kelleyma49)
  - Added --pointer and --marker options
  - Added --keep-right option that keeps the right end of the line visible when it's too long
  - Style changes
    - --border will now print border with rounded corners around the finder instead of printing horizontal lines above and below it. The previous style is available via --border=horizontal
    - Unicode spinner
  - More keys and actions for --bind
  - Added PowerShell script for downloading Windows binary
  - Vim plugin: Built-in floating windows support 
  - bash: Various improvements in key bindings (CTRL-T, CTRL-R, ALT-C)
    - CTRL-R will start with the current command-line as the initial query
    - CTRL-R properly supports multi-line commands
  - Fuzzy completion API changed 
  - Bug fixes
- Update to 0.20.0:
  - Customizable preview window color (preview-fg and preview-bg
    for --color)
    fzf --preview 'cat {}' \
        --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' \
        --border --height 20 --layout reverse --info inline
    Removed the immediate flicking of the screen on reload action.
    : | fzf --bind 'change:reload:seq {q}' --phony
    Added clear-query and clear-selection actions for --bind
  - It is now possible to split a composite bind action over
    multiple --bind expressions by prefixing the later ones with
    +.
    fzf --bind 'ctrl-a:up+up'
    # Can be now written as
    fzf --bind 'ctrl-a:up' --bind 'ctrl-a:+up'
    # This is useful when you need to write special
    # execute/reload form (i.e. `execute:...`)
    # to avoid parse errors and add more actions to the same key
    fzf --multi --bind 'ctrl-l:select-all+execute:less {+f}' --bind 'ctrl-l:+deselect-all'
  - Fixed parse error of --bind expression where concatenated
    execute/reload action contains + character.
    fzf --multi --bind 'ctrl-l:select-all+execute(less {+f})+deselect-all'
  - Fixed bugs of reload action
    - Not triggered when there's no match even when the command
      doesn't have any placeholder expressions
    - Screen not properly cleared when --header-lines not filled
      on reload
- Update to 0.19.0
  - Added --phony option which completely disables search functionality.
    Useful when you want to use fzf only as a selector interface. See below.
  - Added "reload" action for dynamically updating the input list without
    restarting fzf. See https://github.com/junegunn/fzf/issues/1750 to
    learn more about it.
  - --multi now takes an optional integer argument which indicates the
    maximum number of items that can be selected
  - If a placeholder expression for --preview and execute action
    (and the new reload action) contains f flag, it is replaced to
    the path of a temporary file that holds the evaluated list.
    This is useful when you multi-select a large number of items
    and the length of the evaluated string may exceed ARG_MAX.
  - deselect-all no longer deselects unmatched items. It is now
    consistent with select-all and toggle-all in that it only affects
    matched items.
  - Due to the limitation of bash, fuzzy completion is enabled by
    default for a fixed set of commands. A helper function for easily
    setting up fuzzy completion for any command is now provided.
  - Info line style can be changed by --info=STYLE
  - Preview window border can be disabled by adding noborder to --preview-window.
  - When you transform the input with --with-nth, the trailing white spaces are removed.
  - ctrl-\, ctrl-], ctrl-^, and ctrl-/ can now be used with --bind
  - See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details
- Remove pointless double extraction of tarball again.
- Update to 0.18.0:
  - 0.18.0
    - Added placeholder expression for zero-based item index: {n}
      and {+n} fzf --preview 'echo {n}: {}'
    - Added color option for the gutter: --color gutter:-1
    - Added --no-unicode option for drawing borders in
      non-Unicode, ASCII characters
    - FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS are exported to
      preview process fzf still overrides LINES and COLUMNS as
      before, but they may be reset by the default shell.
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/14?closed=1
  - Update to 0.17.5:
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/13?closed=1
    - Search query longer than the screen width is allowed (up to
      300 chars)
- Patch build-mode-pie.patch removed as it is unneeded
  (we don't use Makefile anymore).
- Add subpackage vim-fzf with the original vim plugin for fzf (there
  is also more extensive third party plugin on
  https://github.com/junegunn/fzf.vim)
- update to 0.17.4
  * Added --layout option with a new layout called reverse-list.
    --layout=reverse is a synonym for --reverse
    --layout=default is a synonym for --no-reverse
  * Preview window will be updated even when there is no match for
    the query if any of the placeholder expressions (e.g. {q}, {+})
    evaluates to a non-empty string.
  * More keys for binding: shift-{up,down}, alt-{up,down,left,
    right}
  * fzf can now start when /dev/tty is not available by making
    an educated guess.
  * bash/zsh completion improvements
  * install and uninstall scripts support generating files under
    XDG_CONFIG_HOME on --xdg flag.
- remove sed patch for non-excecutable fix (merged upstream)
- initial package

OBS-URL: https://build.opensuse.org/request/show/1091831
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=77
2023-06-09 18:37:59 +00:00
90248d6341 Accepting request 1091756 from home:smolsheep:upgrades
- Update to version 0.41.1:
  * Fixed a bug where preview window is not updated when
    --disabled is set and a reload is triggered by change:reload
    binding
  * Added patch to make test cases work on 0.41.1
Previous request had a mistake in the specfile. This is fixed now. Apologies.

OBS-URL: https://build.opensuse.org/request/show/1091756
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=76
2023-06-09 18:22:17 +00:00
Dominique Leuenberger
0059393daf Accepting request 1089242 from utilities
- Update to version 0.41.0:
  * Added color name preview-border and preview-scrollbar
  * Added new border style block which uses block elements
  * --scrollbar can take two characters, one for the main window,
   the other for the preview window
  * Bug fixes and improvements
- require golang >= 1.19 instead of "="

OBS-URL: https://build.opensuse.org/request/show/1089242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=34
2023-05-26 22:51:10 +00:00
b79ab2b685 0.41.0
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=74
2023-05-26 18:43:01 +00:00
Dominique Leuenberger
30578b5382 Accepting request 1083792 from utilities
- 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/request/show/1083792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=33
2023-05-01 16:51:18 +00:00
f90795fc1e - 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
2023-04-30 21:46:48 +00:00
Dominique Leuenberger
354feb4eb3 Accepting request 1080294 from utilities
Update to version 0.39.0 major upstream release. (forwarded request 1080214 from luc14n0)

OBS-URL: https://build.opensuse.org/request/show/1080294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=32
2023-04-19 15:44:27 +00:00
d9b41191ed Accepting request 1080214 from home:luc14n0:branches:utilities
Update to version 0.39.0 major upstream release.

OBS-URL: https://build.opensuse.org/request/show/1080214
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=70
2023-04-19 10:55:33 +00:00
Dominique Leuenberger
68a5f23ff9 Accepting request 1078867 from utilities
- All those completion scripts not requiring their respective
  shells is a bit ridiculous.

OBS-URL: https://build.opensuse.org/request/show/1078867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=31
2023-04-13 12:10:56 +00:00
1cfdd23c96 - All those completion scripts not requiring their respective
shells is a bit ridiculous.

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=68
2023-04-13 06:05:01 +00:00
Dominique Leuenberger
c0bb56ff78 Accepting request 1066417 from utilities
OBS-URL: https://build.opensuse.org/request/show/1066417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=30
2023-02-18 16:10:21 +00:00
cffc16882f Accepting request 1066389 from home:uncomfyhalomacro:branches:utilities
- Disable LTO
- Replace unused RPM_OPT_FLAGS
- Update to version 0.38.0:
  * New actions
    - become(...) - Replace the current fzf process with the specified command using execve(2) system call.
      See https://github.com/junegunn/fzf#turning-into-a-different-process for more information.
        # Open selected files in Vim
        fzf --multi --bind 'enter:become(vim {+})'
        # Open the file in Vim and go to the line
        git grep --line-number . |
        fzf --delimiter : --nth 3.. --bind 'enter:become(vim {1} +{2})'
      >> this action is not supported on Windows
    - show-preview
    - hide-preview
  * Bug fixes
    - --preview-window 0,hidden should not execute the preview command until toggle-preview action is triggered

OBS-URL: https://build.opensuse.org/request/show/1066389
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=66
2023-02-17 16:58:21 +00:00
Dominique Leuenberger
1d62668b5b Accepting request 1063495 from utilities
- Update to 0.37.0:
  - Added a way to customize the separator of inline info
    fzf --info 'inline: ╱ ' --prompt '╱ ' --color prompt:bright-yellow
  - New event
        focus - Triggered when the focus changes due to a vertical cursor
        movement or a search result update
        fzf --bind 'focus:transform-preview-label:echo [ {} ]' --preview 'cat {}'
        # Any action bound to the event runs synchronously and thus can make the interface sluggish
        # e.g. lolcat isn't one of the fastest programs, and every cursor movement in
        #      fzf will be noticeably affected by its execution time
        fzf --bind 'focus:transform-preview-label:echo [ {} ] | lolcat -f' --preview 'cat {}'
        # Beware not to introduce an infinite loop
        seq 10 | fzf --bind 'focus:up' --cycle
    - New actions
        change-border-label
        change-preview-label
        transform-border-label
        transform-preview-label
    - Bug fixes and improvements
- Update to 0.36.0:
  - Added --listen=HTTP_PORT option to start HTTP server. It allows external
    processes to send actions to perform via POST method.
    # Start HTTP server on port 6266
    fzf --listen 6266
    # Send actions to the server
    curl localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
  - Added draggable scrollbar to the main search window and the preview window
    # Hide scrollbar
    fzf --no-scrollbar
    # Customize scrollbar
    fzf --scrollbar ┆ --color scrollbar:blue
  - New event
        Added load event that is triggered when the input stream is complete
        and the initial processing of the list is complete.
        # Change the prompt to "loaded" when the input stream is complete
        (seq 10; sleep 1; seq 11 20) | fzf --prompt 'Loading> ' --bind 'load:change-prompt:Loaded> '
        # You can use it instead of 'start' event without `--sync` if asynchronous
        # trigger is not an issue.
        (seq 10; sleep 1; seq 11 20) | fzf --bind 'load:last'
  - New actions
        Added pos(...) action to move the cursor to the numeric position
            first and last are equivalent to pos(1) and pos(-1) respectively
        # Put the cursor on the 10th item
        seq 100 | fzf --sync --bind 'start:pos(10)'
        # Put the cursor on the 10th to last item
        seq 100 | fzf --sync --bind 'start:pos(-10)'
        Added reload-sync(...) action which replaces the current list only after
        the reload process is complete. This is useful when the command takes
        a while to produce the initial output and you don't want fzf to run against
        an empty list while the command is running.
        # You can still filter and select entries from the initial list for 3 seconds
        seq 100 | fzf --bind 'load:reload-sync(sleep 3; seq 1000)+unbind(load)'
        Added next-selected and prev-selected actions to move between selected
        items
        # `next-selected` will move the pointer to the next selected item below the current line
        # `prev-selected` will move the pointer to the previous selected item above the current line
        seq 10 | fzf --multi --bind ctrl-n:next-selected,ctrl-p:prev-selected
        # Both actions respect --layout option
        seq 10 | fzf --multi --bind ctrl-n:next-selected,ctrl-p:prev-selected --layout reverse
        Added change-query(...) action that simply changes the query string to the
        given static string. This can be useful when used with --listen.
        curl localhost:6266 -d "change-query:$(date)"
        Added transform-prompt(...) action for transforming the prompt string
        using an external command
        # Press space to change the prompt string using an external command
        # (only the first line of the output is taken)
        fzf --bind 'space:reload(ls),load:transform-prompt(printf "%s> " "$(date)")'
        Added transform-query(...) action for transforming the query string using
        an external command
        # Press space to convert the query to uppercase letters
        fzf --bind 'space:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
        # Bind it to 'change' event for automatic conversion
        fzf --bind 'change:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
        # Can only type numbers
        fzf --bind 'change:transform-query(sed "s/[^0-9]//g" <<< {q})'
        put action can optionally take an argument string
        # a will put 'alpha' on the prompt, ctrl-b will put 'bravo'
        fzf --bind 'a:put+put(lpha),ctrl-b:put(bravo)'
    - Added color name preview-label for --preview-label
      (defaults to label for --border-label)
    - Better support for (Windows) terminals where
      each box-drawing character takes 2 columns. Set
      RUNEWIDTH_EASTASIAN environment variable to 1.
        On Vim, the variable will be automatically set if &ambiwidth is double
    - Behavior changes
        fzf will always execute the preview command if the command template
        contains {q} even when it's empty. If you prefer the old behavior,
        you'll have to check if {q} is empty in your command.
        # This will show // even when the query is empty
        : | fzf --preview 'echo /{q}/'
        # But if you don't want it,
        : | fzf --preview '[ -n {q} ] || exit; echo /{q}/'
        double-click will behave the same as enter unless otherwise specified,
        so you don't have to repeat the same action twice in --bind in most cases.
        # No need to bind 'double-click' to the same action
        fzf --bind 'enter:execute:less {}' # --bind 'double-click:execute:less {}'
        If the color for separator is not specified, it will default to the
        color for border. Same holds true for scrollbar. This is to reduce
        the number of configuration items required to achieve a consistent color
        scheme.
        If follow flag is specified in --preview-window option, fzf will
        automatically scroll to the bottom of the streaming preview output. But
        when the user manually scrolls the window, the following stops. With
        this version, fzf will resume following if the user scrolls the window
        to the bottom.
        Default border style on Windows is changed to sharp because some
        Windows terminals are not capable of displaying rounded border
        characters correctly.
    - Minor bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/1063495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=29
2023-02-07 17:49:11 +00:00
199acd4649 - Update to 0.37.0:
- Added a way to customize the separator of inline info
    fzf --info 'inline: ╱ ' --prompt '╱ ' --color prompt:bright-yellow
  - New event
        focus - Triggered when the focus changes due to a vertical cursor
        movement or a search result update
        fzf --bind 'focus:transform-preview-label:echo [ {} ]' --preview 'cat {}'
        # Any action bound to the event runs synchronously and thus can make the interface sluggish
        # e.g. lolcat isn't one of the fastest programs, and every cursor movement in
        #      fzf will be noticeably affected by its execution time
        fzf --bind 'focus:transform-preview-label:echo [ {} ] | lolcat -f' --preview 'cat {}'
        # Beware not to introduce an infinite loop
        seq 10 | fzf --bind 'focus:up' --cycle
    - New actions
        change-border-label
        change-preview-label
        transform-border-label
        transform-preview-label
    - Bug fixes and improvements
- Update to 0.36.0:
  - Added --listen=HTTP_PORT option to start HTTP server. It allows external
    processes to send actions to perform via POST method.
    # Start HTTP server on port 6266
    fzf --listen 6266
    # Send actions to the server
    curl localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
  - Added draggable scrollbar to the main search window and the preview window
    # Hide scrollbar
    fzf --no-scrollbar
    # Customize scrollbar

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=64
2023-02-06 11:10:01 +00:00
Dominique Leuenberger
5d89d5210d Accepting request 1043663 from utilities
OBS-URL: https://build.opensuse.org/request/show/1043663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=28
2022-12-19 13:08:03 +00:00
2d4ca76af5 Accepting request 1043648 from home:dirkmueller:Factory
- update to 0.35.1:
  * Fixed a bug where fzf with `--tiebreak=chunk` crashes on inverse match
    query
  * Fixed a bug where clicking above fzf would paste escape sequences

OBS-URL: https://build.opensuse.org/request/show/1043648
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=62
2022-12-18 21:27:52 +00:00
Dominique Leuenberger
b1e4c83a9d Accepting request 1035454 from utilities
OBS-URL: https://build.opensuse.org/request/show/1035454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=27
2022-11-13 17:09:05 +00:00
0a41ca9248 Accepting request 1035310 from home:jcronenberg:branches:utilities
- Update to 0.35.0:
  * Added start event that is triggered only once when fzf finder
    starts. Since fzf consumes the input stream asynchronously,
    the input list is not available unless you use --sync.
    seq 100 | fzf --multi --sync --bind 'start:last+select-all+preview(echo welcome)'
  * Added --border-label and --border-label-pos for putting label
    on the border
    # ANSI color codes are supported
    # (with https://github.com/busyloop/lolcat)
    label=$(curl -s http://metaphorpsum.com/sentences/1 | lolcat -f)
    # Border label at the center
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --color=label:italic:black
    # Left-aligned (positive integer)
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --border-label-pos=3 --color=label:italic:black
    # Right-aligned (negative integer) on the bottom line (:bottom)
    fzf --height=10 --border --border-label="╢ $label ╟" \
    --border-label-pos=-3:bottom --color=label:italic:black
  * Also added --preview-label and --preview-label-pos for the
    border of the preview window
    fzf --preview 'cat {}' --border --preview-label=' Preview ' \
    --preview-label-pos=2
  * Info panel (match counter) will be followed by a horizontal separator
    by default
    - Use --no-separator or --separator='' to hide the separator
    - You can specify an arbitrary string that is repeated to form the
      horizontal separator. e.g. --separator=╸
    - The color of the separator can be customized via --color=separator:...
    - ANSI color codes are also supported
    fzf --separator=╸ --color=separator:green
    fzf --separator=$(lolcat -f -F 1.4 <<< ▁▁▂▃▄▅▆▆▅▄▃▂▁▁) --info=inline
  * Added --border=bold and --border=double along with
    --preview-window=border-bold and --preview-window=border-double

OBS-URL: https://build.opensuse.org/request/show/1035310
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=60
2022-11-12 14:04:03 +00:00
Richard Brown
52f218c471 Accepting request 1006792 from utilities
- Update to 0.34.0:
  - Added support for adaptive --height. If the --height value is prefixed
    with ~, fzf will automatically determine the height in the range according
    to the input size.
    seq 1 | fzf --height ~70% --border --padding 1 --margin 1
    seq 10 | fzf --height ~70% --border --padding 1 --margin 1
    seq 100 | fzf --height ~70% --border --padding 1 --margin 1
      - There are a few limitations
        - Not compatible with percent top/bottom margin/padding
            # This is not allowed (top/bottom margin in percent value)
            fzf --height ~50% --border --margin 5%,10%
            # This is allowed (top/bottom margin in fixed value)
            fzf --height ~50% --border --margin 2,10%
         - fzf will not start until it can determine the right height for the input
            # fzf will open immediately
            (sleep 2; seq 10) | fzf --height 50%
            # fzf will open after 2 seconds
            (sleep 2; seq 10) | fzf --height ~50%
            (sleep 2; seq 1000) | fzf --height ~50%
  - Fixed tcell renderer used to render full-screen fzf on Windows
    --no-clear is deprecated. Use reload action instead.

OBS-URL: https://build.opensuse.org/request/show/1006792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=26
2022-09-29 16:13:34 +00:00
101964df22 - Update to 0.34.0:
- Added support for adaptive --height. If the --height value is prefixed
    with ~, fzf will automatically determine the height in the range according
    to the input size.
    seq 1 | fzf --height ~70% --border --padding 1 --margin 1
    seq 10 | fzf --height ~70% --border --padding 1 --margin 1
    seq 100 | fzf --height ~70% --border --padding 1 --margin 1
      - There are a few limitations
        - Not compatible with percent top/bottom margin/padding
            # This is not allowed (top/bottom margin in percent value)
            fzf --height ~50% --border --margin 5%,10%
            # This is allowed (top/bottom margin in fixed value)
            fzf --height ~50% --border --margin 2,10%
         - fzf will not start until it can determine the right height for the input
            # fzf will open immediately
            (sleep 2; seq 10) | fzf --height 50%
            # fzf will open after 2 seconds
            (sleep 2; seq 10) | fzf --height ~50%
            (sleep 2; seq 1000) | fzf --height ~50%
  - Fixed tcell renderer used to render full-screen fzf on Windows
    --no-clear is deprecated. Use reload action instead.

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=58
2022-09-28 23:01:14 +00:00
Dominique Leuenberger
641b956cab Accepting request 1002506 from utilities
OBS-URL: https://build.opensuse.org/request/show/1002506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=25
2022-09-11 19:57:35 +00:00
1c833ad317 Accepting request 1001296 from home:jcronenberg
- Update to 0.33.0:
  - Added --scheme=[default|path|history] option to choose scoring scheme
    - (Experimental)
    - We updated the scoring algorithm in 0.32.0, however we have learned that
      this new scheme (default) is not always giving the optimal result
    - path: Additional bonus point is only given to the the characters after
      path separator. You might want to choose this scheme if you have many
      files with spaces in their paths.
    - history: No additional bonus points are given so that we give more
      weight to the chronological ordering. This is equivalent to the scoring
      scheme before 0.32.0. This also sets --tiebreak=index.
  - ANSI color sequences with colon delimiters are now supported.
     printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi
     printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi
  - Support border-{up,down} as the synonyms for border-{top,bottom} in
    --preview-window
  - Added support for ANSI strikethrough
     printf "\e[9mdeleted" | fzf --ansi
     fzf --color fg+:strikethrough

OBS-URL: https://build.opensuse.org/request/show/1001296
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=56
2022-09-11 11:20:08 +00:00
Dominique Leuenberger
a5afd9fbc4 Accepting request 993542 from utilities
OBS-URL: https://build.opensuse.org/request/show/993542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=24
2022-08-06 20:08:33 +00:00
755ba727c8 Accepting request 992624 from home:mcepl:branches:utilities
- Update to 0.32.0:
  - Updated the scoring algorithm
    - Different bonus points to different categories of word
      boundaries (listed higher to lower bonus point)
      - Word after whitespace characters or beginning of the string
      - Word after common delimiter characters (/,:;|)
      - Word after other non-word characters
      # foo/bar.sh` is preferred over `foo-bar.sh` on `bar`
      fzf --query=bar --height=4 << EOF
      foo-bar.sh
      foo/bar.sh
      EOF
  - Added a new tiebreak chunk
    - Favors the line with shorter matched chunk. A chunk is a
      set of consecutive non-whitespace characters.
    - Unlike the default length, this scheme works well with
      tabular input
        # length prefers item #1, because the whole line is shorter,
        # chunk prefers item #2, because the matched chunk ("foo") is shorter
        fzf --height=6 --header-lines=2 --tiebreak=chunk --reverse --query=fo << "EOF"
        N | Field1 | Field2 | Field3
        - | ------ | ------ | ------
        1 | hello  | foobar | baz
        2 | world  | foo    | bazbaz
        EOF
     - If the input does not contain any spaces, chunk is
       equivalent to length. But we're not going to set it as the
       default because it is computationally more expensive.
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/992624
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=54
2022-08-06 15:21:15 +00:00
Richard Brown
12bb5297f4 Accepting request 990676 from utilities
OBS-URL: https://build.opensuse.org/request/show/990676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=23
2022-07-22 17:21:35 +00:00
6533958ef7 Accepting request 990592 from home:mcepl:branches:utilities
- Update to 0.31.0:
  - Added support for an alternative preview window layout that
    is activated when the size of the preview window is smaller
    than a certain threshold.
    # If the width of the preview window is smaller than 50 columns,
    # it will be displayed above the search window.
    fzf --preview 'cat {}' --preview-window 'right,50%,border-left,<50(up,30%,border-bottom)'
    # Or you can just hide it like so
    fzf --preview 'cat {}' --preview-window '<50(hidden)'
  - fzf now uses SGR mouse mode to properly support mouse on
    larger terminals
  - You can now use characters that do not satisfy
    unicode.IsGraphic constraint for --marker, --pointer, and
    --ellipsis. Allows Nerd Fonts and stuff.
    Use at your own risk.
  - Bug fixes and improvements
  - Shell extension
      kill completion now requires trigger sequence (**) for
      consistency

OBS-URL: https://build.opensuse.org/request/show/990592
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=52
2022-07-22 12:26:03 +00:00
Dominique Leuenberger
a8b7aa5496 Accepting request 984480 from utilities
OBS-URL: https://build.opensuse.org/request/show/984480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=22
2022-06-23 08:23:37 +00:00
899c91a744 Accepting request 984456 from home:dimstar:Factory
- Supplement fzf-bash-completion against bash-completion, not bash.

  * Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/984456
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=50
2022-06-22 12:33:46 +00:00
5d8bda2858 Accepting request 984249 from home:dirkmueller:Factory
- update to 0.30.0:
  * Fixed cursor flickering over the screen by hiding it during rendering
  * Added --ellipsis option. You can take advantage of it to make fzf
    effectively search non-visible parts of the item.
  * Added rebind action for restoring bindings after unbind
  * Switching between Ripgrep mode and fzf mode
  * Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/984249
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=49
2022-06-21 20:45:03 +00:00
Dominique Leuenberger
a0a7738629 Accepting request 942381 from utilities
OBS-URL: https://build.opensuse.org/request/show/942381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=21
2021-12-25 19:16:41 +00:00
c58ff87b88 Accepting request 942380 from home:mcepl:branches:utilities
- Update to 0.29.0:
  - Added `change-preview(...)` action to change the `--preview` command
      - cf. `preview(...)` is a one-off action that doesn't change the
        default preview command
  - Added `change-preview-window(...)` action
      - You can rotate through the different options separated by `|`
        ```sh
        fzf --preview 'cat {}' --preview-window right:40% \
            --bind 'ctrl-/:change-preview-window(right,70%|down,40%,border-top|hidden|)'
        ```
  - Fixed rendering of the prompt line when overflow occurs with
    `--info=inline`

OBS-URL: https://build.opensuse.org/request/show/942380
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=48
2021-12-24 23:05:52 +00:00
Dominique Leuenberger
4f86a067f6 Accepting request 931747 from utilities
OBS-URL: https://build.opensuse.org/request/show/931747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=20
2021-11-17 00:14:12 +00:00
6c890d2b68 Accepting request 931280 from home:dirkmueller:Factory
- update to 0.28.0:
  * Added `--header-first` option to print header before the prompt line
  * Added `--scroll-off=LINES` option
  * Fixed bug where preview window is not updated on `reload`
  * fzf on Windows will also use `$SHELL` to execute external programs

OBS-URL: https://build.opensuse.org/request/show/931280
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=47
2021-11-16 12:11:11 +00:00
Dominique Leuenberger
1bb8b821f7 Accepting request 925521 from utilities
- Update to 0.27.3:
  - Preview window is `hidden` by default when there are `preview` bindings but
    `--preview` command is not given
  - Fixed bug where `{n}` is not properly reset on `reload`
  - Fixed bug where spinner is not displayed on `reload`
  - Enhancements in tcell renderer for Windows (#2616)
  - Vim plugin
      - `sinklist` is added as a synonym to `sink*` so that it's
        easier to add a function to a spec dictionary
        ```vim
        let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
        function spec.sinklist(matches)
          echom string(a:matches)
        endfunction
  
        call fzf#run(fzf#wrap(spec))
        ```
  - Vim 7 compatibility
- Set FZF_VERSION and FZF_REVISION environment variables as well.

OBS-URL: https://build.opensuse.org/request/show/925521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=19
2021-10-15 21:04:36 +00:00
9fd325c9b3 - Set FZF_VERSION and FZF_REVISION environment variables as well.
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=46
2021-10-15 16:43:10 +00:00
debab5a5b3 Bump go version requirements
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=45
2021-10-15 16:32:30 +00:00
1e3f5d3c63 - Update to 0.27.3:
- Preview window is `hidden` by default when there are `preview` bindings but
    `--preview` command is not given
  - Fixed bug where `{n}` is not properly reset on `reload`
  - Fixed bug where spinner is not displayed on `reload`
  - Enhancements in tcell renderer for Windows (#2616)
  - Vim plugin
      - `sinklist` is added as a synonym to `sink*` so that it's
        easier to add a function to a spec dictionary
        ```vim
        let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
        function spec.sinklist(matches)
          echom string(a:matches)
        endfunction
  
        call fzf#run(fzf#wrap(spec))
        ```
  - Vim 7 compatibility

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=44
2021-10-15 16:26:05 +00:00
Dominique Leuenberger
e6fb2d1b26 Accepting request 896611 from utilities
- Update to 0.27.2:
  - 16 base ANSI colors can be specified by their names
    fzf --color fg:3,fg+:11
    fzf --color fg:yellow,fg+:bright-yellow
  - Fix bug where --read0 not properly displaying long lines

OBS-URL: https://build.opensuse.org/request/show/896611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=18
2021-06-02 20:11:27 +00:00
af0c171f94 - Update to 0.27.2:
- 16 base ANSI colors can be specified by their names
    fzf --color fg:3,fg+:11
    fzf --color fg:yellow,fg+:bright-yellow
  - Fix bug where --read0 not properly displaying long lines

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=42
2021-06-01 08:42:27 +00:00
Dominique Leuenberger
8e856a6054 Accepting request 894915 from utilities
- Update to 0.27.1:
  - Added unbind action. In the following Ripgrep launcher
    example, you can use unbind(reload) to switch to fzf-only
    filtering mode.
    See https://github.com/junegunn/fzf/blob/master/ADVANCED.md#switching-to-fzf-only-search-mode
  - Vim plugin will stop immediately even when the source command hasn't finished
    " fzf will read the stream file while allowing other processes to append to it
    call fzf#run(fzf#wrap({'source': 'cat /dev/null > /tmp/stream; tail -f /tmp/stream'}))
  - It is now possible to open popup window relative to the currrent window
    let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6, 'relative': v:true, 'yoffset': 1.0 } }

OBS-URL: https://build.opensuse.org/request/show/894915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=17
2021-05-22 22:06:05 +00:00
0b04fe445e - Update to 0.27.1:
- Added unbind action. In the following Ripgrep launcher
    example, you can use unbind(reload) to switch to fzf-only
    filtering mode.
    See https://github.com/junegunn/fzf/blob/master/ADVANCED.md#switching-to-fzf-only-search-mode
  - Vim plugin will stop immediately even when the source command hasn't finished
    " fzf will read the stream file while allowing other processes to append to it
    call fzf#run(fzf#wrap({'source': 'cat /dev/null > /tmp/stream; tail -f /tmp/stream'}))
  - It is now possible to open popup window relative to the currrent window
    let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6, 'relative': v:true, 'yoffset': 1.0 } }

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=40
2021-05-22 08:37:07 +00:00
Richard Brown
5f343d1bdf Accepting request 883885 from utilities
OBS-URL: https://build.opensuse.org/request/show/883885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=16
2021-04-10 13:27:32 +00:00
023f082029 Accepting request 883839 from home:polslinux:branches:utilities
- Update to 0.27.0:
  - More border options for `--preview-window`
    ```sh
    fzf --preview 'cat {}' --preview-window border-left
    fzf --preview 'cat {}' --preview-window border-left --border horizontal
    fzf --preview 'cat {}' --preview-window top:border-bottom
    fzf --preview 'cat {}' --preview-window top:border-horizontal
    ```
  - Automatically set `/dev/tty` as STDIN on execute action
    ```sh
    # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal"
    # ls | fzf --bind "enter:execute(vim {} < /dev/tty)"
    # "< /dev/tty" part is no longer needed
    ls | fzf --bind "enter:execute(vim {})"
    ```
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/883839
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=38
2021-04-08 18:02:05 +00:00
Dominique Leuenberger
c2de251e1a Accepting request 878879 from utilities
- Update to 0.26.0:
  - Added support for fixed header in preview window
    # Display top 3 lines as the fixed header
    fzf --preview 'bat --style=header,grid --color=always {}' --preview-window '~3'
    More advanced preview offset expression to better support the fixed header
    # Preview with bat, matching line in the middle of the window below
    # the fixed header of the top 3 lines
    #
    #   ~3    Top 3 lines as the fixed header
    #   +{2}  Base scroll offset extracted from the second field
    #   +3    Extra offset to compensate for the 3-line header
    #   /2    Put in the middle of the preview area
    #
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=full --color=always --highlight-line {2} {1}' \
          --preview-window '~3:+{2}+3/2'
  - Added select and deselect action for unconditionally selecting or
    deselecting a single item in --multi mode. Complements toggle action.
  - Sigificant performance improvement in ANSI code processing
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/878879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=15
2021-03-15 09:55:08 +00:00
f6254acc6d Update vendor tarball.
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=36
2021-03-13 17:29:59 +00:00
c241939203 - Update to 0.26.0:
- Added support for fixed header in preview window
    # Display top 3 lines as the fixed header
    fzf --preview 'bat --style=header,grid --color=always {}' --preview-window '~3'
    More advanced preview offset expression to better support the fixed header
    # Preview with bat, matching line in the middle of the window below
    # the fixed header of the top 3 lines
    #
    #   ~3    Top 3 lines as the fixed header
    #   +{2}  Base scroll offset extracted from the second field
    #   +3    Extra offset to compensate for the 3-line header
    #   /2    Put in the middle of the preview area
    #
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=full --color=always --highlight-line {2} {1}' \
          --preview-window '~3:+{2}+3/2'
  - Added select and deselect action for unconditionally selecting or
    deselecting a single item in --multi mode. Complements toggle action.
  - Sigificant performance improvement in ANSI code processing
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=35
2021-03-13 11:19:18 +00:00
Dominique Leuenberger
76049e4d6f Accepting request 868989 from utilities
- Update to 0.25.1:
  - Added `close` action
    - Close preview window if open, abort fzf otherwise
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/868989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=14
2021-02-03 18:56:45 +00:00
a0d7fb21aa - Update to 0.25.1:
- Added `close` action
    - Close preview window if open, abort fzf otherwise
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=33
2021-02-03 16:35:01 +00:00
Dominique Leuenberger
1a6a4eee90 Accepting request 859924 from utilities
- Text attributes set in --color are not reset when fzf sees another
  --color option for the same element. This allows you to put custom
  text attributes in your $FZF_DEFAULT_OPTS and still have those
  attributes even when you override the colors.
  # Default colors and attributes
  fzf
  # Apply custom text attributes
  export FZF_DEFAULT_OPTS='--color fg+:italic,hl👎underline,hl+👎reverse:underline'
  fzf
  # Different colors but you still have the attributes
  fzf --color hl:176,hl+:177
  # Write "regular" if you want to clear the attributes
  fzf --color hl:176:regular,hl+:177:regular
- Renamed --phony to --disabled
- You can dynamically enable and disable the search functionality using
  the new enable-search, disable-search, and toggle-search actions
- You can assign a different color to the query string for when search
  is disabled
  fzf --color query:#ffffff,disabled:#999999 --bind space:toggle-search
- Added last action to move the cursor to the last match
      The opposite action top is renamed to first, but top is still
      recognized as a synonym for backward compatibility
- Added preview-top and preview-bottom actions
- Extended support for alt key chords: alt with any case-sensitive
  single character
  fzf --bind alt-,:first,alt-.:last
- Generate tags for vim documentation

OBS-URL: https://build.opensuse.org/request/show/859924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=13
2021-01-03 20:26:43 +00:00
12d4465bc8 - Text attributes set in --color are not reset when fzf sees another
--color option for the same element. This allows you to put custom
  text attributes in your $FZF_DEFAULT_OPTS and still have those
  attributes even when you override the colors.
  # Default colors and attributes
  fzf
  # Apply custom text attributes
  export FZF_DEFAULT_OPTS='--color fg+:italic,hl👎underline,hl+👎reverse:underline'
  fzf
  # Different colors but you still have the attributes
  fzf --color hl:176,hl+:177
  # Write "regular" if you want to clear the attributes
  fzf --color hl:176:regular,hl+:177:regular
- Renamed --phony to --disabled
- You can dynamically enable and disable the search functionality using
  the new enable-search, disable-search, and toggle-search actions
- You can assign a different color to the query string for when search
  is disabled
  fzf --color query:#ffffff,disabled:#999999 --bind space:toggle-search
- Added last action to move the cursor to the last match
      The opposite action top is renamed to first, but top is still
      recognized as a synonym for backward compatibility
- Added preview-top and preview-bottom actions
- Extended support for alt key chords: alt with any case-sensitive
  single character
  fzf --bind alt-,:first,alt-.:last

- Generate tags for vim documentation

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=31
2021-01-03 07:32:21 +00:00
116e71e624 Revert previous commit
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=30
2020-12-18 22:34:33 +00:00
d179512291 - Generate tags for vim documentation
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=29
2020-12-18 22:23:52 +00:00
Dominique Leuenberger
9d727c2536 Accepting request 855603 from utilities
- Update to 24.4.4:
  - Added --preview-window option follow
    # Preview window will automatically scroll to the bottom
    fzf --preview-window follow --preview 'for i in $(seq 100000); do
      echo "$i"
      sleep 0.01
      (( i % 300 == 0 )) && printf "\033[2J"
    done'
  - Added change-prompt action
    fzf --prompt 'foo> ' --bind $'a:change-prompt:\x1b[31mbar> '
  - Bug fixes and improvements
- Enable tests

OBS-URL: https://build.opensuse.org/request/show/855603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=12
2020-12-14 17:09:38 +00:00
17784c9367 - Update to 24.4.4:
- Added --preview-window option follow
    # Preview window will automatically scroll to the bottom
    fzf --preview-window follow --preview 'for i in $(seq 100000); do
      echo "$i"
      sleep 0.01
      (( i % 300 == 0 )) && printf "\033[2J"
    done'
  - Added change-prompt action
    fzf --prompt 'foo> ' --bind $'a:change-prompt:\x1b[31mbar> '
  - Bug fixes and improvements
- Enable tests

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=27
2020-12-13 20:16:31 +00:00
Dominique Leuenberger
1da152ba1e Accepting request 853095 from utilities
- Update to 0.24.3:
  - Added --padding option:
    fzf --margin 5% --padding 5% --border --preview 'cat {}' \
    --color bg:#222222,preview-bg:#333333
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/853095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=11
2020-12-04 20:29:31 +00:00
c3bb317027 - Update to 0.24.3:
- Added --padding option:
    fzf --margin 5% --padding 5% --border --preview 'cat {}' \
    --color bg:#222222,preview-bg:#333333
  - Bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=25
2020-12-04 10:30:46 +00:00
Dominique Leuenberger
3245977a42 Accepting request 843822 from utilities
- Update to 0.24.1:
  - Real-time rendering of preview window
    # fzf can render preview window before the command completes
    fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'
    # Preview window can process ANSI escape sequence (CSI 2 J) for clearing the display
    fzf --preview 'for i in $(seq 100000); do
      (( i % 200 == 0 )) && printf "\033[2J"
      echo "$i"
      sleep 0.01
    done'
  - To indicate if --multi mode is enabled, fzf will print the number of
    selected items even when no item is selected
    seq 100 | fzf
      # 100/100
    seq 100 | fzf --multi
      # 100/100 (0)
    seq 100 | fzf --multi 5
      # 100/100 (0/5)
  - Added --preview-window options for disabling flags
        nocycle
        nohidden
        nowrap
        default
  - Support preview scroll offset relative to window height
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
          --preview-window +{2}-/2
  - Added --preview-window option for sharp edges (--preview-window
    sharp)

OBS-URL: https://build.opensuse.org/request/show/843822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=10
2020-10-26 15:20:45 +00:00
6114d87ad5 - Update to 0.24.1:
- Real-time rendering of preview window
    # fzf can render preview window before the command completes
    fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'
    # Preview window can process ANSI escape sequence (CSI 2 J) for clearing the display
    fzf --preview 'for i in $(seq 100000); do
      (( i % 200 == 0 )) && printf "\033[2J"
      echo "$i"
      sleep 0.01
    done'
  - To indicate if --multi mode is enabled, fzf will print the number of
    selected items even when no item is selected
    seq 100 | fzf
      # 100/100
    seq 100 | fzf --multi
      # 100/100 (0)
    seq 100 | fzf --multi 5
      # 100/100 (0/5)
  - Added --preview-window options for disabling flags
        nocycle
        nohidden
        nowrap
        default
  - Support preview scroll offset relative to window height
    git grep --line-number '' |
      fzf --delimiter : \
          --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
          --preview-window +{2}-/2
  - Added --preview-window option for sharp edges (--preview-window
    sharp)

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=23
2020-10-24 22:11:30 +00:00
Dominique Leuenberger
7842dd605e Accepting request 824174 from utilities
OBS-URL: https://build.opensuse.org/request/show/824174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=9
2020-08-04 18:22:41 +00:00
cc4f694b3c Accepting request 824146 from home:polslinux:branches:utilities
- Update to 0.22.0
  - Added more options for --bind
  - Added preview window option for setting the initial scroll offset
  - Added support for ANSI colors in --prompt string
  - Smart match of accented characters
  - Vim plugin

OBS-URL: https://build.opensuse.org/request/show/824146
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=21
2020-08-03 15:05:21 +00:00
Dominique Leuenberger
1c7ef3a040 Accepting request 824080 from utilities
- Add subpackage for fish completion. (forwarded request 824075 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/824080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=8
2020-08-03 12:19:05 +00:00
c935024d98 Accepting request 824075 from home:fcrozat:branches:utilities
- Add subpackage for fish completion.

OBS-URL: https://build.opensuse.org/request/show/824075
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=19
2020-08-03 08:09:36 +00:00
Dominique Leuenberger
7b94b5b012 Accepting request 791822 from utilities
OBS-URL: https://build.opensuse.org/request/show/791822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=7
2020-04-07 08:31:30 +00:00
8646436977 Accepting request 791704 from home:polslinux:branches:utilities
- Update to 0.21.1
  - CTRL-R will remove duplicate commands
  - Supports tmux popup window (require tmux 3.2 or above) 
  - bug fixes

OBS-URL: https://build.opensuse.org/request/show/791704
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=17
2020-04-06 17:10:20 +00:00
Dominique Leuenberger
6fe890e8ce Accepting request 784736 from utilities
OBS-URL: https://build.opensuse.org/request/show/784736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=6
2020-03-14 08:56:46 +00:00
eb8b2a2ab4 Accepting request 784648 from home:polslinux:branches:utilities
- Update to 0.21.0: 
  - --height option is now available on Windows as well (@kelleyma49)
  - Added --pointer and --marker options
  - Added --keep-right option that keeps the right end of the line visible when it's too long
  - Style changes
    - --border will now print border with rounded corners around the finder instead of printing horizontal lines above and below it. The previous style is available via --border=horizontal
    - Unicode spinner
  - More keys and actions for --bind
  - Added PowerShell script for downloading Windows binary
  - Vim plugin: Built-in floating windows support 
  - bash: Various improvements in key bindings (CTRL-T, CTRL-R, ALT-C)
    - CTRL-R will start with the current command-line as the initial query
    - CTRL-R properly supports multi-line commands
  - Fuzzy completion API changed 
  - Bug fixes

OBS-URL: https://build.opensuse.org/request/show/784648
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=15
2020-03-14 00:25:41 +00:00
Dominique Leuenberger
3224f0d3e2 Accepting request 761021 from utilities
OBS-URL: https://build.opensuse.org/request/show/761021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=5
2020-01-06 14:22:32 +00:00
18d89eaf9d Accepting request 760825 from home:mcepl:branches:utilities
- Update to 0.20.0:
  - Customizable preview window color (preview-fg and preview-bg
    for --color)
    fzf --preview 'cat {}' \
        --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' \
        --border --height 20 --layout reverse --info inline
    Removed the immediate flicking of the screen on reload action.
    : | fzf --bind 'change:reload:seq {q}' --phony
    Added clear-query and clear-selection actions for --bind
  - It is now possible to split a composite bind action over
    multiple --bind expressions by prefixing the later ones with
    +.
    fzf --bind 'ctrl-a:up+up'
    # Can be now written as
    fzf --bind 'ctrl-a:up' --bind 'ctrl-a:+up'
    # This is useful when you need to write special
    # execute/reload form (i.e. `execute:...`)
    # to avoid parse errors and add more actions to the same key
    fzf --multi --bind 'ctrl-l:select-all+execute:less {+f}' --bind 'ctrl-l:+deselect-all'
  - Fixed parse error of --bind expression where concatenated
    execute/reload action contains + character.
    fzf --multi --bind 'ctrl-l:select-all+execute(less {+f})+deselect-all'
  - Fixed bugs of reload action
    - Not triggered when there's no match even when the command
      doesn't have any placeholder expressions
    - Screen not properly cleared when --header-lines not filled
      on reload

OBS-URL: https://build.opensuse.org/request/show/760825
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=13
2020-01-06 05:20:09 +00:00
Dominique Leuenberger
76d1778c3a Accepting request 749703 from utilities
OBS-URL: https://build.opensuse.org/request/show/749703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=4
2019-11-20 09:27:54 +00:00
3bc52c7f22 Accepting request 749132 from home:namtrac:branches:utilities
- Update to 0.19.0
  - Added --phony option which completely disables search functionality.
    Useful when you want to use fzf only as a selector interface. See below.
  - Added "reload" action for dynamically updating the input list without
    restarting fzf. See https://github.com/junegunn/fzf/issues/1750 to
    learn more about it.
  - --multi now takes an optional integer argument which indicates the
    maximum number of items that can be selected
  - If a placeholder expression for --preview and execute action
    (and the new reload action) contains f flag, it is replaced to
    the path of a temporary file that holds the evaluated list.
    This is useful when you multi-select a large number of items
    and the length of the evaluated string may exceed ARG_MAX.
  - deselect-all no longer deselects unmatched items. It is now
    consistent with select-all and toggle-all in that it only affects
    matched items.
  - Due to the limitation of bash, fuzzy completion is enabled by
    default for a fixed set of commands. A helper function for easily
    setting up fuzzy completion for any command is now provided.
  - Info line style can be changed by --info=STYLE
  - Preview window border can be disabled by adding noborder to --preview-window.
  - When you transform the input with --with-nth, the trailing white spaces are removed.
  - ctrl-\, ctrl-], ctrl-^, and ctrl-/ can now be used with --bind
  - See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details

OBS-URL: https://build.opensuse.org/request/show/749132
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=11
2019-11-19 18:47:59 +00:00
Yuchen Lin
065b5b7ba5 Accepting request 696454 from utilities
- Remove pointless double extraction of tarball again.

OBS-URL: https://build.opensuse.org/request/show/696454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=3
2019-04-23 12:35:41 +00:00
b501b820c3 Accepting request 696382 from home:jengelh:branches:utilities
- Remove pointless double extraction of tarball again.

OBS-URL: https://build.opensuse.org/request/show/696382
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=9
2019-04-20 17:57:23 +00:00
Dominique Leuenberger
51a8c4c4ab Accepting request 695858 from utilities
- Update to 0.18.0:
  - 0.18.0
    - Added placeholder expression for zero-based item index: {n}
      and {+n} fzf --preview 'echo {n}: {}'
    - Added color option for the gutter: --color gutter:-1
    - Added --no-unicode option for drawing borders in
      non-Unicode, ASCII characters
    - FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS are exported to
      preview process fzf still overrides LINES and COLUMNS as
      before, but they may be reset by the default shell.
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/14?closed=1
  - Update to 0.17.5:
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/13?closed=1
    - Search query longer than the screen width is allowed (up to
      300 chars)
- Patch build-mode-pie.patch removed as it is unneeded
  (we don't use Makefile anymore).

OBS-URL: https://build.opensuse.org/request/show/695858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=2
2019-04-19 16:39:38 +00:00
cdfedbbc1b Fix changes
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=7
2019-04-19 05:40:49 +00:00
7996f46a83 Accepting request 695845 from home:mcepl:branches:utilities
- Update to 0.18.0:
  - 0.18.0
    - Added placeholder expression for zero-based item index: {n}
      and {+n} fzf --preview 'echo {n}: {}'
    - Added color option for the gutter: --color gutter:-1
    - Added --no-unicode option for drawing borders in
      non-Unicode, ASCII characters
    - FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS are exported to
      preview process fzf still overrides LINES and COLUMNS as
      before, but they may be reset by the default shell.
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/14?closed=1
  - Update to 0.17.5:
    - Bug fixes and improvements See
      https://github.com/junegunn/fzf/milestone/13?closed=1
    - Search query longer than the screen width is allowed (up to
      300 chars)

OBS-URL: https://build.opensuse.org/request/show/695845
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=6
2019-04-19 01:56:36 +00:00
Dominique Leuenberger
2567f8a58b Accepting request 689314 from utilities
- Add subpackage vim-fzf with the original vim plugin for fzf (there
  is also more extensive third party plugin on
  https://github.com/junegunn/fzf.vim)
- update to 0.17.4
  * Added --layout option with a new layout called reverse-list.
    --layout=reverse is a synonym for --reverse
    --layout=default is a synonym for --no-reverse
  * Preview window will be updated even when there is no match for
    the query if any of the placeholder expressions (e.g. {q}, {+})
    evaluates to a non-empty string.
  * More keys for binding: shift-{up,down}, alt-{up,down,left,
    right}
  * fzf can now start when /dev/tty is not available by making
    an educated guess.
  * bash/zsh completion improvements
  * install and uninstall scripts support generating files under
    XDG_CONFIG_HOME on --xdg flag.
- remove sed patch for non-excecutable fix (merged upstream)
- initial package

OBS-URL: https://build.opensuse.org/request/show/689314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=1
2019-04-04 13:22:14 +00:00
dde3722f91 Accepting request 660238 from home:mcepl
- Add subpackage vim-fzf with the original vim plugin for fzf (there
  is also more extensive third party plugin on
  https://github.com/junegunn/fzf.vim)

OBS-URL: https://build.opensuse.org/request/show/660238
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=4
2018-12-21 17:48:41 +00:00
619bab8a8e remove sed
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=3
2018-06-11 03:04:45 +00:00
273ab0a440 0.17.4
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=2
2018-06-11 03:04:00 +00:00
Ismail Dönmez
19f04346ef Accepting request 595805 from home:avindra
- initial package

OBS-URL: https://build.opensuse.org/request/show/595805
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=1
2018-04-12 11:49:15 +00:00
4 changed files with 0 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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