summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2024-04-02Further performance improvements by removing unnecessary copiesJunegunn Choi
2024-04-02Improve ingestion performance (by around 40%)Junegunn Choi
Summary fzf --sync --bind load:accept < 27M-lines ran 1.16 ± 0.01 times faster than fzf-41b3511 --sync --bind load:accept < 27M-lines 1.44 ± 0.01 times faster than fzf-0.48.1 --sync --bind load:accept < 27M-lines
2024-04-01Improve ingestion performance (by around 20%)Junegunn Choi
2024-03-29Add environment variables: FZF_{BORDER,PREVIEW}_LABEL (#3693)Matthieu Cneude
The environment variable get the value of the preview label, even if it has been updated with an action. It can be useful to track the label of the preview and be able to switch between previews using only one binding. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-03-28Add track-current, untrack-current, and toggle-track-current (#3699)Junegunn Choi
Close #3691
2024-03-27Fix reload and reload-sync behaviorsJunegunn Choi
https://github.com/junegunn/fzf/discussions/3696#discussioncomment-8915593
2024-03-21Increase the buffer size for POST requestsJunegunn Choi
Close #3685
2024-03-21Set a 2-second timeout for POST requestsJunegunn Choi
Close #3685
2024-03-17Fix panic caused by invalid cursor indexJunegunn Choi
Fix #3681
2024-03-14Limit the maximum number of focus events to process at onceJunegunn Choi
2024-03-13Embed shell integration scripts in fzf binary (`--bash` / `--zsh` / ↵Junegunn Choi
`--fish`) (#3675) This simplifies the distribution, and the users are less likely to have problems caused by using incompatible scripts and binaries. # Set up fzf key bindings and fuzzy completion eval "$(fzf --bash)" # Set up fzf key bindings and fuzzy completion eval "$(fzf --zsh)" # Set up fzf key bindings fzf --fish | source
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-03-09Fix preview area not being cleared when using certain types of border stylesJunegunn Choi
fzf --preview 'sleep 3; date' --preview-window hidden \ --bind ctrl-/:change-preview-window:up,border-bottom
2024-03-08Kill preview process when hiding the preview windowJunegunn Choi
via toggle-preview, hide-preview, or change-preview-window
2024-03-08Fix invalid memory access when the preview window becomes hiddenJunegunn Choi
2024-03-05Update parseGetParams to call strconv.Atoi when params are validonee-only
2024-03-05Update error return position according to conventiononee-only
2024-03-05Remove duplicate codeonee-only
2024-03-02Allow iTerm2 image data that ends with 'ESC \' (#3646)Junegunn Choi
2024-02-29Add $FZF_DEFAULT_OPTS_FILE (#3618)Junegunn Choi
For those who prefer to manage default options in a file. If the file is not found, fzf will exit with an error. We're not setting a default value for it because: 1. it's hard to find a default value that can be universally agreed upon 2. to avoid fzf having to check for the existence of the file even when it's not used
2024-02-22Fix missing bonus score on a delimiter characterJunegunn Choi
Fix #3645
2024-02-19Fix unit testsJunegunn Choi
2024-02-19Export FZF_* variables to 'reload' process as wellJunegunn Choi
2024-02-15Code cleanup: Remove unused argumentJunegunn Choi
2024-02-15Replace "default find command" with built-in directory traversalJunegunn Choi
2024-02-010.46.10.46.1Junegunn Choi
2024-02-01Fix tests for tcell buildJunegunn Choi
2024-02-01Avoid full redraw on 'preview' action when preview window existsJunegunn Choi
2024-02-01Retain preview window on resize after 'preview' actionJunegunn Choi
2024-01-27junegunn/uniseg -> rivo/unisegJunegunn Choi
https://github.com/rivo/uniseg/pull/47
2024-01-24Fix Windows buildJunegunn Choi
Fix #3598
2024-01-23Fix highlighting of regions that are matched multiple timesJunegunn Choi
Fix #3596
2024-01-21Avoid deadlocks by adding a 2 second timeout to GET / endpointJunegunn Choi
Because fzf processes HTTP GET requests in the main event loop, accessing the endpoint from within execute/transform actions would result in a deadlock and hang fzf indefinitely. This commit sets a 2 second timeout to avoid the deadlock.
2024-01-21Add 'resize' eventJunegunn Choi
Close #3570
2024-01-21Change mattn/go-runewidth dependency to rivo/uniseg for accurate resultsJunegunn Choi
Related #3588 #3588 #3567
2024-01-19Handle ambiguous emoji widthJunegunn Choi
Fix #3588
2024-01-16Expose state information via environment variables to child processesJunegunn Choi
Close #3582
2024-01-14Remove 'replace' directive for 'go install' compatibilityJunegunn Choi
Close #3577
2024-01-07Add 'result' event that is triggered when the result list is readyJunegunn Choi
Close #3560
2024-01-07Fix focus event not triggered in certain casesJunegunn Choi
2024-01-010.45.00.45.0Junegunn Choi
2023-12-31Enable preview if 'transform' action is bound to a keyJunegunn Choi
2023-12-31Add actions: show-header and hide-headerJunegunn Choi
2023-12-31Trigger focus actions synchronouslyJunegunn Choi
2023-12-28Add {fzf:prompt} placeholder expressionJunegunn Choi
Close #3354
2023-12-26Fix unexpected result of --tiebreak=endJunegunn Choi
See https://github.com/junegunn/fzf/issues/3255#issuecomment-1869580320
2023-12-26{fzf:query} should trigger preview updateJunegunn Choi
fzf --preview 'echo {fzf:query}' fzf --preview 'echo {q}'
2023-12-26Change transform action to directly execute actionsJunegunn Choi
To avoid filling up input channel for HTTP server
2023-12-26Add 'transform' action to conditionally perform a series of actionsJunegunn Choi
'transform' action runs an external command that prints a series of actions to perform. # Disallow selecting an empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' # Move cursor past the empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \ --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down' Close #3368 Close #2980
2023-12-25Fix shell escaping for fishJunegunn Choi
Fix #3224