Skip to content

Commit bbe1721

Browse files
committed
0.59.0
1 parent c1470a5 commit bbe1721

File tree

8 files changed

+15
-29
lines changed

8 files changed

+15
-29
lines changed

ADVANCED.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Advanced fzf examples
22
======================
33

4-
* *Last update: 2025/01/26*
4+
* *Last update: 2025/02/02*
55
* *Requires fzf 0.59.0 or later*
66

77
---
@@ -503,9 +503,9 @@ fzf --ansi --disabled --query "$INITIAL_QUERY" \
503503

504504
### Controlling Ripgrep search and fzf search simultaneously
505505

506-
fzf 0.59.0 added `search` action that allows you to trigger an fzf search
507-
with an arbitrary query string. This means fzf is no longer restricted to the
508-
exact query entered in the prompt.
506+
`search` and `transform-search` action allow you to trigger an fzf search with
507+
an arbitrary query string. This frees fzf from strictly following the prompt
508+
input, enabling custom search syntax.
509509

510510
In the example below, `transform` action is used to conditionally trigger
511511
`reload` for ripgrep, followed by `search` for fzf. The first word of the
@@ -535,7 +535,7 @@ fzf --ansi --disabled --query "$INITIAL_QUERY" \
535535
--color "hl:-1:underline,hl+:-1:underline:reverse" \
536536
--delimiter : \
537537
--preview 'bat --color=always {1} --highlight-line {2}' \
538-
--preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \
538+
--preview-window 'up,60%,border-line,+{2}+3/3,~3' \
539539
--bind 'enter:become(vim {1} +{2})'
540540
```
541541

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ CHANGELOG
33

44
0.59.0
55
------
6+
_Release highlights: https://junegunn.github.io/fzf/releases/0.59.0/_
7+
68
- Prioritizing file name matches (#4192)
79
- Added a new tiebreak option `pathname` for prioritizing file name matches
810
- `--scheme=path` now sets `--tiebreak=pathname,length`
9-
- fzf will automatically choose `path` scheme when the input is a TTY device, where fzf would start its built-in walker or run `$FZF_DEFAULT_COMMAND` which is usually a command for listing files.
11+
- fzf will automatically choose `path` scheme
12+
* when the input is a TTY device, where fzf would start its built-in walker or run `$FZF_DEFAULT_COMMAND` which is usually a command for listing files,
13+
* but not when `reload` or `transform` action is bound to `start` event, because in that case, fzf can't be sure of the input type.
1014
- Added `--header-lines-border` to display header from `--header-lines` with a separate border
1115
```sh
1216
# Use --header-lines-border to separate two headers

README.md

-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
<div align="center">
2-
<sup>Special thanks to:</sup>
3-
<br>
4-
<br>
5-
<a href="https://warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=fzf_20240209">
6-
<div>
7-
<img src="https://raw.githubusercontent.com/junegunn/i/master/warp.png" width="300" alt="Warp">
8-
</div>
9-
<b>Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.</b>
10-
<div>
11-
<sup>Visit warp.dev to learn more.</sup>
12-
</div>
13-
</a>
14-
<br>
15-
<hr>
16-
</div>
17-
<br>
18-
191
<img src="https://raw.githubusercontent.com/junegunn/i/master/fzf.png" height="170" alt="fzf - a command-line fuzzy finder"> [![github-actions](https://github.com/junegunn/fzf/workflows/Test%20fzf%20on%20Linux/badge.svg)](https://github.com/junegunn/fzf/actions)
202
===
213

install

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -u
44

5-
version=0.58.0
5+
version=0.59.0
66
auto_completion=
77
key_bindings=
88
update_config=2

install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$version="0.58.0"
1+
$version="0.59.0"
22

33
$fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/junegunn/fzf/src/protector"
1212
)
1313

14-
var version = "0.58"
14+
var version = "0.59"
1515
var revision = "devel"
1616

1717
//go:embed shell/key-bindings.bash

man/man1/fzf-tmux.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
2323
..
24-
.TH fzf\-tmux 1 "Jan 2025" "fzf 0.58.0" "fzf\-tmux - open fzf in tmux split pane"
24+
.TH fzf\-tmux 1 "Feb 2025" "fzf 0.59.0" "fzf\-tmux - open fzf in tmux split pane"
2525

2626
.SH NAME
2727
fzf\-tmux - open fzf in tmux split pane

man/man1/fzf.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
2323
..
24-
.TH fzf 1 "Jan 2025" "fzf 0.59.0" "fzf - a command-line fuzzy finder"
24+
.TH fzf 1 "Feb 2025" "fzf 0.59.0" "fzf - a command-line fuzzy finder"
2525

2626
.SH NAME
2727
fzf - a command-line fuzzy finder

0 commit comments

Comments
 (0)