Julian Prein
e4e4700aff
Make the preview window resizable by mouse drag
...
Enable resizing the preview window by dragging its border with the
mouse. This works with all border styles except for `none`.
Counter-intuitively, having the border only on the opposite side of the
window works too - dragging from it will first decrease the preview size
to its minimum.
2024-12-12 13:53:08 +09:00
dependabot[bot]
bb55045596
Bump golang.org/x/term from 0.26.0 to 0.27.0 ( #4124 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/term/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
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>
2024-12-09 23:06:49 +09:00
dependabot[bot]
d7e51cdeb5
Bump crate-ci/typos from 1.28.1 to 1.28.2 ( #4123 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.28.1...v1.28.2 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 23:06:32 +09:00
junegunn
7f4964b366
Deploying to master from @ junegunn/fzf@a6957aba11 🚀
2024-12-08 00:02:15 +00:00
LangLangBart
a6957aba11
chore: completion test command sequence ( #4115 )
...
cleanup zsh global scope
2024-12-03 20:34:26 +09:00
dependabot[bot]
b5f94f961d
Bump crate-ci/typos from 1.27.3 to 1.28.1 ( #4114 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.27.3 to 1.28.1.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.27.3...v1.28.1 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
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>
2024-12-03 00:25:33 +09:00
Junegunn Choi
e182d3db7a
Fix line wrap toggle when switching between screens
...
Fix #4099
2024-12-02 22:25:23 +09:00
Junegunn Choi
3e6e0528a6
[install] grep -> \grep
2024-12-01 23:22:36 +09:00
buttering
ac508a1ce4
Enhance install script to handle commented and uncommented lines ( #3632 ) ( #4112 )
...
* Enhance install script to handle commented and uncommented lines (#3632 )
Resolves #3632
Enhance install script to handle commented and uncommented lines in shell file with user prompts for modification.
- Track commented and uncommented lines in the file.
- Prompt user to append or skip if the line is commented.
- Ensure new lines are added only when necessary, based on user input.
- To the `fish_user_key_bindings.fish`, the original logic would append the line to the end if no corresponding statement was found. I’ve adopted the same behavior for commented lines.
* Refactor append_line function to improve line existence check.
- Replaced `lno` variable with `lines` to store matching lines and simplified the logic.
- Improved line existence check, now prints all matching lines directly and handles commented lines separately.
- Removed unnecessary variables like `all_commented`, `commented_lines`, and `non_commented_lines`.
* Fix indentation
---------
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-12-01 23:21:12 +09:00
junegunn
d7fc1e09b1
Deploying to master from @ junegunn/fzf@3b0c86e401 🚀
2024-12-01 00:02:24 +00:00
Junegunn Choi
3b0c86e401
Much faster image processing
...
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
7d9548919e
Extend --walker-skip to support multi-component patterns
...
fzf --walker-skip 'foo/bar'
Close #4107
2024-11-26 17:26:16 +09:00
msabathier
bee80a730f
Allow walking multiple root directories ( #4109 )
...
Co-authored-by: Martin Sabathier <martin.sabathier.ext@corys.fr>
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-11-25 19:25:30 +09:00
Junegunn Choi
ac3e24c99c
Export FZF_PREVIEW_* variables to other processes as well
...
Close #4098
2024-11-24 18:49:10 +09:00
junegunn
e7e852bdb3
Deploying to master from @ junegunn/fzf@2b7f168571 🚀
2024-11-24 00:03:09 +00:00
bitraid
2b7f168571
[fish] Enable keys for scripts that use read
...
Remove the check that exits when the shell is non-interactive, so that
the key bindings will work for the read command, when used by scripts.
2024-11-18 19:08:34 +09:00
bitraid
5b3da1d878
[fish] Use more native syntax
...
Mainly, replace [ with test. Also, change $FZF_TMUX check from numeric
to string, so that it won't show error if doesn't contain a number.
2024-11-18 19:08:34 +09:00
bitraid
99f1bc0177
[fish] Format history using builtins if perl is missing
2024-11-18 19:08:34 +09:00
bitraid
ed76f076dd
[fish] Replace external commands with builtins
...
- Use `string collect` instead of cat to get the contents of
$FZF_DEFAULT_OPTS_FILE. Also, check if the file is readable first.
- Use `string split` instead of cut to set $FISH_MAJOR, $FISH_MINOR.
- Use `string replace` instead of perl to strip leading tabs.
2024-11-18 19:08:34 +09:00
bitraid
4d357d1063
[fish] Improve commandline parsing
...
- Enable using unescaped quotes for exact-match, exact-boundary-match.
- Enable suffix-exact-match.
- Enable inverse-exact-match, inverse-prefix/suffix-exact-match.
- Allow searching for double quotes and backslashes.
- Combine multiple consecutive slashes into one.
- Workaround for test command bug, allowing $dir or $commandline be a
single `!`.
2024-11-18 19:08:34 +09:00
junegunn
961ae1541c
Deploying to master from @ junegunn/fzf@add1aec685 🚀
2024-11-17 00:02:20 +00:00
Junegunn Choi
add1aec685
0.56.3
2024-11-15 10:06:01 +09:00
LangLangBart
03d6ba7496
fix(zsh): handle backtick trigger edge case ( #4090 )
2024-11-14 16:07:52 +09:00
LangLangBart
71e4d5cc51
revert(zsh): remove 'fc -RI' call in the history widget ( #4093 )
2024-11-14 10:38:05 +09:00
Junegunn Choi
215ab48222
0.56.2
2024-11-12 00:57:55 +09:00
林千里
0c64c68781
Fix zsh $+name syntax does not work with setopt ksh_arrays ( #4084 )
2024-11-12 00:53:36 +09:00
Junegunn Choi
3ec035c68b
Fix incorrect overflow detection when --wrap is set
...
Fix #4083
2024-11-12 00:33:07 +09:00
dependabot[bot]
20c7dcfbca
Bump golang.org/x/term from 0.25.0 to 0.26.0 ( #4085 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/term/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
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>
2024-11-12 00:32:37 +09:00
dependabot[bot]
c1b8780b9c
Bump crate-ci/typos from 1.26.0 to 1.27.3 ( #4087 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.26.0 to 1.27.3.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.26.0...v1.27.3 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
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>
2024-11-12 00:32:12 +09:00
Junegunn Choi
64c61603e9
0.56.1
2024-11-10 23:15:35 +09:00
LangLangBart
57c08d925f
Enhance command extraction in zsh completion ( #4082 )
...
Fix #1992
2024-11-10 17:40:59 +09:00
junegunn
51623a5f6a
Deploying to master from @ junegunn/fzf@ca3f6181d7 🚀
2024-11-10 00:02:06 +00:00
Junegunn Choi
ca3f6181d7
page-up/down: undo last up/down if items are skipped
...
Fix #4069
2024-11-09 11:54:41 +09:00
Junegunn Choi
9c94f9c3d0
Another attempt to fix (half-)page-up/down for multi-line items
...
Fix #4069
2024-11-08 20:18:42 +09:00
Junegunn Choi
4a85843bcf
Fix (half-)page-up/down in the presence of multi-line items
...
Fix #4069
2024-11-07 22:21:07 +09:00
jaydee-coder
d4d9b99879
Allow specifying '{n}' as the OFFSET in the preview-window flag ( #4079 )
...
* fzf: Allow '{n}' to be used as the OFFSET in the preview-window flag
* man: Document using '{n}' as the OFFSET in the preview-window flag
2024-11-04 22:27:59 +09:00
jaydee-coder
6816b7d95b
docker: fix dockerfile warnings ( #4080 )
...
The following warnings were emitted when running `make docker-test`:
```
2 warnings found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 11)
- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 12)
```
This change fixes both of these 2 trivial warnings.
2024-11-04 22:26:19 +09:00
Junegunn Choi
acdf265d7a
Fix reader regression ( #4070 )
2024-11-03 20:32:26 +09:00
Junegunn Choi
19495eb9bb
Remove possible races ( #4070 )
2024-11-03 20:12:47 +09:00
Junegunn Choi
bacc8609ee
Fix characters from previous preview not being cleared
...
Fix #4075
2024-11-03 15:07:17 +09:00
junegunn
99163f5afa
Deploying to master from @ junegunn/fzf@0607227730 🚀
2024-11-03 00:02:14 +00:00
LangLangBart
0607227730
fix(zsh): move 'fc -RI' inside command substitution ( #4073 )
...
* fix(zsh): move 'fc -RI' inside command substitution
* chore: follow existing option check format
2024-11-02 10:41:17 +09:00
LangLangBart
d938fdc496
fix(zsh): history loading with shared option ( #4071 )
...
Fix #4061
2024-11-01 00:19:47 +09:00
Junegunn Choi
dcb4c3d84a
Fix race in reload action
...
Fix #4070
2024-10-31 19:40:40 +09:00
Junegunn Choi
82ebcd9209
Fix (half-)page-up/down in the presence of multi-line items
...
Fix #4069
2024-10-30 16:52:42 +09:00
Junegunn Choi
ff1687744d
0.56.0
2024-10-27 12:03:01 +09:00
junegunn
782c870fb2
Deploying to master from @ junegunn/fzf@71fad63829 🚀
2024-10-27 00:02:14 +00:00
Charlie Vieth
71fad63829
Update fastwalk to v1.0.9 to fix handling of disk root paths on Windows ( #4063 )
...
Fixes: https://github.com/junegunn/fzf/issues/4027
2024-10-25 23:57:46 +09:00
Junegunn Choi
d65c6101a8
walker: Do not treat '..' as a hidden entry
...
Thanks to @LangLangBart for the suggested fix
Fix #4048
2024-10-25 13:50:58 +09:00