This repository has been archived by the owner on Oct 27, 2020. It is now read-only.
Releases: junegunn/fzf-bin
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-fg
andpreview-bg
for--color
) -
Removed the immediate flicking of the screen on
reload
action.: | fzf --bind 'change:reload:seq {q}' --phony
-
Added
clear-query
andclear-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
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"
--multi
now 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
--preview
andexecute
action (and the
newreload
action) containsf
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 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-all
no longer deselects unmatched items. It is now consistent
withselect-all
andtoggle-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.# 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
noborder
to
--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-unicode
option for drawing borders in non-Unicode, ASCII
characters FZF_PREVIEW_LINES
andFZF_PREVIEW_COLUMNS
are exported to preview process- fzf still overrides
LINES
andCOLUMNS
as 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
--layout
option with a new layout calledreverse-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 even when
/dev/tty
is 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_HOME
on--xdg
flag.
See https://github.com/junegunn/fzf/milestone/12?closed=1 for the full list of
changes.