summaryrefslogtreecommitdiff
path: root/test/test_core.rb
AgeCommit message (Collapse)Author
2025-10-09ADD $FZF_DIRECTIONJunegunn Choi
2025-09-22Apply RuboCop suggestionsJunegunn Choi
2025-09-05Add sub-word actions (#3997)Massimo Mund
Add `backward-subword`, `forward-subword`, `kill-subword`, `backward-kill-subword` actions.
2025-08-08Fix incorrect truncation of --info-command with --info=inline-rightJunegunn Choi
Fix #4479
2025-08-03Fix a bug where you cannot unset the default `--nth` using `change-nth`Junegunn Choi
2025-07-23Add 'trigger(KEY_OR_EVENT[,...])' actionJunegunn Choi
2025-07-06Fix selection lost on revision bumpJunegunn Choi
2025-07-06Fix regression where header is not updatedJunegunn Choi
2025-07-06Add 'multi' event triggered on multi-selection changesJunegunn Choi
2025-07-02Fix panic caused by incorrect update orderingJunegunn Choi
Fix #4442 Make sure to prepare windows before rendering elements. Thanks to @nugged for the report.
2025-06-21Add bg-cancel action to ignore running background transformsJunegunn Choi
Close #4430 Example: # Implement popup that disappears after 1 second # * Use footer as the popup # * Use `bell` to ring the terminal bell # * Use `bg-transform-footer` to clear the footer after 1 second # * Use `bg-cancel` to ignore currently running background transform actions fzf --multi --list-border \ --bind 'enter:execute-silent(echo -n {+} | pbcopy)+bell' \ --bind 'enter:+transform-footer(echo Copied {} to clipboard)' \ --bind 'enter:+bg-cancel+bg-transform-footer(sleep 1)'
2025-06-16Implement asynchronous transform actions (#4419)Junegunn Choi
Close #4418 Example: fzf --bind 'focus:bg-transform-header(sleep 2; date; echo {})'
2025-05-17RuboCop lintJunegunn Choi
2025-04-22Add missing environment variables (#4356)RafaelDominiquini
Co-authored-by: Rafael Baboni Dominiquini <rafaeldominiquini@gmail.com> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2025-04-11Fix trailing ␊ not rendered with '--read0 --no-multi-line'Junegunn Choi
https://github.com/junegunn/fzf/pull/4334#issue-2966013714 # Should display foo␊ echo -en "foo\n" | fzf --read0 --no-multi-line
2025-03-28Add change-ghost and transform-ghostJunegunn Choi
2025-03-28Fix header window not updated on change-headerJunegunn Choi
2025-03-28Add change-pointer and transform-pointerJunegunn Choi
Close #4178
2025-03-26Fix query precedence in an action chain (#4326)Junegunn Choi
When 'search' and any action that modifies the query are in an action chain, anything that comes later takes precedence.
2025-03-26Improve query modification prevention in input-less modeJunegunn Choi
fzf would restore the original query in input-less mode after executing a chain of actions. This commit changes the behavior so that the restoration happens after each action to allow something like 'show-input+change-query(...)+hide-input'. Fix #4326
2025-03-25Do not ignore current query when input is hiddenJunegunn Choi
* The initial query given by --query should be respected * The current query should still be respected after `hide-input` (or `toggle-input) Fix #4327
2025-03-23Fix offset-middle not updating the listJunegunn Choi
2025-03-15Fix ghost text with inline infoJunegunn Choi
Fix #4312
2025-03-14Add `--ghost=TEXT` to display a ghost text when the input is emptyJunegunn Choi
2025-02-26Make --accept-nth compatible with --select-1Junegunn Choi
Fix #4287
2025-02-23Add support for {n} in --with-nth and --accept-nth templatesJunegunn Choi
Close #4275
2025-02-22Fix 'jump' when pointer is emptyJunegunn Choi
Fix #4270
2025-02-21Don't trim last field when delimiter is regex (#4266)phanium
2025-02-12Make --accept-nth and --with-nth support templatesJunegunn Choi
2025-02-09Rename actions: exclude and exclude-multiJunegunn Choi
https://github.com/junegunn/fzf/pull/4231#issuecomment-2646067669
2025-02-09Add exclude-current actionJunegunn Choi
https://github.com/junegunn/fzf/pull/4231#issuecomment-2646063208
2025-02-09Add 'exclude' action for excluding current/selected items from the result ↵Junegunn Choi
(#4231) Close #4185
2025-02-09Add --accept-nth option to transform the outputJunegunn Choi
This option can be used to replace a sed or awk in the post-processing step. ps -ef | fzf --multi --header-lines 1 | awk '{print $2}' ps -ef | fzf --multi --header-lines 1 --accept-nth 2 This may not be a very "Unix-y" thing to do, so I've always felt that fzf shouldn't have such an option, but I've finally changed my mind because: * fzf can be configured with a custom delimiter that is a fixed string or a regular expression. * In such cases, you'd need to repeat the delimiter again in the post-processing step. * Also, tools like awk or sed may interpret a regular expression differently, causing mismatches. You can still use sed, cut, or awk if you prefer. Close #3987 Close #1323
2025-02-02Update DockerfileJunegunn Choi
2025-02-02Fix failing test caseJunegunn Choi
2025-02-02Fix RuboCop errorsJunegunn Choi
2025-02-02FZF_KEY enhancementsJunegunn Choi
* 'enter' instead of 'ctrl-m' * 'space' instead of ' '
2025-02-01Display header lines at the top in 'reverse-list' layoutJunegunn Choi
2025-02-01Add toggle-bindJunegunn Choi
2025-01-27Fix edge cases in --bind where ',' or ':' are chained (#4206)Junegunn Choi
2025-01-27[test] Prefer match_count over item_countJunegunn Choi
match_count can lag behind item_count and can cause intermittent failures.
2025-01-27Allow actions to multiple keys and events at onceJunegunn Choi
Close #4206
2025-01-26Add 'search' and 'transform-search'Junegunn Choi
Close #4202
2025-01-25Split integration test file (#4205)Junegunn Choi