summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-01-10[man] Fix typoJunegunn Choi
2021-01-08Update default number version (#2307)calvin ardi
2021-01-07Update README to upgrade using brew upgrade (#2309)nicolasbarra
2021-01-04Fix selection changed on terminal resize (#2306)E.L.K
2021-01-03Use more explicit int-to-string conversion.Elliott Sales de Andrade
This fixes the following errors with Go 1.15: ``` src/options.go:452:69: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) src/options.go:463:33: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) ```
2021-01-030.25.00.25.0Junegunn Choi
2021-01-03Revert "[zsh] Use shell redirection (#2281)"Junegunn Choi
This reverts commit e9bc7331bde238e84f24b76ebb1f5e18799b15c4. The change is no longer necessary since 090dee8.
2021-01-03Do not disable mouse on SIGCONT before SIGSTOPJunegunn Choi
Fix #2161
2021-01-03Make search toggleableJunegunn Choi
- `--phony` renamed to `--disabled` for consistency - `--no-phony` is now `--enabled` - Added `enable-search`, `disable-search`, and `toggle-search` actions for `--bind` - Added `--color` options: `query` and `disabled` Close #2303
2021-01-01[fzf-tmux] Disable CTRL-ZJunegunn Choi
2021-01-01[shell] Disable CTRL-ZJunegunn Choi
Fix #2289
2020-12-31Update vimdocJunegunn Choi
2020-12-31Add tag links for "doc/fzf.txt"yhu266
2020-12-31[Makefile] Make sure to use bashJunegunn Choi
2020-12-31Add preview-top and preview-bottom actionsJunegunn Choi
2020-12-31Fix alt-, for --expectJunegunn Choi
2020-12-30Update test case for 'first' and 'last'Junegunn Choi
2020-12-30Extend support for alt key chordsJunegunn Choi
"alt-" with any case-sensitive character is allowed
2020-12-30Add "last" action to move the cursor to the last matchJunegunn Choi
This is the opposite of "first" (previously known as "top").
2020-12-23[zsh] Use shell redirection (#2281)林千里
zsh sends SIGCONT when running fzf in a pipe in certain cases, causing mouse mode to become disabled Fix #2101
2020-12-23[Makefile] Support building on machines with `uname -m` == "arm64" (#2291)Loic Nageleisen
2020-12-23Prevent index out of range errorJunegunn Choi
Fix #2293
2020-12-16[vim] Allow closing Vim running fzf without confirmationJunegunn Choi
Close #2287
2020-12-09Revert "[zsh] Reload shared history before searching (#2251)"Junegunn Choi
This reverts commit b62a74b3156540cea4f12cf1d092cba77cb1db67. https://github.com/junegunn/fzf/pull/2251#issuecomment-740551383
2020-12-07Update CHANGELOGJunegunn Choi
2020-12-07Make --color attributes mergeableJunegunn Choi
So you can override the colors and still have the text attributes # Default colors and attributes fzf export FZF_DEFAULT_OPTS='--color hl:-1:underline,hl+:-1:underline:reverse' # Default colors with underline+reverse attributes fzf # Different colors with underline+reverse attributes fzf --color hl:176,hl+:177 Related: https://github.com/junegunn/fzf.vim/issues/1197#issuecomment-739804363
2020-12-050.24.40.24.4Junegunn Choi
2020-12-05Fix slice bound error on extremely narrow screenJunegunn Choi
2020-12-05[zsh] Reload shared history before searching (#2251)Martin Polden
2020-12-05Add --preview-window follow optionJunegunn Choi
2020-12-04Fix typo in test caseJunegunn Choi
2020-12-04Add change-prompt actionJunegunn Choi
Close #2270
2020-12-04Change how hl:-1 or hl+:-1 is applied to text with background colorJunegunn Choi
2020-12-03Fix Travis OSX buildJunegunn Choi
2020-12-03Do not update Homebrew on Travis OSX buildJunegunn Choi
https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-on-macos > By default, the Homebrew addon will not run brew update before > installing packages. brew update can take a long time and slow down your > builds.
2020-11-25Fix unit testsJunegunn Choi
2020-11-25[zsh] Declare variable as local before assignment (#2266)ratijas
2020-11-25Support ANSI code for clearing the rest of the line (ESC[0K)Junegunn Choi
Some programs use it to set the background color for the whole line. fzf --preview "printf 'normal \x1b[42mgreen\x1b[0K \x1b[43myellow\x1b[m\nnormal again'" fzf --preview 'delta <(echo foo) <(echo bar) < /dev/tty' Fix #2249
2020-11-24Fix handling of arrow keys with alt and/or shift modifierJunegunn Choi
Fix #2254 - Properly handle extra chars in the buffer. Patch suggested by @mckelly2833. - Support alt-arrow sequences in \e[1;3A format - Support shift-alt-arrow sequences in \e[1;10A format
2020-11-24Improve trim function to handle longer stringsJunegunn Choi
Fix #2258
2020-11-19[vim] &termwinkey may not be availableJunegunn Choi
/cc @Caid11
2020-11-17[vim] Clean up temp files on interrupt (#2252)Michal Domonkos
The clean-up is done in s:collect(), so let's make sure it's run before we may terminate due to CTRL-C or ESC (or some other error code) in s:exit_handler().
2020-11-15[vim] Map CTRL-Z to <nop>Junegunn Choi
2020-11-15[vim] Set termwinkey to allow CTRL-WJunegunn Choi
Fix https://github.com/junegunn/fzf.vim/issues/1176
2020-11-14[bash-completion] Fix endless loop when completion.bash sourced twiceTomas Janousek
I forgot to add the "not _fzf" check into __fzf_orig_completion, so invoking it twice would rewrite the _fzf_orig_completion_xxx variables and then cause an endless loop when completion is requested. Fixes: ef2c29d5d497 ("[bash-completion] Optimize __fzf_orig_completion_filter")
2020-11-13[bash-completion] Unexport _fzf_orig_completion_* variablesTomas Janousek
2020-11-13[bash-completion] Optimize __fzf_orig_completion_filterTomas Janousek
Commit d4ad4a25 slowed loading of completion.bash significantly (on my laptop from 10 ms to 30 ms), then 54891d11 improved that (to 20 ms) but it still stands out as the heavy part of my .bashrc. Rewriting __fzf_orig_completion_filter to pure bash without forking to sed/awk brings this back under 10 ms. before: $ HISTFILE=/tmp/bashhist hyperfine 'bash --rcfile shell/completion.bash -i' Benchmark #1: bash --rcfile shell/completion.bash -i Time (mean ± σ): 21.2 ms ± 0.3 ms [User: 24.9 ms, System: 6.4 ms] Range (min … max): 20.7 ms … 23.3 ms 132 runs after: $ HISTFILE=/tmp/bashhist hyperfine 'bash --rcfile shell/completion.bash -i' Benchmark #1: bash --rcfile shell/completion.bash -i Time (mean ± σ): 9.6 ms ± 0.3 ms [User: 8.0 ms, System: 2.2 ms] Range (min … max): 9.3 ms … 11.4 ms 298 runs Fixes: d4ad4a25db5f ("[bash-completion] Fix default alias/variable completion") Fixes: 54891d11e09d ("[bash-completion] Minor optimization")
2020-11-13[bash-completion] Move -F/_fzf filter to __fzf_orig_completion_filterTomas Janousek
This prevents mistakes like the one fixed by the previous commit, and also speeds bash startup a tiny bit: before: $ HISTFILE=/tmp/bashhist hyperfine 'bash --rcfile shell/completion.bash -i' Benchmark #1: bash --rcfile shell/completion.bash -i Time (mean ± σ): 22.4 ms ± 0.6 ms [User: 28.7 ms, System: 7.8 ms] Range (min … max): 21.7 ms … 25.2 ms 123 runs after: $ HISTFILE=/tmp/bashhist hyperfine 'bash --rcfile shell/completion.bash -i' Benchmark #1: bash --rcfile shell/completion.bash -i Time (mean ± σ): 21.2 ms ± 0.3 ms [User: 24.9 ms, System: 6.4 ms] Range (min … max): 20.7 ms … 23.3 ms 132 runs
2020-11-13[bash-completion] Avoid empty _a, _v completionsTomas Janousek
This doesn't look right: $ complete | grep ' _.$' complete _a complete _v The __fzf_orig_completion_filter invocation in _fzf_setup_completion needs the /-F/ filter, just like all the other invocations. Fixes: d4ad4a25db5f ("[bash-completion] Fix default alias/variable completion")
2020-11-090.24.30.24.3Junegunn Choi