summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
2020-11-09Add --padding optionJunegunn Choi
Close #2241
2020-11-09Remove print statement for debuggingJunegunn Choi
2020-11-05[vim] Fix double path separator issue on WindowsJunegunn Choi
Fix https://github.com/junegunn/fzf.vim/issues/1141
2020-11-030.24.20.24.2Junegunn Choi
2020-11-03Allow preview window height shorter than 3Junegunn Choi
Fix #2231
2020-11-03Fix regression where lines are skipped in the preview windowJunegunn Choi
Fix #2239
2020-11-03Use default bg color when fg is set to -1 with reverse attributeJunegunn Choi
2020-10-31[vim] Set maxwidth and maxheight when creating a popupJunegunn Choi
For me, this fixes invalid popup size problem on Windows GVim
2020-10-31[vim] Remove dead codeJunegunn Choi
2020-10-31Revert "Prefer LightRenderer on Windows if it's available"Junegunn Choi
This reverts commit 7915e365b364af4c4287e35f4697f6e3cfe33284 due to https://github.com/junegunn/fzf.vim/issues/1152#issuecomment-719696495.
2020-10-31Prefer LightRenderer on Windows if it's availableJunegunn Choi
Fix #1766
2020-10-30[vim] See the last line of "fzf --version" outputJunegunn Choi
The output may contain some unexpected warning messages from the shell if it's not properly configured. While such extra messages should be properly addressed by the user, we can ignore them by checking the last line of the output instead of the first line. Related: https://github.com/junegunn/fzf.vim/commit/bd3a021ec11617c56e6aa95578fee619445b029d
2020-10-290.24.10.24.1Junegunn Choi
2020-10-29Assign default number version (without patch version)Junegunn Choi
So that you can still build and use fzf even when the precise version number is not injected via -ldflags.
2020-10-29[vim] Allow 'border': 'no' to be consistent with --color=noJunegunn Choi
2020-10-29Fix nil error on --color=bwJunegunn Choi
Fix #2229
2020-10-28Make build flags consistentJunegunn Choi
2020-10-28Make Makefile fail when git information is not availableJunegunn Choi
2020-10-28[install] Pass version number to go get commandJunegunn Choi
Related: https://github.com/junegunn/fzf.vim/issues/1150#issuecomment-717735149
2020-10-28Panic when fzf was built without version information0.24.0-1Junegunn Choi
So that the package maintainers would immediately know that the build is incorrect. But is there a way to make build simply fail? Related: https://github.com/junegunn/fzf.vim/issues/1150
2020-10-270.24.00.24.0Junegunn Choi
2020-10-27Merge branch 'devel' into masterJunegunn Choi
2020-10-27Fix: barbled multibyte text(exe. Japanese). (#2224)Junegunn Choi
* Fix: barbled multibyte text(exe. Japanese). * fixup Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>