Junegunn Choi
0145b82ea0
Update README
2024-03-17 16:20:14 +09:00
Junegunn Choi
b4efe7aab7
Show how to disable a key binding
2024-03-17 16:18:19 +09:00
Junegunn Choi
9ffe951f6d
Update Makefile target dependencies
...
Because shell integration scripts are now embedded in the binary
2024-03-17 16:11:21 +09:00
Brayden Hill
a5ea4f57bd
Updated link for highlight command ( #3680 )
2024-03-17 16:09:39 +09:00
Eli Barzilay
88f4c16755
Make it possible to disable Ctrl+T
/ Alt+C
/ completions ( #3678 )
...
This makes it possible to skip one of the above key bindings or
completions by setting a variable to an empty string. For example,
FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= \
eval "$(fzf --zsh)"
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-03-17 16:06:48 +09:00
Junegunn Choi
c7ee071efa
Fix panic caused by invalid cursor index
...
Fix #3681
2024-03-17 15:55:16 +09:00
Junegunn Choi
0740ef7ceb
[bash] Fix default completion of unset, unalias, etc
...
Fix #3679
2024-03-17 15:38:11 +09:00
junegunn
b29bd809ac
Deploying to master from @ junegunn/fzf@8977c9257a 🚀
2024-03-17 00:01:33 +00:00
Junegunn Choi
8977c9257a
Limit the maximum number of focus events to process at once
2024-03-14 11:18:47 +09:00
Junegunn Choi
091b7eacba
0.48.0
2024-03-14 00:02:53 +09:00
Junegunn Choi
e74b1251c0
Embed shell integration scripts in fzf binary (--bash
/ --zsh
/ --fish
) ( #3675 )
...
This simplifies the distribution, and the users are less likely to have
problems caused by using incompatible scripts and binaries.
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --zsh)"
# Set up fzf key bindings
fzf --fish | source
2024-03-13 23:59:34 +09:00
Junegunn Choi
d282a1649d
Add walker options and replace 'find' with the built-in walker ( #3649 )
2024-03-13 20:56:31 +09:00
Junegunn Choi
6ce8d49d1b
[bash] Fix regression in dynamic completion
...
Fix #3674
2024-03-13 08:31:31 +09:00
dependabot[bot]
c5b197078a
Bump golang.org/x/term from 0.17.0 to 0.18.0 ( #3670 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.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-03-12 08:11:25 +09:00
Junegunn Choi
0494f20d62
Revert "Fix CHANGELOG"
...
This reverts commit 73aff476dd
.
2024-03-10 23:24:59 +09:00
Junegunn Choi
73aff476dd
Fix CHANGELOG
2024-03-10 21:52:39 +09:00
Junegunn Choi
98ee5e651a
0.47.0
2024-03-10 21:43:41 +09:00
Koichi Murase
01871ea383
[bash] Update orig_complete after _completion_loader
2024-03-10 21:41:42 +09:00
Koichi Murase
1dbdb9438f
[bash] Refactor access to "_fzf_orig_complete_${cmd//[^A-Za-z0-9_]/_}"
...
In the current codebase, for the original completion settings, the
pieces of the codes to determine the variable name and to access the
stored data are scattered. In this patch, we define functions to
access these variables. Those functions will be used in a coming
patch.
* This patch also resolves an inconsistent escaping of "$cmd": $cmd is
escaped as ${...//[^A-Za-z0-9_]/_} in some places, but it is escaped
as ${...//[^A-Za-z0-9_=]/_} in some other places. The latter leaves
the character "=" in the command name, which causes an issue because
"=" cannot be a part of a variable name. For example, the following
test case produces an error message:
$ COMP_WORDBREAKS=${COMP_WORDBREAKS//=}
$ _test1() { COMPREPLY=(); }
$ complete -vF _test1 cmd.v=1.0
$ _fzf_setup_completion path cmd.v=1.0
$ cmd.v=1.0 [TAB]
bash: _fzf_orig_completion_cmd_v=1_0: invalid variable name
The behavior of leaving "=" was present from the beginning when
saving the original completion is introduced in commit 91401514
, and
this does not seem to be a specific reasoning. In this patch, we
replace "=" as well as the other non-identifier characters.
* Note: In this patch, the variable REPLY is used to return values
from functions. This design is to make it useful with the value
substitutions, a new Bash feature of the next release 5.3, which is
taken from mksh.
2024-03-10 21:41:42 +09:00
junegunn
c70f0eadb8
Deploying to master from @ junegunn/fzf@26244ad8c2 🚀
2024-03-10 00:01:32 +00:00
Junegunn Choi
26244ad8c2
Fix preview area not being cleared when using certain types of border styles
...
fzf --preview 'sleep 3; date' --preview-window hidden \
--bind ctrl-/:change-preview-window:up,border-bottom
2024-03-09 14:14:42 +09:00
Junegunn Choi
fa0aa5510d
Kill preview process when hiding the preview window
...
via toggle-preview, hide-preview, or change-preview-window
2024-03-08 22:01:45 +09:00
Junegunn Choi
eec557b6aa
Fix invalid memory access when the preview window becomes hidden
2024-03-08 17:57:09 +09:00
huajin tong
0cc27c3cc1
Fix typo ( #3661 )
2024-03-07 01:35:31 +09:00
dependabot[bot]
507089d7b2
Bump actions/checkout from 3 to 4 ( #3428 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 11:48:46 +09:00
dependabot[bot]
a6b3517b75
Bump github.com/gdamore/tcell/v2 from 2.7.1 to 2.7.4 ( #3658 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.7.1 to 2.7.4.
- [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.1...v2.7.4 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
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-03-05 11:04:38 +09:00
dependabot[bot]
2d6beb7813
Bump crate-ci/typos from 1.18.2 to 1.19.0 ( #3657 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.18.2 to 1.19.0.
- [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.18.2...v1.19.0 )
---
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-03-05 11:04:17 +09:00
onee-only
61bc129e1d
Update parseGetParams to call strconv.Atoi when params are valid
2024-03-05 11:03:56 +09:00
onee-only
52210a57f0
Update error return position according to convention
2024-03-05 11:03:56 +09:00
onee-only
8061a2f108
Remove duplicate code
2024-03-05 11:03:56 +09:00
junegunn
7444eff6d4
Deploying to master from @ junegunn/fzf@f35a9da99a 🚀
2024-03-03 00:01:39 +00:00
dependabot[bot]
f35a9da99a
Bump crate-ci/typos from 1.17.2 to 1.18.2 ( #3624 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.17.2 to 1.18.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.17.2...v1.18.2 )
---
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-03-02 18:40:13 +09:00
dependabot[bot]
c3098e9ab2
Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.20 ( #3489 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.17 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.20 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
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-03-02 18:39:37 +09:00
Junegunn Choi
686f9288fc
Allow iTerm2 image data that ends with 'ESC \' ( #3646 )
2024-03-02 18:24:54 +09:00
Junegunn Choi
1833670fb9
Add $FZF_DEFAULT_OPTS_FILE ( #3618 )
...
For those who prefer to manage default options in a file.
If the file is not found, fzf will exit with an error.
We're not setting a default value for it because:
1. it's hard to find a default value that can be universally agreed upon
2. to avoid fzf having to check for the existence of the file even when it's not used
2024-02-29 09:49:33 +09:00
junegunn
3dd42f5aa2
Deploying to master from @ junegunn/fzf@99a7beba57 🚀
2024-02-25 00:01:35 +00:00
Junegunn Choi
99a7beba57
Fix missing bonus score on a delimiter character
...
Fix #3645
2024-02-22 23:19:11 +09:00
Junegunn Choi
edee2b753c
fzf-tmux: Workaround for tmux 3.4 bug
...
Close #3635
https://github.com/tmux/tmux/pull/3840
2024-02-21 14:39:03 +09:00
dependabot[bot]
545d5770be
Bump github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.1 ( #3639 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.7.0 to 2.7.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.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
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-02-20 10:35:23 +09:00
Junegunn Choi
ca747a2b54
Fix unit tests
2024-02-19 12:39:04 +09:00
Junegunn Choi
17da165cfe
CHANGELOG: charlievieth/fastwalk
2024-02-19 12:36:14 +09:00
Junegunn Choi
5e6788c679
Export FZF_* variables to 'reload' process as well
2024-02-19 12:36:14 +09:00
Charlie Vieth
425deadca9
dep: update github.com/charlievieth/fastwalk to v1.0.2 ( #3631 )
...
This fixes the build for solaris/illumos and removes the extraneous
godirwalk dependency.
2024-02-18 13:20:50 +09:00
junegunn
2c8e9dd3a5
Deploying to master from @ junegunn/fzf@7a72f1a253 🚀
2024-02-18 00:01:35 +00:00
Junegunn Choi
7a72f1a253
Code cleanup: Remove unused argument
2024-02-15 17:11:30 +09:00
Junegunn Choi
208e556332
Replace "default find command" with built-in directory traversal
2024-02-15 16:55:43 +09:00
Junegunn Choi
c65d11bfb5
Update README: warp.dev
2024-02-15 14:30:44 +09:00
Junegunn Choi
3b5b52d89a
Update README: warp.dev
2024-02-13 08:45:33 +09:00
dependabot[bot]
a4f6c8f990
Bump github.com/rivo/uniseg from 0.4.6 to 0.4.7 ( #3623 )
...
Bumps [github.com/rivo/uniseg](https://github.com/rivo/uniseg ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rivo/uniseg/releases )
- [Commits](https://github.com/rivo/uniseg/compare/v0.4.6...v0.4.7 )
---
updated-dependencies:
- dependency-name: github.com/rivo/uniseg
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-02-11 08:53:03 +09:00
dependabot[bot]
670c329852
Bump golang.org/x/term from 0.16.0 to 0.17.0 ( #3622 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/term/compare/v0.16.0...v0.17.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-02-11 08:52:31 +09:00