SHA256
1
0
forked from pool/fzf
Commit Graph

64 Commits

Author SHA256 Message Date
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