Matej Cepl
0b04fe445e
- 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
370 lines
14 KiB
Plaintext
370 lines
14 KiB
Plaintext
-------------------------------------------------------------------
|
|
Sat May 22 08:33:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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 } }
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 8 12:20:29 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Mar 13 11:18:28 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Feb 3 16:30:05 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Update to 0.25.1:
|
|
- Added `close` action
|
|
- Close preview window if open, abort fzf otherwise
|
|
- Bug fixes and improvements
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jan 3 07:16:34 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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:-1:underline,hl+:-1: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
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Dec 18 22:22:06 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Generate tags for vim documentation
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Dec 13 19:52:48 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Dec 4 10:29:16 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Oct 24 22:08:02 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Aug 3 13:15:00 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jul 2 10:16:09 UTC 2020 - Frederic Crozat <fcrozat@suse.com>
|
|
|
|
- Add subpackage for fish completion.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 6 09:03:08 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
|
|
|
- Update to 0.21.1
|
|
- CTRL-R will remove duplicate commands
|
|
- Supports tmux popup window (require tmux 3.2 or above)
|
|
- bug fixes
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Mar 13 13:15:42 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Jan 4 16:48:23 CET 2020 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Nov 17 17:48:38 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Apr 20 13:09:10 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
|
|
|
- Remove pointless double extraction of tarball again.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 18 21:21:59 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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).
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 20 00:27:29 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 11 02:59:21 UTC 2018 - avindra@opensuse.org
|
|
|
|
- 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Apr 1 16:21:01 UTC 2018 - avindra@opensuse.org
|
|
|
|
- initial package
|