Junegunn Choi
412040f77e
Enable preview if 'transform' action is bound to a key
10 months ago
Junegunn Choi
d210660ce8
Add actions: show-header and hide-header
10 months ago
Junegunn Choi
863a12562b
Trigger focus actions synchronously
10 months ago
junegunn
5da606a9ac
Deploying to master from @ junegunn/fzf@8d20f3d5c4 🚀
10 months ago
Junegunn Choi
8d20f3d5c4
ADVANCED.md: Add toggling example with `transform` and `{fzf:prompt}`
...
Courtesy of @LangLangBart
10 months ago
Junegunn Choi
5d360180af
Add {fzf:prompt} placeholder expression
...
Close #3354
10 months ago
Junegunn Choi
f0fbed6007
Fix RuboCop error
10 months ago
Junegunn Choi
519de7c833
Fix unexpected result of --tiebreak=end
...
See https://github.com/junegunn/fzf/issues/3255#issuecomment-1869580320
10 months ago
Junegunn Choi
97ccef1a04
{fzf:query} should trigger preview update
...
fzf --preview 'echo {fzf:query}'
fzf --preview 'echo {q}'
10 months ago
Junegunn Choi
c4df0dd06e
Add TRANSFORM ACTIONS section to man page
10 months ago
Junegunn Choi
cd114c6818
Change transform action to directly execute actions
...
To avoid filling up input channel for HTTP server
10 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
10 months ago
Junegunn Choi
41d4d70b98
Fix shell escaping for fish
...
Fix #3224
10 months ago
Junegunn Choi
0e999482cb
Fix handling of empty ANSI color sequence
...
Fix #3320
10 months ago
junegunn
65b2c06027
Deploying to master from @ junegunn/fzf@d7b61ede07 🚀
10 months ago
Junegunn Choi
d7b61ede07
Add support for negative --height
...
fzf --height=-1
Close #3487
10 months ago
dependabot[bot]
87fc1c84b8
Bump actions/setup-go from 4 to 5 ( #3537 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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>
10 months ago
dependabot[bot]
d4b5f12383
Bump github/codeql-action from 2 to 3 ( #3544 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-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>
10 months ago
junegunn
eb62b0d665
Deploying to master from @ junegunn/fzf@91387a741b 🚀
10 months ago
Jan Verbeek
91387a741b
Terminate simple server success response with double CRLF ( #3542 )
...
The simple success case had only the status line plus a single CRLF,
and pedantic HTTP client implementations (`hyper`) stumbled over
this. A double CRLF makes it OK.
Fixes #3541 .
10 months ago
Junegunn Choi
e8b34cb00d
Clarification on accept-or-print-query vs. become
10 months ago
Alec Scott
82954258c1
Add Spack installation instructions to README ( #3526 )
10 months ago
Junegunn Choi
50f092551b
Lint: RuboCop
10 months ago
Junegunn Choi
c36a64be68
Add accept-or-print-query
...
Close #3528
10 months ago
dependabot[bot]
a343b20775
Bump golang.org/x/term from 0.13.0 to 0.15.0 ( #3525 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.13.0 to 0.15.0.
- [Commits](https://github.com/golang/term/compare/v0.13.0...v0.15.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>
10 months ago
junegunn
a714e76ae1
Deploying to master from @ junegunn/fzf@d21d5c9510 🚀
10 months ago
junegunn
d21d5c9510
Deploying to master from @ junegunn/fzf@cd6788a2bb 🚀
11 months ago
Junegunn Choi
cd6788a2bb
Increase buffer size of event channel to avoid freeze on zero event
...
Fix #3516
11 months ago
junegunn
6b99399c41
Deploying to master from @ junegunn/fzf@952b6af445 🚀
11 months ago
Laurent Cheylus
952b6af445
Allow files creation in /tmp on OpenBSD ( #3512 )
...
- src/protector/protector_openbsd.go: add tmppath for pledge
permissions
- fix junegunn/fzf#3511
Signed-off-by: Laurent Cheylus <foxy@free.fr>
11 months ago
junegunn
7c674ad7fa
Deploying to master from @ junegunn/fzf@d7d2ac3951 🚀
11 months ago
Junegunn Choi
d7d2ac3951
0.44.1
11 months ago
Junegunn Choi
29e67d307a
Fix crash when preview window is hidden on focus event
11 months ago
Junegunn Choi
7320b7df62
0.44.0
11 months ago
Tomáš Janoušek
11fb4233f7
Fix Home, End on rxvt-unicode ( #3507 )
11 months ago
Junegunn Choi
84bb350b14
Reset horizontal offset of the prompt on 'beginning-of-line'
...
https://github.com/junegunn/fzf/issues/3498#issuecomment-1806651174
11 months ago
Junegunn Choi
38e3694d1c
Revert "Sixel and Kitty image support on Windows binary ( #2544 )"
...
This reverts commit 68db9cb499
.
11 months ago
dependabot[bot]
1084935241
Bump golang.org/x/sys from 0.13.0 to 0.14.0 ( #3503 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
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>
12 months ago
Junegunn Choi
f5f0b9ecaa
Fix a typo
12 months ago
Junegunn Choi
230fc49ae2
(Experimental) Add support for iTerm2 inline image protocol
...
Close #1102
fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}'
Notes:
* There is no good way to determine the height of the rendered image,
so we assume that the image takes the full height of the preview
window. So the image cannot be displayed with the other text.
* fzf-preview.sh script was updated to use `imgcat` if it's available
but `chafa` is not.
* iTerm2 also supports Sixel, so adding support for this protocol is not
quite necessary but it renders animated GIFs much better (e.g. looping).
12 months ago
Junegunn Choi
250d507bdf
Fix a typo on CHANGELOG
12 months ago
Junegunn Choi
a818653174
Add --listen-unsafe=ADDR to allow remote process execution ( #3498 )
12 months ago
junegunn
5c3b044740
Deploying to master from @ junegunn/fzf@c5aa8729a1 🚀
12 months ago
Junegunn Choi
c5aa8729a1
Fix failing test case
12 months ago
Junegunn Choi
3f78d76da1
Allow accepting remote connections
...
Close #3498
# FZF_API_KEY is required for a non-localhost listen address
FZF_API_KEY=xxx fzf --listen 0.0.0.0:6266
12 months ago
Junegunn Choi
70c19ccf16
Fix CTRL-Z handling: Signal SIGSTOP to PGID
...
Fix #3501
12 months ago
Junegunn Choi
68db9cb499
Sixel and Kitty image support on Windows binary ( #2544 )
12 months ago
Junegunn Choi
d0466fa777
Fix regression where tcell renderer not clearing the preview window
12 months ago
Junegunn Choi
21ab64e962
sixel: Export $FZF_PREVIEW_TOP to the preview command ( #2544 )
...
So that it can determine if it should subtract 1 from $FZF_PREVIEW_LINES
to avoid scrolling issue of Sixel image that touches the bottom of the
screen.
12 months ago
Junegunn Choi
a0145cebf2
sixel: Better handling of animated GIFs ( #2544 )
12 months ago