Changelog History
Page 3
-
v0.24.1 Changes
October 28, 2020- 🛠 Fixed broken
--color=[bw|no]option
- 🛠 Fixed broken
-
v0.24.0 Changes
October 27, 2020- Real-time rendering of preview window ```sh # 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'
- 💅 Updated `--color` option to support text styles - `regular` / `bold` / `dim` / `underline` / `italic` / `reverse` / `blink` ```sh # * Set -1 to keep the original color # * Multiple style attributes can be combined # * Italic style may not be supported by some terminals rg --line-number --no-heading --color=always "" | fzf --ansi --prompt "Rg: " \ --color fg+:italic,hl:underline:-1,hl+:italic:underline:reverse:-1 \ --color pointer:reverse,prompt:reverse,input:159 \ --pointer ' ' ``` - More `--border` options - `vertical`, `top`, `bottom`, `left`, `right` - Updated Vim plugin to use these new `--border` options ```vim " Floating popup window in the center of the screen let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } " Popup with 100% width let g:fzf_layout = { 'window': { 'width': 1.0, 'height': 0.5, 'border': 'horizontal' } } " Popup with 100% height let g:fzf_layout = { 'window': { 'width': 0.5, 'height': 1.0, 'border': 'vertical' } } " Similar to 'down' layout, but it uses a popup window and doesn't affect the window layout let g:fzf_layout = { 'window': { 'width': 1.0, 'height': 0.5, 'yoffset': 1.0, 'border': 'top' } } " Opens on the right; " 'highlight' option is still supported but it will only take the foreground color of the group let g:fzf_layout = { 'window': { 'width': 0.5, 'height': 1.0, 'xoffset': 1.0, 'border': 'left', 'highlight': 'Comment' } } ``` - 🖨 To indicate if `--multi` mode is enabled, fzf will print the number of selected items even when no item is selected ```sh seq 100 | fzf # 100/100 seq 100 | fzf --multi # 100/100 (0) seq 100 | fzf --multi 5 # 100/100 (0/5)- 🚀 Since 0.24.0, release binaries will be uploaded to https://github.com/junegunn/fzf/releases
-
v0.24.0-rc1
October 27, 2020 -
v0.24.0-1
October 28, 2020 -
v0.23.1 Changes
October 10, 2020- ➕ Added
--preview-windowoptions for disabling flagsnocyclenohiddennowrapdefault
- 🐎 Built with Go 1.14.9 due to performance regression
- ➕ Added
-
v0.23.0 Changes
October 07, 2020- 👌 Support preview scroll offset relative to window height
sh git grep --line-number '' | fzf --delimiter : \ --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \ --preview-window +{2}-/2 - ➕ Added
--preview-windowoption for sharp edges (--preview-window sharp) - ➕ Added
--preview-windowoption for cyclic scrolling (--preview-window cycle) - ⬇️ Reduced vertical padding around the preview window when
--preview-window noborderis used - ➕ Added actions for preview window
preview-half-page-uppreview-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
- It also downloads the latest binary if it's not available by running
- Built with Go 1.15.2
- We no longer provide 32-bit binaries
- 👌 Support preview scroll offset relative to window height
-
v0.22.1 Changes
- 👌 Support preview scroll offset relative to window height
sh git grep --line-number '' | fzf --delimiter : \ --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \ --preview-window +{2}-/2 - ➕ Added
--preview-windowoption for sharp edges (--preview-window sharp) - ➕ Added
--preview-windowoption for cyclic scrolling (--preview-window cycle) - ⬇️ Reduced vertical padding around the preview window when
--preview-window noborderis used - ➕ Added actions for preview window
preview-half-page-uppreview-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
- It also downloads the latest binary if it's not available by running
- 👌 Support preview scroll offset relative to window height
-
v0.22.0 Changes
August 02, 2020➕ Added more options for
--bindbackward-eofeventsh # Aborts when you delete backward when the query prompt is already empty fzf --bind backward-eof:abortrefresh-previewactionsh # Rerun preview command when you hit '?' fzf --preview 'echo $RANDOM' --bind '?:refresh-preview'previewaction ```sh # Default preview command with an extra preview binding fzf --preview 'file {}' --bind '?:preview:cat {}'
# A preview binding with no default preview command # (Preview window is initially empty) fzf --bind '?:preview:cat {}'
# Preview window hidden by default, it appears when you first hit '?' fzf --bind '?:preview:cat {}' --preview-window hidden
➕ Added preview window option for setting the initial scroll offset
# Initial scroll offset is set to the line number of each line of # git grep output *minus* 5 lines git grep --line-number '' | fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5➕ Added support for ANSI colors in
--promptstringSmart match of accented characters
- An unaccented character in the query string will match both accented and unaccented characters, while an accented character will only match accented characters. This is similar to how "smart-case" match works.
🔌 Vim plugin
tmuxlayout option for using fzf-tmuxvim let g:fzf_layout = { 'tmux': '-p90%,60%' }
-
v0.21.1 Changes
April 03, 2020- Shell extension
- CTRL-R will remove duplicate commands
fzf-tmux
Supports tmux popup window (require tmux 3.2 or above)
- ```sh # 50% width and height fzf-tmux -p
# 80% width and height fzf-tmux -p 80%
# 80% width and 40% height fzf-tmux -p 80%,40% fzf-tmux -w 80% -h 40%
# Window position fzf-tmux -w 80% -h 40% -x 0 -y 0 fzf-tmux -w 80% -h 40% -y 1000
# Write ordinary fzf options after -- fzf-tmux -p -- --reverse --info=inline --margin 2,4 --border
- On macOS, you can build the latest tmux from the source with `brew install tmux --HEAD`
🐛 Bug fixes
- Fixed Windows file traversal not to include directories
- Fixed ANSI colors with
--keep-right - Fixed _fzf_complete for zsh
Built with Go 1.14.1
- Shell extension
-
v0.21.0 Changes
March 12, 2020- 🏁
--heightoption is now available on Windows as well (@kelleyma49) - ➕ Added
--pointerand--markeroptions - ➕ Added
--keep-rightoption that keeps the right end of the line visible when it's too long - 💅 Style changes
--borderwill 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
vim let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } - 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 ```sh # Previous: fzf arguments given as a single string argument # - This style is still supported, but it's deprecated _fzf_complete "--multi --reverse --prompt=\"doge> \"" "$@" < <( echo foo )
# New API: multiple fzf arguments before "--" # - Easier to write multiple options _fzf_complete --multi --reverse --prompt="doge> " -- "$@" < <( echo foo )
- 🐛 Bug fixes and improvements - 🏁