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
0d5aebb806
Allow setting border styles at once with --style full:STYLE
2025-01-17 13:12:51 +09:00
Junegunn Choi
b712f2bb6a
Export the current nth value as $FZF_NTH
2025-01-16 09:23:25 +09:00
Junegunn Choi
9d6637c1b3
Add gap line
...
Close #4182
2025-01-15 22:23:52 +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
9c2f6cae88
Fix adaptive height with --header-border
2025-01-07 19:16:16 +09:00
Junegunn Choi
328af1f397
Remove header indentation when unnecessary
...
# Indent the header to align with the entries in the list
fzf --header 'Hello' --header-border --list-border
# No extra indentation required
fzf --header 'Hello' --header-border
2025-01-06 09:57:58 +09:00
Junegunn Choi
a5beb08ed7
Border around the header section
...
Close #4159
2025-01-05 23:02:52 +09:00
Junegunn Choi
e5cfc988ec
Fix RuboCop error
2025-01-02 16:55:56 +09:00
Junegunn Choi
ee3916be17
Border around the input section (prompt + info)
...
Close #4154
2025-01-02 16:25:00 +09:00
Junegunn Choi
ca5e633399
Add toggle-hscroll
2024-12-19 21:05:26 +09:00
Junegunn Choi
e60a9a628b
Add toggle-multi-line action
2024-12-19 21:05:26 +09:00
Junegunn Choi
3148b0f3e8
Restore previous behavior
2024-12-12 13:53:08 +09:00
Junegunn Choi
db44cbdff0
Change test case expectation (hard-coded minimum width removed)
2024-12-12 13:53:08 +09:00
Junegunn Choi
da9179335c
Respect the properties of the currently active preview window options
2024-12-12 13:53:08 +09:00
LangLangBart
a6957aba11
chore: completion test command sequence ( #4115 )
...
cleanup zsh global scope
2024-12-03 20:34:26 +09:00
Junegunn Choi
e76aa37fd4
Make RuboCop happy
2024-10-01 19:45:53 +09:00
Junegunn Choi
1a32220ca9
Add --gap option to put empty lines between items
2024-10-01 19:15:17 +09:00
Junegunn Choi
2191a44e36
Redraw/hide scroll offset when 'info' property is changed
2024-09-12 22:04:19 +09:00
Junegunn Choi
952276dc2d
Add 'noinfo' option to hide scroll offset information in preview window
...
fzf --preview 'seq 1000' --preview-window noinfo
Close #2525
2024-09-12 18:31:14 +09:00
Junegunn Choi
f510a4def6
Test cases for non-default --scheme options
2024-08-29 17:08:23 +09:00
Junegunn Choi
4ae3069c6f
Underscore boundaries should be ranked lower
2024-08-29 17:08:23 +09:00
Junegunn Choi
e0924d27b8
Change default --ellipsis to '··'
2024-08-27 19:41:39 +09:00
Junegunn Choi
3b944addd4
Allow removing header line with change-header and transform-header
...
If the new header is an empty string.
fzf --header loading --bind 'start:reload:sleep 3; ls' --bind 'load:change-header:'
fzf --header loading --bind 'start:reload:sleep 3; ls' --bind 'load:transform-header:'
2024-06-25 17:14:11 +09:00
Junegunn Choi
8689f5f230
Fix rubocop warning
2024-06-24 17:16:56 +09:00
Junegunn Choi
5b52833785
Do not start the initial reader if 'reload*' is bound to 'start'
2024-06-24 17:05:53 +09:00
Junegunn Choi
c3cc378d89
Allow empty pointer and marker
...
Close #3879
2024-06-20 01:45:06 +09:00
Junegunn Choi
540632bb9e
Add --info-command for customizing the input text
...
Close #3866
2024-06-20 00:53:18 +09:00
ismay
144d55a5be
[fish] Merge history before searching ( #3852 )
...
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-06-12 13:56:20 +09:00
Junegunn Choi
41bcbe342f
Revert "An '--expect' key should execute actions bound to the key"
...
To be backward compatible.
Close #3829
2024-06-01 13:21:59 +09:00
Junegunn Choi
2f51eb2b41
Different marker for the first and last line of multi-line entries
...
Can be configured via `--marker-multi-line`
2024-05-27 01:35:05 +09:00
Junegunn Choi
88e78c9193
Update integration test to use named pipes
2024-05-25 12:03:20 +09:00
Junegunn Choi
6b4358f641
An '--expect' key should execute actions bound to the key
...
Fix #3810
2024-05-22 20:39:09 +09:00
Junegunn Choi
04db44067d
Implement multi-line display of multi-line items
2024-05-20 09:25:30 +09:00
Junegunn Choi
5b204c54f9
Change default pointer and marker character
...
* Pointer: '▌'
* Marker: '▏'
They will still be set to '>' if `--no-unicode` is given.
Reasons:
* They look okay
* They work better with multi-line items (WIP)
2024-05-19 15:51:32 +09:00
Junegunn Choi
e8405f40fe
Refactor the code so that fzf can be used as a library ( #3769 )
2024-05-07 01:06:42 +09:00
Junegunn Choi
501577ab28
Fix flaky test case
2024-05-06 13:59:16 +09:00
Junegunn Choi
24ff66d4a9
Fix change-preview
reset by change-preview-window
...
Fix #3770
2024-05-06 09:40:02 +09:00
Junegunn Choi
f6aa28c380
Fix --info inline-right not properly clearing the previous output
...
(seq 100000; sleep 1) | fzf --info inline-right --bind load:change-query:x
2024-05-03 12:18:34 +09:00
Junegunn Choi
2665580120
Add $FZF_POS environment variable
...
Close #2175
Close #3753
2024-04-27 18:57:22 +09:00
Junegunn Choi
a4391aeedd
Add --with-shell for shelling out with different command and flags ( #3746 )
...
Close #3732
2024-04-27 18:36:37 +09:00
Junegunn Choi
608232568b
Add 'change-multi' action
...
Close #3754
2024-04-27 17:38:06 +09:00
Junegunn Choi
fddbfe7b0e
Fix 'reload' not terminating closed standard input stream
...
Fix #3750
2024-04-25 16:49:06 +09:00
Junegunn Choi
f864f8b5f7
Respect $FZF_DEFAULT_OPTS_FILE in key bindings and completion ( #3742 )
...
Fix #3740
2024-04-19 22:40:38 +09:00
Junegunn Choi
a4745626dd
Add jump and jump-cancel events
...
Close #3412
# Default behavior
fzf --bind space:jump
# Same as jump-accept action
fzf --bind space:jump,jump:accept
# Accept on jump, abort on cancel
fzf --bind space:jump,jump:accept,jump-cancel:abort
# Change header on jump-cancel
fzf --bind 'space:change-header(Type jump label)+jump,jump-cancel:change-header:Jump cancelled'
2024-04-10 20:17:12 +09:00
Junegunn Choi
8a2df79711
Do not hide separator by default on --info=inline-right|hidden
2024-04-04 00:05:55 +09:00