Commit Graph

2722 Commits (master)
 

Author SHA1 Message Date
Junegunn Choi 3c0a630475
0.46.1 3 months ago
Junegunn Choi 2a1e5a9729
More test fixes for tcell on GitHub Actions 3 months ago
Junegunn Choi 413c66beba
Fix tests for tcell build 3 months ago
Junegunn Choi 1416e696b1
Avoid full redraw on 'preview' action when preview window exists 3 months ago
Junegunn Choi d373cf89c7
Retain preview window on resize after 'preview' action 3 months ago
dependabot[bot] dd886d22f0
Bump github.com/rivo/uniseg from 0.4.5 to 0.4.6 (#3605)
Bumps [github.com/rivo/uniseg](https://github.com/rivo/uniseg) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/rivo/uniseg/releases)
- [Commits](https://github.com/rivo/uniseg/compare/v0.4.5...v0.4.6)

---
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>
3 months ago
junegunn 472569a27c Deploying to master from @ junegunn/fzf@76cf6559cc 🚀 3 months ago
Junegunn Choi 76cf6559cc
junegunn/uniseg -> rivo/uniseg
https://github.com/rivo/uniseg/pull/47
3 months ago
Junegunn Choi a34e8dcdc9
Downgrade Go version to keep support for old Windows (#3601)
Go 1.21 dropped support for older versions of Windows.

* https://tip.golang.org/doc/go1.21#windows

But there is no absolute reason for fzf to use Go 1.21, so we downgrade
the dependency.
3 months ago
Junegunn Choi da752fc9a4
Fix Windows build
Fix #3598
4 months ago
Junegunn Choi beb2de2dd9
0.46.0 4 months ago
Junegunn Choi 2a8b65e105
Fix highlighting of regions that are matched multiple times
Fix #3596
4 months ago
dependabot[bot] 62a916bc24
Bump crate-ci/typos from 1.16.4 to 1.17.2 (#3595)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.4 to 1.17.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.16.4...v1.17.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>
4 months ago
dependabot[bot] c47b833e7b
Bump actions/dependency-review-action from 3 to 4 (#3594)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  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>
4 months ago
LangLangBart 09b0958b5f
docs(ADVANCED.md): replace placeholder with env variable for toggle single key binding (#3593) 4 months ago
Junegunn Choi 3a4c3d3e58
Add link to fzf Theme Playground by @vitormv
https://vitormv.github.io/fzf-themes/
4 months ago
Junegunn Choi 7484292e63
Avoid deadlocks by adding a 2 second timeout to GET / endpoint
Because fzf processes HTTP GET requests in the main event loop,
accessing the endpoint from within execute/transform actions would
result in a deadlock and hang fzf indefinitely. This commit sets
a 2 second timeout to avoid the deadlock.
4 months ago
Junegunn Choi 687c2741b8
Add 'resize' event
Close #3570
4 months ago
junegunn 2fb285e530 Deploying to master from @ junegunn/fzf@16f6473938 🚀 4 months ago
Junegunn Choi 16f6473938
Change mattn/go-runewidth dependency to rivo/uniseg for accurate results
Related #3588 #3588 #3567
4 months ago
Junegunn Choi 66546208b2
Update goreleaser flags 4 months ago
Junegunn Choi 532274045e
Update to the latest go 4 months ago
LangLangBart 9347c72fb6
docs(ADVANCED.md): Add fzf example switching ripgrep/fzf with single hotkey (#3590) 4 months ago
Junegunn Choi e90bb7169c
[zsh] Handle '*' suffix in history line numbers
Fix #3591
4 months ago
Junegunn Choi 8a2c41e183
Handle ambiguous emoji width
Fix #3588
4 months ago
Junegunn Choi 59fb65293a
README.md: More information on image support 4 months ago
Junegunn Choi e7718b92b7
Kitty image support improvements
* Use `--unicode-placeholder` for consistent result in and out of tmux
* Use updated version of junegunn/go-runewidth that handles diacritics
  used in Kitty Unicode placeholder

Close #3567
4 months ago
Junegunn Choi cdfaf761df
Expose state information via environment variables to child processes
Close #3582
4 months ago
Junegunn Choi 1a9ea6f738
Remove 'replace' directive for 'go install' compatibility
Close #3577
4 months ago
junegunn 945c1c8597 Deploying to master from @ junegunn/fzf@e4d0f7acd5 🚀 4 months ago
dependabot[bot] e4d0f7acd5
Bump golang.org/x/term from 0.15.0 to 0.16.0 (#3564)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.15.0...v0.16.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>
4 months ago
Junegunn Choi 250496c953
Add 'result' event that is triggered when the result list is ready
Close #3560
4 months ago
Junegunn Choi e47dc758c9
Fix focus event not triggered in certain cases 4 months ago
Junegunn Choi b92a843c5f
Use Ubuntu 22 to match GitHub Actions environment 4 months ago
Junegunn Choi 91bea9c5b3
Use forked version of go-runewidth
Fix #3558

  go get github.com/junegunn/go-runewidth@fzf
4 months ago
junegunn d75bb5cbe1 Deploying to master from @ junegunn/fzf@2671259fdb 🚀 4 months ago
danztran 2671259fdb
[zsh] Make CTRL-R compatible with accept-or-print-query (#3557)
Fix #3556

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
4 months ago
Junegunn Choi 2024010119
0.45.0 4 months ago
Junegunn Choi 412040f77e
Enable preview if 'transform' action is bound to a key 4 months ago
Junegunn Choi d210660ce8
Add actions: show-header and hide-header 4 months ago
Junegunn Choi 863a12562b
Trigger focus actions synchronously 4 months ago
junegunn 5da606a9ac Deploying to master from @ junegunn/fzf@8d20f3d5c4 🚀 4 months ago
Junegunn Choi 8d20f3d5c4
ADVANCED.md: Add toggling example with `transform` and `{fzf:prompt}`
Courtesy of @LangLangBart
4 months ago
Junegunn Choi 5d360180af
Add {fzf:prompt} placeholder expression
Close #3354
4 months ago
Junegunn Choi f0fbed6007
Fix RuboCop error 4 months ago
Junegunn Choi 519de7c833
Fix unexpected result of --tiebreak=end
See https://github.com/junegunn/fzf/issues/3255#issuecomment-1869580320
4 months ago
Junegunn Choi 97ccef1a04
{fzf:query} should trigger preview update
fzf --preview 'echo {fzf:query}'
    fzf --preview 'echo {q}'
5 months ago
Junegunn Choi c4df0dd06e
Add TRANSFORM ACTIONS section to man page 5 months ago
Junegunn Choi cd114c6818
Change transform action to directly execute actions
To avoid filling up input channel for HTTP server
5 months ago
Junegunn Choi 1707b8cdba
Add 'transform' action to conditionally perform a series of actions
'transform' action runs an external command that prints a series of
actions to perform.

  # Disallow selecting an empty line
  echo -e "1. Hello\n2. Goodbye\n\n3. Exit" |
    fzf --reverse --header 'Select one' \
        --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"'

  # Move cursor past the empty line
  echo -e "1. Hello\n2. Goodbye\n\n3. Exit" |
    fzf --reverse --header 'Select one' \
        --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \
        --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down'

Close #3368
Close #2980
5 months ago