Junegunn Choi
b83dd6c6b4
Update ADVANCED example using 'search' action
2025-01-28 17:48:46 +09:00
Junegunn Choi
a2aa1a156c
Allow {q} placeholders with range expressions
...
e.g. {q:1}, {q:2..}
2025-01-27 18:04:57 +09:00
Junegunn Choi
46c21158d8
Update CHANGELOG
2025-01-27 01:52:24 +09:00
Junegunn Choi
e91f10ab16
Enhance click-header event
...
* Expose the name of the mouse action as $FZF_KEY
* Trigger click-header on mouse up
* Enhanced clickable header for `kill` completion
2025-01-27 01:10:08 +09:00
Junegunn Choi
d6584543e9
Make click-header export $FZF_CLICK_HEADER_{NTH,WORD}
2025-01-26 15:37:42 +09:00
Junegunn Choi
7220d8233e
Add 'search' and 'transform-search'
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
Generate Sponsors README / deploy (push) Has been cancelled
Close #4202
2025-01-26 01:50:08 +09:00
Junegunn Choi
04017c25bb
Add 'bell' action to ring the terminal bell
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
2025-01-25 11:22:32 +09:00
Junegunn Choi
02199cd609
Update CHANGLOG
2025-01-25 10:58:24 +09:00
Junegunn Choi
243a76002c
Option to prioritize file name matches ( #4192 )
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
* '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
65db7352b7
0.58.0
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
2025-01-20 02:00:03 +09:00
Junegunn Choi
a4db8bd7b5
Make 'current-fg' inherit from 'fg' to simplify configuration
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
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
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
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
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
3e7f032ec2
Allow displaying --nth parts in a different text style
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
Close #4183
2025-01-16 01:38:45 +09:00
Junegunn Choi
9d6637c1b3
Add gap line
...
Close #4182
2025-01-15 22:23:52 +09:00
Junegunn Choi
d83eb2800a
Add change-nth action
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
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
f422893b8e
Add --style to the CHANGELOG
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
2025-01-12 10:29:15 +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 Choi
5ae60e2e80
Add style presets: --style=[default|minimal|full]
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
Close #4160
2025-01-06 02:10:44 +09:00
Junegunn Choi
0e0b868342
Add preview border style 'line'
...
It draws a single line between the preview window and the rest of the
interface. i.e. automatically choose between 'left', 'right', 'top', and
'bottom' depending on the position of the preview window.
2025-01-06 00:44:59 +09:00
Junegunn Choi
a5beb08ed7
Border around the header section
...
Close #4159
2025-01-05 23:02:52 +09:00
Junegunn Choi
8a71e091a8
Fix '--tmux border-native'
2025-01-04 18:47:00 +09:00
Junegunn Choi
ee3916be17
Border around the input section (prompt + info)
...
Close #4154
2025-01-02 16:25:00 +09:00
Junegunn Choi
9a2b7f559c
Add --list-border for additional border around the list section
...
Close #4148
2024-12-31 17:05:14 +09:00
Junegunn Choi
ec3acb1932
Update CHANGELOG
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
2024-12-12 13:53:58 +09:00
Junegunn Choi
3b0c86e401
Much faster image processing
...
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
Generate Sponsors README / deploy (push) Has been cancelled
Fix #3984
2024-11-29 00:26:12 +09:00
Junegunn Choi
61d10d8ffa
Update README and CHANGELOG
...
Close #4022
2024-11-28 19:46:56 +09:00
Junegunn Choi
add1aec685
0.56.3
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
Generate Sponsors README / deploy (push) Has been cancelled
2024-11-15 10:06:01 +09:00
Junegunn Choi
215ab48222
0.56.2
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
2024-11-12 00:57:55 +09:00
Junegunn Choi
64c61603e9
0.56.1
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
2024-11-10 23:15:35 +09:00
Junegunn Choi
ff1687744d
0.56.0
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
2024-10-27 12:03:01 +09:00
Junegunn Choi
a24eb99679
Fix full line background in preview window
2024-10-15 17:35:11 +09:00
Junegunn Choi
1a32220ca9
Add --gap option to put empty lines between items
2024-10-01 19:15:17 +09:00
Junegunn Choi
fc69308057
0.55.0
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
Generate Sponsors README / deploy (push) Has been cancelled
2024-08-29 17:10:58 +09:00
Junegunn Choi
c6d620c99e
Add to CHANGELOG
2024-08-29 17:08:23 +09:00
Junegunn Choi
e0924d27b8
Change default --ellipsis to '··'
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
2024-08-27 19:41:39 +09:00
Junegunn Choi
8cb59e6fca
[vim] Add 'exit' callback
...
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
A spec can have `exit` callback that is called with the exit status of fzf.
This can be used to clean up temporary resources or restore the original
state when fzf is closed without a selection.
2024-08-19 20:51:26 +09:00
Junegunn Choi
387c6ef664
Support hyperlinks (OSC 8) in the main window
...
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled
Generate Sponsors README / deploy (push) Has been cancelled
Close #2557
2024-08-14 23:04:05 +09:00
Junegunn Choi
e215e2daf3
Allow comments in $FZF_DEFAULT_OPTS and $FZF_DEFAULT_OPTS_FILE
...
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run
Close #3961
2024-08-13 18:51:02 +09:00
Junegunn Choi
a2d0e8f233
[bash] Enable fuzzy path completion for all commands ( #3958 )
...
All commands with no custom completion defined.
Close #3957
2024-08-11 14:22:21 +09:00
Junegunn Choi
af4917dbb6
0.54.3
2024-07-31 21:51:54 +09:00
Junegunn Choi
587df594b8
Fix incompatibility of adaptive height and 'start:reload'
...
This command would cause a deadlock and make fzf crash:
fzf --bind 'start:reload:ls' --height ~100%
Because,
1. 'start' event is handled by Terminal
2. When 'reload' is bound to 'start', fzf avoids starting the initial reader
3. Terminal waits for the initial input to find the right height when
adaptive height is used
4. Because the initial reader is not started, Terminal never gets the
initial list
5. No chance to trigger 'start:reload', hence deadlock
This commit fixes the above problem by extracting the reload command
bound to 'start' event and starting the initial reader with that command
instead of letting Terminal start it.
This commit also makes the environment variables available to
$FZF_DEFAULT_COMMAND.
FZF_DEFAULT_COMMAND='echo $FZF_QUERY' fzf --query foo
Fix #3944
2024-07-27 11:30:25 +09:00
Junegunn Choi
b896e0d314
0.54.2
2024-07-26 17:44:09 +09:00
Junegunn Choi
50fa90dfb8
0.54.1
2024-07-19 17:10:49 +09:00
Junegunn Choi
9e92b6f11e
0.54.0
...
New tags will have `v` prefix.
* https://github.com/junegunn/fzf/issues/2879
* https://github.com/golang/go/issues/32945
Close #2879
2024-07-08 22:51:48 +09:00
Junegunn Choi
3b2e932c13
Bind CTRL-/ and ALT-/ to toggle-wrap by default
2024-07-08 22:51:47 +09:00
Junegunn Choi
8f4c23f1c4
Remove --walker-path-sep
...
Related: #3859 #3907 #3909
2024-07-05 20:15:03 +09:00
Junegunn Choi
bf515a3d32
Add --walker-path-sep=CHAR to use a different path separator
...
This is needed when you run a Windows binary on WSL or zsh on Windows
where forward slashes are expected.
export FZF_DEFAULT_OPTS='--walker-path-sep /'
Close #3859
2024-06-29 17:13:31 +09:00
Junegunn Choi
0420ed4f2a
Empty --marker-multi-line if --marker is empty
2024-06-25 20:49:42 +09:00