summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-04-030.21.10.21.1Junegunn Choi
2020-04-03[fzf-tmux] Split zsh variable expansion for old zshJunegunn Choi
The following code works in zsh 5.8 but not in 5.4 ${(Q)${(Z+n+)FZF_TMUX_OPTS:--d${FZF_TMUX_HEIGHT:-40%}}}
2020-04-03[fzf-tmux] Fall back to plain fzf when split failedJunegunn Choi
2020-04-03[fzf-tmux] Use $PWD instead of #{pane_current_path}Junegunn Choi
Related: https://github.com/tmux/tmux/issues/1282
2020-04-03[fzf-tmux] Set default horizontal marginJunegunn Choi
2020-04-03[fzf-tmux] Add option to start fzf in tmux popup windowJunegunn Choi
Requires latest tmux built from source (e.g. brew install tmux --HEAD) Examples: # 50%/50% width and height on the center of the screen fzf-tmux -p # 80%/80% fzf-tmux -p80% # 80%/40% fzf-tmux -p80%,40% # Separate -w and -h fzf-tmux -w80% -h40% # 80%/40% at position (0, 0) fzf-tmux -w80% -h40% -x0 -y0 You can configure key bindings and fuzzy completion to open in tmux popup window like so: FZF_TMUX_OPTS='-p 80%'
2020-03-30[vim] Fix issue with multiple popups (#1927)lacygoill
Invoking fzf from an existing Vim popup terminal is a special case. It requires some new code to avoid E994 from being raised and the user being stuck in a non-closable popup window. Fix #1916
2020-03-30[zsh] Ensure that fzf code always parses the same way (#1944)Roman Perepelitsa
At the top of each zsh file options are set to their standard values (those marked with <Z> in `man zshoptions`) and `aliases` option is disabled. At the bottom of the file the original options are restored. Fix #1938
2020-03-30Update AtomicBool to use atomic memory operation (#1939)Alexandr
2020-03-29Fix failing test caseJunegunn Choi
2020-03-29[shell] Update CTRL-R to remove duplicate commandsJunegunn Choi
Close #1940 Related: #1363 #749 #270 #49 #88 #492 #600
2020-03-24[zsh-completion] Fix a bug where _fzf_complete did not iterate through args ↵Chitoku
(#1936)
2020-03-23Fix ANSI color offsets when --keep-right is usedJunegunn Choi
2020-03-14[windows] Do not include directories in the listJunegunn Choi
Fix #1926
2020-03-13[bash] Restore --nth option in CTRL-R0.21.0-1Junegunn Choi
2020-03-120.21.00.21.0Junegunn Choi
2020-03-11Add --keep-right option to keep the right end of the line visibleJunegunn Choi
Close #1652
2020-03-11Fix completion testJunegunn Choi
2020-03-11Fuzzy completions: removed leftover debug echo (#1921)Jakub Łuczyński
2020-03-11Change custom fuzzy completion APIJunegunn Choi
To make it easier to write more complex fzf options. Although this does not break backward compatibility, users are encouraged to update their code accordingly. # Before _fzf_complete "FZF_ARG1 FZF_ARG2..." "$@" < <( # Print candidates ) # After _fzf_complete FZF_ARG1 FZF_ARG2... -- "$@" < <( # Print candidates )
2020-03-11Add explanation for the `g:fzf_colors` setting (#1878)Kahlil (Kal) Hodgson
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-03-10Make height option work under Windows (#1341)Michael Kelley
Separate Unix & Windows code into platform specific files for light renderer
2020-03-07Add retries to CTRL-R tests to avoid intermittent errors on Travis CIJunegunn Choi
- https://travis-ci.org/junegunn/fzf/jobs/659496745#L676 Related #1900
2020-03-07[completion] Use file redirection instead of pipeJunegunn Choi
This change allows the completion system of bash and zsh to return before the input process completes. Related #1887
2020-03-07Do not read more than 10K characters from /dev/ttyJunegunn Choi
This might help with #1456 where fzf hangs consuming CPU resources.
2020-03-05Draft CHANGELOG for the upcoming releaseJunegunn Choi
2020-03-05Add more --border options; default changed to "rounded"Junegunn Choi
--border option now takes an optional argument that defines the style - rounded (new default) - sharp - horizontal (previous default)
2020-03-04Fix flaky test caseJunegunn Choi
Make sure that the shell is ready before hitting CTRL-R 1) Error: TestFish#test_ctrl_r_multiline: RuntimeError: timeout test/test_go.rb:50:in `wait' test/test_go.rb:125:in `until' test/test_go.rb:1857:in `test_ctrl_r_multiline'
2020-03-03[vim] Fix height calculationJunegunn Choi
Fix #1418 e.g. call fzf#run({'source': [1, 2, 3], 'down': '~50%', 'options': "--border --header $'1\n2'"})
2020-03-03Ignore xterm OSC control sequencesJunegunn Choi
- OSC Ps ; Pt BEL - OSC Ps ; Pt ST Fix #1415
2020-03-01[vim] Throw error when popup support is unavailableJunegunn Choi
https://github.com/junegunn/fzf.vim/issues/943 https://github.com/junegunn/fzf.vim/issues/959
2020-03-01Fix prefix/suffix/equal matcher to trim whitespacesJunegunn Choi
- Prefix matcher will trim leading whitespaces only when the pattern doesn't start with a whitespace - Suffix matcher will trim trailing whitespaces only when the pattern doesn't end with a whitespace - Equal matcher will trim leading whitespaces only when the pattern doesn't start with a whitespace, and trim trailing whitespaces only when the pattern doesn't end with a whitespace Previously, only suffix matcher would trim whitespaces unconditionally. Fix #1894
2020-02-29[bash] Fix --query argument of CTRL-RJunegunn Choi
Fix #1898
2020-02-28Test multi-line C-r (#1892)Jack Bates
2020-02-28[bash] Start C-r search with current command line (#1886)Jack Bates
Restore the original line when search is aborted. Add --query "$READLINE_LINE" and fall back to the current behavior pre Bash 4. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-02-28Clean up test shell initializationJunegunn Choi
- Fix 'make docker-test' - Set fish_history to an empty string since 'fish --private' is not available prior to fish 3.0
2020-02-28[fish] Ignore empty environment variablesJunegunn Choi
2020-02-28Use a more robust way to check if the shell is readyJunegunn Choi
2020-02-28Add backward-delete-char/eof action (#1891)James Wright
'backward-delete-char/eof' will either abort if query is empty or delete one character backwards.
2020-02-26Update README.md: MacPorts upgrade instruction (#1893)Chris
2020-02-24Add 'insert' key for --bindJunegunn Choi
Close #1744
2020-02-24Fix panic on unexpected escape sequencesJunegunn Choi
2020-02-24[bash] Multiline C-r without histexpand (#1837)Jack Bates
Close #1370 Parses the history list, converts it to a NUL-delimited list of possibly multiline entries. Adds the fzf --read0 option. Works with and without histexpand enabled. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-02-23[bash] Restore insertion point pre Bash 4 (#1881)Jack Bates
Make C-t more consistent pre and post Bash 4. It already kills the command line separately before and after the insertion point. Add set-mark and exchange-point-and-mark to restore the insertion point after yanking back and apply the same behavior to M-c. * CTRL-T should put extra space after pasted items Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-02-21[bash] Put C-t items at point in vi mode (#1876)Jack Bates
Be consistent with emacs mode and put the items at the point vs. the end of the command line.
2020-02-20[bash] Strip trailing whitespace on kill completionJunegunn Choi
2020-02-20[completion] Allow users to customize fzf options via _fzf_comprunJunegunn Choi
Related #1809 #1850
2020-02-19[bash-completion] Minor optimizationJunegunn Choi
2020-02-18Update ANSI processor to handle "rmso" and "rmul"Junegunn Choi
Fix #1877
2020-02-17Make pointer and multi-select marker customizable (#1844)Hiroki Konishi
Add --pointer and --marker option which can provide additional context to the user