summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2021-05-22Add 'unbind' actionJunegunn Choi
Fix #2486
2021-03-12Add support for preview window headerJunegunn Choi
Fix #2373 # Display top 3 lines as the fixed header fzf --preview 'bat --style=header,grid --color=always {}' --preview-window '~3'
2021-03-07Fix GitHub Action buildJunegunn Choi
$USER is missing
2021-03-07Add test cases for killing input command on terminate (#2381 #2382)yoshida.shinya
2021-02-28Don't exit fzf by SIGINT while executing command (#2375)bitterfox
Fix #2374 Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2021-02-25Add select and deselect actionsJunegunn Choi
Close #2358
2021-02-02Add `close` actionJunegunn Choi
Close #2331
2021-02-01Fix toggle-preview-wrap actionJunegunn Choi
Fix #2336
2021-01-13Migrate to GitHub ActionsJunegunn Choi
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
2020-12-30Update test case for 'first' and 'last'Junegunn Choi
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-10-23Support ANSI escape sequence for clearing display in preview windowJunegunn Choi
fzf --preview 'for i in $(seq 100000); do (( i % 200 == 0 )) && printf "\033[2J" echo "$i" sleep 0.01 done'
2020-10-23Fix Travis CI buildJunegunn Choi
2020-10-23Fix test casesJunegunn Choi
We were not properly waiting for truthy-ness in until blocks. Need Minitest with https://github.com/seattlerb/minitest/commit/21d9e804b63c619f602f3f4ece6c71b48974707a
2020-10-20Always show the number of selected entries to indicate if --multi is enabledJunegunn Choi
Close #2217 seq 100 | fzf # 100/100 seq 100 | fzf --multi # 100/100 (0) seq 100 | fzf --multi 5 # 100/100 (0/5)
2020-08-02Ignore punctuation characters before and after preview offset columnJunegunn Choi
This is to allow line numbers in a ctags output (e.g. 123;")
2020-07-28Smart match of accented charactersJunegunn Choi
Fix #1618
2020-07-27Add preview window option for setting the initial scroll offsetJunegunn Choi
Close #1057 Close #2120 # Initial scroll offset is set to the line number of each line of # git grep output *minus* 5 lines git grep --line-number '' | fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5
2020-06-21Add preview action for --bindJunegunn Choi
Fix #2010 Fix #1638
2020-06-07Add backward-eof event for --bindJunegunn Choi
2020-04-21Improve error messages (#1962)Jack Bates
* Add RuboCop Minitest extension * Improve error messages * Use chomp option
2020-04-18Make flaky tests reliable (#1978)Jack Bates
2020-04-13[zsh-completion] Fix error with backslash-prefixed commandsJunegunn Choi
Fix #1973 Fix #1974 Fix #1975
2020-04-13Run rubocop --auto-correct --disable-uncorrectable (#1967)Jack Bates
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-04-03[fzf-tmux] Fall back to plain fzf when split failedJunegunn 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-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-11Add --keep-right option to keep the right end of the line visibleJunegunn Choi
Close #1652
2020-03-11Fix completion testJunegunn Choi
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-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-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-03Ignore xterm OSC control sequencesJunegunn Choi
- OSC Ps ; Pt BEL - OSC Ps ; Pt ST Fix #1415
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-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-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-17Make pointer and multi-select marker customizable (#1844)Hiroki Konishi
Add --pointer and --marker option which can provide additional context to the user
2019-12-07Add clear-query and clear-selectionJunegunn Choi
Close #1787 Related #1364
2019-12-06Properly clear list when --header-lines not filled on reloadJunegunn Choi
2019-12-06'reload' action should be allowed even where there's no matchJunegunn Choi
If the command template doesn't have any placeholder expressions. : | fzf --bind 'space:reload:seq 10'
2019-11-15Add --info=STYLE [default|inline|hidden]Junegunn Choi
Close #1738