bitraid
26b9f5831a
[fish] Fix compatibility with v3.1.2 - v3.3.1 ( #4200 )
...
Don't use the command substitution syntax: $(cmd)
Fix #4196
2025-01-24 17:15:43 +09:00
Junegunn Choi
243a76002c
Option to prioritize file name matches ( #4192 )
...
* 'pathname' is a new tiebreak option for prioritizing matches occurring
in the file name of the path.
* `--scheme=path` will automatically set `--tiebreak=pathname,length`.
* 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.
Close #4191
2025-01-24 00:54:53 +09:00
Junegunn Choi
c71e4ddee4
Make it possible to change one-time preview window
2025-01-23 18:45:36 +09:00
Junegunn Choi
32eb8c1be9
Fix resizing of a one-time preview window
2025-01-23 18:41:06 +09:00
Junegunn Choi
c587017830
Fix header window location and size
2025-01-23 14:45:36 +09:00
Junegunn Choi
fb885652cc
Fix RuboCop errors
2025-01-23 09:43:12 +09:00
Junegunn Choi
afc2f05e5e
Fix --info-command when focus event is bound
...
Fix #4198
2025-01-23 09:31:51 +09:00
Junegunn Choi
06547d0cbe
Add --header-lines-border to separate two headers
...
Examples:
# Border only around the header from --header-lines
seq 10 | fzf --header 'hello' --header-lines 2 --header-lines-border
# Both headers with borders
seq 10 | fzf --header 'hello' --header-lines 2 --header-border --header-lines-border
# Use 'none' to still separate two headers but without a border
seq 10 | fzf --header 'hello' --header-lines 2 --header-border --header-lines-border none --list-border
2025-01-23 01:39:57 +09:00
Junegunn Choi
578108280e
Support OSC 8 sequence with BEL characters
...
Fix #4193
2025-01-22 19:16:08 +09:00
Junegunn Choi
65db7352b7
0.58.0
2025-01-20 02:00:03 +09:00
Junegunn Choi
a4db8bd7b5
Make 'current-fg' inherit from 'fg' to simplify configuration
...
If you do not want 'current-fg' to inherit attributes of 'fg', prefix it
with 'regular:' to reset them.
# italic and underline
fzf --color fg:italic,current-fg:underline
# only underline
fzf --color fg:italic,current-fg:regular:underline
2025-01-20 01:02:58 +09:00
dependabot[bot]
f1c1b02d77
Bump github.com/gdamore/tcell/v2 from 2.7.4 to 2.8.1 ( #4175 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.7.4 to 2.8.1.
- [Release notes](https://github.com/gdamore/tcell/releases )
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md )
- [Commits](https://github.com/gdamore/tcell/compare/v2.7.4...v2.8.1 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 01:01:59 +09:00
Elliott Sales de Andrade
6580f32b43
Fix a non-constant format string ( #4189 )
...
Go 1.24 now has a vet check about this that causes `go test` to fail:
https://github.com/golang/go/issues/60529
2025-01-20 00:32:50 +09:00
Junegunn Choi
b028cbd8bd
Clarify print(...) action
2025-01-19 13:55:35 +09:00
junegunn
a1a5418318
Deploying to master from @ junegunn/fzf@5a32634b74 🚀
2025-01-19 00:02:12 +00:00
bitraid
5a32634b74
[fish] Allow setting multi-select and list reload for history ( #4179 )
...
* [fish] Drop support for versions older than 3.0b1
* [fish] Use `set` instead of `read` for `$result`
This effectively makes CTRL-R non-blocking (the previous attempt was
unsuccessful).
* [fish] Allow FZF_CTRL_R_OPTS to set multi-select
2025-01-19 01:38:18 +09:00
Junegunn Choi
c1875af70b
Add 'gap-line' color for the horizontal line on each gap
...
Color inheritance: border >> list-border >> gap-line
2025-01-18 13:48:46 +09:00
Junegunn Choi
0a10d14e19
[fish] CTRL-R: Make loading non-blocking
2025-01-18 02:33:28 +09:00
Junegunn Choi
ed8ceec66f
Add FZF_NTH to man page
2025-01-17 23:17:58 +09:00
piguagua
03760011d7
chore: fix comment ( #4181 )
...
Signed-off-by: piguagua <piguagua@aliyun.com>
2025-01-17 14:31:07 +09:00
Junegunn Choi
0d5aebb806
Allow setting border styles at once with --style full:STYLE
2025-01-17 13:12:51 +09:00
Junegunn Choi
1313510890
Do not apply nth style when the whole range is covered
2025-01-16 10:06:11 +09:00
Junegunn Choi
b712f2bb6a
Export the current nth value as $FZF_NTH
2025-01-16 09:23:25 +09:00
Junegunn Choi
938c15ec63
Skip merging nth offsets when unnecessary
2025-01-16 09:05:59 +09:00
Junegunn Choi
3e7f032ec2
Allow displaying --nth parts in a different text style
...
Close #4183
2025-01-16 01:38:45 +09:00
Junegunn Choi
b42f5bfb19
Add --gap-line to --help output and man page
2025-01-15 23:40:42 +09:00
Junegunn Choi
717562b264
Disallow incorrect wrapping range expression for --nth
2025-01-15 22:39:48 +09:00
Junegunn Choi
9d6637c1b3
Add gap line
...
Close #4182
2025-01-15 22:23:52 +09:00
Junegunn Choi
56fef7c8df
Simplify nth comparison when reusing transformed tokens
2025-01-13 17:37:50 +09:00
Junegunn Choi
ba0935c71f
Fix change-nth
...
* Proper clean-up of caches
* Force rerender list after the action
2025-01-13 12:45:01 +09:00
Junegunn Choi
d83eb2800a
Add change-nth action
...
Example:
# Start with --nth 1, then 2, then 3, then back to the default, 1
echo 'foo foobar foobarbaz' | fzf --bind 'space:change-nth(2|3|)' --nth 1 -q foo
Close #4172
Close #3109
2025-01-13 00:13:31 +09:00
Junegunn Choi
6f943112a9
Align header with the list
2025-01-12 14:58:55 +09:00
Junegunn Choi
f422893b8e
Add --style to the CHANGELOG
2025-01-12 10:29:15 +09:00
bitraid
22b498489c
[fish] Optimize history formatting without perl ( #4171 )
2025-01-12 10:27:26 +09:00
Junegunn Choi
5460517bd2
Treat a single-character delimiter as a plain string delimiter
...
even if it's a regular expression meta-character
Close #4170
2025-01-12 10:23:43 +09:00
junegunn
9a6e557e52
Deploying to master from @ junegunn/fzf@4fdc07927f 🚀
2025-01-12 00:02:26 +00:00
Junegunn Choi
4fdc07927f
Refactor --preview-border=line
2025-01-11 19:34:26 +09:00
Junegunn Choi
9030b67e4f
Fix window sizing with borders on the right
2025-01-11 11:39:51 +09:00
Junegunn Choi
43eafdf4b7
Fix preview scrollbar with '--preview-window bottom,border-line'
2025-01-11 00:53:07 +09:00
Junegunn Choi
dfb88edb5e
Make preview-scrollbar color conditionally inherit from scrollbar color
2025-01-11 00:51:49 +09:00
Junegunn Choi
bd3e65df4d
Trim unsupported OSC sequences ( #4169 )
...
Fix #4169
2025-01-10 20:53:47 +09:00
Junegunn Choi
d7b13f3408
Add a test case for the mixed delimiter ANSI sequence ( #4169 )
2025-01-10 20:31:51 +09:00
Junegunn Choi
14ef8e8051
Support ANSI sequences with mixed ; and : delimiters ( #4169 )
...
`make bench` shows no loss of performance.
2025-01-10 17:43:13 +09:00
bitraid
cc1d9f124e
[fish] Fix history formatting when perl is missing ( #4166 )
...
Don't add tab after escaped newline.
2025-01-10 14:03:21 +09:00
Kid
93c0299606
[fish] remove defunct bind feature detection ( #4165 )
2025-01-09 19:16:24 +09:00
Junegunn Choi
55e3c73221
fzf-preview.sh: Support FILEPATH:LINE[:COL] argument
2025-01-09 17:00:46 +09:00
Junegunn Choi
6783417504
Do not export $LINES and $COLUMNS for non-preview processes
...
Fix #4164
2025-01-08 10:00:57 +09:00
Junegunn Choi
fa3f706e71
Refactor option parser
2025-01-07 19:16:41 +09:00
Junegunn Choi
9c2f6cae88
Fix adaptive height with --header-border
2025-01-07 19:16:16 +09:00
Junegunn Choi
a30181e240
Update man page sections
2025-01-07 00:20:36 +09:00