dependabot[bot]
51ef0b7f66
Bump github.com/gdamore/tcell/v2 from 2.5.3 to 2.5.4
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.5.3 to 2.5.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.5.3...v2.5.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>
1 year ago
dependabot[bot]
97b4542c73
Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17 )
---
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>
1 year ago
Junegunn Choi
c1cd0c09a2
Allow dragging of the preview window
1 year ago
Junegunn Choi
1fc1f47d80
Fix double-click on light renderer
1 year ago
Junegunn Choi
ec471a5bc2
Make sure two consecutive double clicks require four clicks
1 year ago
Junegunn Choi
a893fc0ca2
Clicks with different x coordinates shouldn't be seen as a double-click
1 year ago
Junegunn Choi
3761dc0433
Avoid superfluous update of scrollbar
1 year ago
Junegunn Choi
aa71a07fbe
Fix scrollbar rendering ( #3096 )
1 year ago
Junegunn Choi
088293f5e7
Restore mouse drag mode ( #3096 )
1 year ago
Junegunn Choi
7c660aa86e
Allow dragging of scrollbar
1 year ago
Junegunn Choi
435d8fa0a2
Colors for 'separator' and 'scrollbar' will default to that for 'border'
1 year ago
Junegunn Choi
5cd6f1d064
Add scrollbar
...
Close #3096
1 year ago
Junegunn Choi
ec20dfe312
Only allow local requests
1 year ago
Junegunn Choi
924ffb5a35
Fix cache being immediately cleared on reload-sync
1 year ago
Junegunn Choi
62c7f59b94
Add transform-prompt(...) action
1 year ago
Junegunn Choi
e97176b1d7
Update transform-query examples for zsh
...
Close #3107
1 year ago
Junegunn Choi
d649f5d826
Always execute preview command if {q} is in the template
...
Even when {q} is empty. Because, why not?
While this can be seen as a breaking change, there is an easy workaround
to keep the old behavior.
# This will show // even when the query is empty
: | fzf --preview 'echo /{q}/'
# But if you don't want it,
: | fzf --preview '[ -n {q} ] || exit; echo /{q}/'
Close #2759
1 year ago
Junegunn Choi
6c37177cf5
Add reload-sync action
...
Close #2816
1 year ago
Junegunn Choi
14775aa975
Add 'load' event that is triggered when the input stream is complete
...
and the first search (with or without query) is complete
1 year ago
Junegunn Choi
44b6336372
Make server channel buffered
...
Not to block an action that calls the API
fzf --listen 6266 --bind 'space:execute-silent:curl localhost:6266 -d up'
1 year ago
Junegunn Choi
36d2bb332b
Add transform-query(...) action
...
Test case authored by @SpicyLemon
Close #1930
Close #2465
Close #2559
Close #2509 (e.g. fzf --bind 'space:transform-query:printf %s%s {q} {}')
1 year ago
Junegunn Choi
4dbe45640a
Remove $FZF_LISTEN_PORT
...
It is not worth the added complexity.
1 year ago
Junegunn Choi
4b3f0b9f08
Allow put action with an argument i.e. put(...)
1 year ago
Junegunn Choi
12af069dca
Add pos(...) action to move the cursor to the numeric position
...
# Put the cursor on the 10th item
seq 100 | fzf --sync --bind 'start:pos(10)'
# Put the cursor on the 10th to last item
seq 100 | fzf --sync --bind 'start:pos(-10)'
Close #3069
Close #395
1 year ago
Junegunn Choi
d42e708d31
Update README-VIM: Different homebrew prefix on Apple Silicon
...
Close #3095
1 year ago
Junegunn Choi
b7bb973118
Revert "Add GET endpoints for getting the state of the finder"
...
This reverts commit 750b2a6313
.
This can cause a deadlock if the endpoints are accessed in the core event
loop via execute action.
fzf --listen 6266 --bind 'space:execute:curl localhost:6266'
Technically, there's no reason to use the API because the information is
already available via `{}` and `{q}`, but I'd like to completely remove
the risk of misuse.
1 year ago
Junegunn Choi
750b2a6313
Add GET endpoints for getting the state of the finder
...
* GET / (or GET /current)
* GET /query
1 year ago
Philipp Wagner
de0da86bd7
Add ppc64le binaries ( #3067 )
...
Little-endian 64 bit PowerPC (ppc64le) is the "normal" PowerPC
architecture supported by standard Linux distributions (RedHat, SUSE,
Ubuntu, etc.).
Add support for this architecture in the install script, and add binary
builds for it as well.
1 year ago
Junegunn Choi
8e283f512a
Fix bind spec parser
1 year ago
Junegunn Choi
73162a4bc3
Rewrite bind spec parser
1 year ago
Junegunn Choi
1a9761736e
Add time and size limit to remote requests
1 year ago
Junegunn Choi
fd1f7665a7
Abort fzf if --listen port is unavailable
1 year ago
Junegunn Choi
6d14573fd0
Add test case for --listen
1 year ago
Junegunn Choi
cf69b836ac
Only trim CR and NF from the submitted expression
...
So the trailing space in the following case is respected.
curl -XPOST localhost:6266 -d "change-prompt:$(date)> "
1 year ago
Junegunn Choi
a7a771b92b
Break out of jump mode when any action is submitted to the server
1 year ago
Junegunn Choi
def011c029
Fix parse error of actions with arguments
1 year ago
Junegunn Choi
4b055bf260
Rewrite HTTP server without net/http
...
This cuts down the binary size from 5.7MB to 3.3MB.
1 year ago
Junegunn Choi
1ba7484d60
Add --listen=HTTP_PORT option to receive actions
...
Supersedes #2019
See also:
* #1728
* https://github.com/junegunn/fzf.vim/pull/1044
1 year ago
Junegunn Choi
51c518da1e
Add change-query(...) action
1 year ago
polluks2
a3b6b03dfb
Fix typo ( #3093 )
...
Co-authored-by: polluks <polluks@sdf.lonestar.org>
1 year ago
Junegunn Choi
18e3b38c69
Add 'next-selected' and 'prev-selected' actions
...
Close #2749
1 year ago
Junegunn Choi
0ad30063ff
Rename previous-history to prev-history
...
previous-history is still supported for backward compatibility
1 year ago
Junegunn Choi
7812c64a31
Fix uninitialized colors in base themes
...
Fix #3079
1 year ago
Junegunn Choi
3d2376ab52
Add color name 'preview-label' ( #3053 )
1 year ago
Junegunn Choi
6b207bbf2b
Fix inconsistent bonus points in exact match
...
Exact match would assign a different bonus point to the first character
when non-default --scheme was used.
Fix #3073
1 year ago
Bjørn Forsman
3f079ba7c6
README.md: Clarify on FZF_*_OPTS ( #3064 )
...
At first I thought they were appended to FZF_*_COMMAND. Let's make it
clear that these are passed to `fzf` itself.
1 year ago
Junegunn Choi
8f4c89f50e
Make 'double-click' behave the same as 'enter' by default
...
Close #3061
1 year ago
OHZEKI Naoki
6b7a543c82
Add more util tests ( #3062 )
...
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
1 year ago
Junegunn Choi
2ba68d24f2
Do not erase info separator before redrawing it
1 year ago
Bruno Heridet
46877e0a92
test(eventbox): remove obsolete EvtClose const ( #3059 )
2 years ago