This repository was archived by the owner on Oct 27, 2020. It is now read-only.
Repository navigation
Releases
Releases · junegunn/fzf-bin
0.23.1
0.23.0
0.22.0
0.21.1
0.21.0
0.20.0
-
Customizable preview window color (
preview-fgandpreview-bgfor--color) -
Removed the immediate flicking of the screen on
reloadaction.: | fzf --bind 'change:reload:seq {q}' --phony
-
Added
clear-queryandclear-selectionactions for--bind -
It is now possible to split a composite bind action over multiple
--bindexpressions 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
--bindexpression 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-linesnot filled on reload
0.19.0
- Added "reload" action for dynamically updating the input list without
restarting fzf. See junegunn/fzf#1750 to learn
more about it.# Using fzf as the selector interface for ripgrep RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case " INITIAL_QUERY="foo" FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \ fzf --bind "change:reload:$RG_PREFIX {q} || true" \ --ansi --phony --query "$INITIAL_QUERY"
--multinow takes an optional integer argument which indicates the maximum
number of items that can be selectedseq 100 | fzf --multi 3 --reverse --height 50%- If a placeholder expression for
--previewandexecuteaction (and the
newreloadaction) containsfflag, 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 exceedARG_MAX.# Press CTRL-A to select 100K items and see the sum of all the numbers seq 100000 | fzf --multi --bind ctrl-a:select-all \ --preview "awk '{sum+=\$1} END {print sum}' {+f}"
deselect-allno longer deselects unmatched items. It is now consistent
withselect-allandtoggle-allin 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.# usage: _fzf_setup_completion path|dir COMMANDS... _fzf_setup_completion path git kubectl - Info line style can be changed by
--info=STYLE--info=default--info=inline(same as old--inline-info)--info=hidden
- Preview window border can be disabled by adding
noborderto
--preview-window. - When you transform the input with
--with-nth, the trailing white spaces
are removed. ctrl-\,ctrl-],ctrl-^, andctrl-/can now be used with--bind- See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details
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-unicodeoption for drawing borders in non-Unicode, ASCII
characters FZF_PREVIEW_LINESandFZF_PREVIEW_COLUMNSare exported to preview process- fzf still overrides
LINESandCOLUMNSas before, but they may be
reset by the default shell.
- fzf still overrides
- Bug fixes and improvements
- Built with Go 1.12.1
0.17.5
- Bug fixes and improvements
- Search query longer than the screen width is allowed (up to 300 chars)
- Built with Go 1.11.1
0.17.4
- Added
--layoutoption with a new layout calledreverse-list.--layout=reverseis a synonym for--reverse--layout=defaultis 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 even when
/dev/ttyis not available by making an
educated guess. - Updated the default command for Windows.
- Fixes and improvements on bash/zsh completion
- install and uninstall scripts now supports generating files under
XDG_CONFIG_HOMEon--xdgflag.
See https://github.com/junegunn/fzf/milestone/12?closed=1 for the full list of
changes.
