Commit Graph

2874 Commits (ea23539b59d3277cdd34d0ea9ddbcf9c54f350e6)
 

Author SHA1 Message Date
junegunn ea23539b59 Deploying to master from @ junegunn/fzf@9e92b6f11e 🚀 3 months ago
Junegunn Choi 9e92b6f11e
0.54.0
New tags will have `v` prefix.

* https://github.com/junegunn/fzf/issues/2879
* https://github.com/golang/go/issues/32945

Close #2879
3 months ago
Junegunn Choi 6cbde812f6
[bash] Add code to the default list of programs to support completion
Close #3843
3 months ago
Junegunn Choi 3b2e932c13
Bind CTRL-/ and ALT-/ to toggle-wrap by default 3 months ago
dependabot[bot] 8ff4e52641
Bump golang.org/x/term from 0.21.0 to 0.22.0 (#3913)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/term/compare/v0.21.0...v0.22.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>
3 months ago
Charlie Vieth 2dbc874e3d
Update charlievieth/fastwalk to use forward-slashes on WSL and MSYS (#3907)
This commit changes FZF to enforce that all paths are joined with
forward-slashes when running on WSL or MSYS
even when the FZF binary was compiled for Windows.

Update: github.com/charlievieth/fastwalk
Fixes:  https://github.com/junegunn/fzf/issues/3859

---------

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
3 months ago
dependabot[bot] 039a2f1d04
Bump crate-ci/typos from 1.22.9 to 1.23.1 (#3912)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.22.9 to 1.23.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.22.9...v1.23.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>
3 months ago
junegunn 4ef1cf5b35 Deploying to master from @ junegunn/fzf@b44ab9e33c 🚀 3 months ago
Junegunn Choi b44ab9e33c
[completion] Use --wrap option in process completion
And remove the short preview window for showing the whole command.

Because it is important to be able to see the whole command before
deciding to kill it.
3 months ago
Junegunn Choi 8f4c23f1c4
Remove --walker-path-sep
Related: #3859 #3907 #3909
3 months ago
Junegunn Choi 23a391e715
[zsh] Fix backslash escaping (#3909)
Fix #3859

To test:

  FZF_CTRL_T_COMMAND="echo -E 'foo\bar\baz'; echo -E 'hello\world'"

  _fzf_compgen_path() {
    eval $FZF_CTRL_T_COMMAND
  }

  source shell/key-bindings.zsh
  source shell/completion.zsh
4 months ago
Junegunn Choi 035b0be29f
Adjust offset immediately after 'first', 'last', and 'pos'
seq 100 | fzf --multi --sync --bind 'result:last+transform:for _ in $(seq 10); do echo -n "+select+down"; done'
4 months ago
LangLangBart e1fcdbc337
fix(zsh): use the '=~' operator instead of grep (#3906) 4 months ago
Junegunn Choi cfc149e994
Avoid printing ANSI reset codes
fzf --border --bind 'start:transform-border-label:echo -e "\x1b[0mfoo"'
4 months ago
Junegunn Choi 2faffbd1b7
Fill background color in padding area
fzf --color bg:blue --border --padding 1,2
4 months ago
junegunn 8db65704b9 Deploying to master from @ junegunn/fzf@797a01aed4 🚀 4 months ago
Junegunn Choi 797a01aed4
[man] Clarify --walker-path-sep=CHAR 4 months ago
Junegunn Choi bf515a3d32
Add --walker-path-sep=CHAR to use a different path separator
This is needed when you run a Windows binary on WSL or zsh on Windows
where forward slashes are expected.

  export FZF_DEFAULT_OPTS='--walker-path-sep /'

Close #3859
4 months ago
Junegunn Choi a06745826a
[zsh] Fix completion error on openSUSE Tumbleweed
Fix suggested by @LangLangBart

Fix #3890
4 months ago
Junegunn Choi 0420ed4f2a
Empty --marker-multi-line if --marker is empty 4 months ago
Junegunn Choi 3b944addd4
Allow removing header line with change-header and transform-header
If the new header is an empty string.

  fzf --header loading --bind 'start:reload:sleep 3; ls' --bind 'load:change-header:'
  fzf --header loading --bind 'start:reload:sleep 3; ls' --bind 'load:transform-header:'
4 months ago
Junegunn Choi 70bf8bc35d
Add --wrap option and 'toggle-wrap' action (#3887)
* `--wrap`
* `--wrap-sign`
* `toggle-wrap`

Close #3619
Close #2236
Close #577
Close #461
4 months ago
dependabot[bot] 724f8a1d45
Bump crate-ci/typos from 1.22.7 to 1.22.9 (#3894)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.22.7 to 1.22.9.
- [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.22.7...v1.22.9)

---
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>
4 months ago
Junegunn Choi cc2b2146ee
ADVANCED.md: Remove unnecessary `: | fzf`
See 5b52833
4 months ago
Junegunn Choi 8689f5f230
Fix rubocop warning 4 months ago
林千里 e9e0011f1d
fix zsh ${(@)history} syntax does not work with ksh_arrays (#3893)
When `setopt ksh_arrays` in zsh, `${(@kv)history}` gives only the first entry rather than all.
4 months ago
Junegunn Choi 5b52833785
Do not start the initial reader if 'reload*' is bound to 'start' 4 months ago
Koichi Murase 1525768094
[man] Escape hyphens to prevent conversion to Unicode hyphens (#3885)
ASCII hyphens (U+002D HYPHEN-MINUS) in the option names (e.g. -x and
--extended) and the code examples in the man pages should be escaped
as \- (e.g. \-x and \-\-extended) to prevent them being converted to
Unicode hyphens in some environments.

For example, in openSUSE Tumbleweed, the raw ASCII hyphens in the
man-page sources are configured to be the Unicode hyphen (U+2010
HYPHEN).  This makes it impossible to search the option name in the
man page by e.g. /--extended[RET].  A problem also arises in copying
and pasting option names and code examples from the man page.  It
appears to be the normal ASCII hyphens by appearance (in typical
terminal fonts) but are not recognized as the ASCII hyphens by the
`fzf` command.
4 months ago
Junegunn Choi a70ea4654e
Fix regression in separator display 4 months ago
Junegunn Choi b02bf9b6bb
Fix panic on extremely short terminals
Fix #3889
4 months ago
junegunn bee7bc5324 Deploying to master from @ junegunn/fzf@7c2ffd3fef 🚀 4 months ago
Junegunn Choi 7c2ffd3fef
Make transform*, --info-command, and execute-silent cancellable
Users can press CTRL-C after 1 second to terminate the command.

Close #3883
4 months ago
LangLangBart db01e7dab6
fix(zsh): add (s) modifier to perl command (#3882) 4 months ago
Junegunn Choi 2326c74eb2
Code cleanup 4 months ago
Junegunn Choi b9d15569e8
Fix test case for validateSign 4 months ago
Junegunn Choi c3cc378d89
Allow empty pointer and marker
Close #3879
4 months ago
Junegunn Choi 27d1f5e0a8
Fix typos 4 months ago
Junegunn Choi 540632bb9e
Add --info-command for customizing the input text
Close #3866
4 months ago
Junegunn Choi d9c028c934
fzf-preview.sh: Let chafa decide the right format
Close #3822

  Output encoding:
    -f, --format=FORMAT  Set output format; one of [iterm, kitty, sixels,
                       symbols]. Iterm, kitty and sixels yield much higher
                       quality but enjoy limited support. Symbols mode yields
                       beautiful character art.
4 months ago
Junegunn Choi c54ad82e8d
Clarify that --nth applies after --with-nth transformation
Close #3873
4 months ago
bsdmp 295b89631b
Add wpath and dpath pledges on OpenBSD to make --tmux work (#3877) 4 months ago
Jan Palus 6179faf778
mod: upgrade fastwalk to 1.0.4 (#3878)
Fixes #3832
4 months ago
dependabot[bot] 16dc236a25
Bump crate-ci/typos from 1.22.3 to 1.22.7 (#3871)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.22.3 to 1.22.7.
- [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.22.3...v1.22.7)

---
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>
4 months ago
Hexin 61ae9d75b6
Remove comment in command substitution (#3875) 4 months ago
Junegunn Choi e2401aca68
Add 'offset-middle' action 4 months ago
Junegunn Choi 59943cbb48
Fire 'result' even when input stream is not complete
Related: #3866
4 months ago
Junegunn Choi 02634d404d
Remove {fzf:query} from man page 4 months ago
Junegunn Choi ed12925f7d
--sync: Suppress initial render also when focus event is bound 4 months ago
Junegunn Choi e0ddb97ab4
Improved --sync behavior
When --sync is provided, fzf will not render the interface until the
initial filtering and associated actions (bound to any of 'start',
'load', or 'result') are complete.
4 months ago
junegunn b8c01af0fc Deploying to master from @ junegunn/fzf@6de0a7ddc1 🚀 4 months ago