summaryrefslogtreecommitdiffstats
path: root/src/core.go
AgeCommit message (Collapse)Author
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-02-19Export FZF_* variables to 'reload' process as wellJunegunn Choi
2023-12-21Add support for negative --heightJunegunn Choi
fzf --height=-1 Close #3487
2023-05-27Fix bug where preview is not updated after reload when --disabled is setJunegunn Choi
Fix #3311
2023-05-27Remove dead codeJunegunn Choi
2023-05-01Fix caching when reload and query change triggered by the same bindingJunegunn Choi
2023-04-30Fix search not triggered when query change and reload happen at the same timeJunegunn Choi
Fix #3268
2023-04-02Fix a bug of height range with -1 or -0 (#3226)tyama711
Fixed a bug that when both heightUnknown and deferred are true, deferred is not properly reset and the program terminates abnormally. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2022-12-31Fix cache being immediately cleared on reload-syncJunegunn Choi
2022-12-29Add reload-sync actionJunegunn Choi
Close #2816
2022-09-28Implement height range (--height ~[VALUE][%])Junegunn Choi
Close #2953
2022-08-12Reformat comments adhere to gofmtJunegunn Choi
2022-08-03Fix incorrect ordering of `--tiebreak=chunk`Junegunn Choi
2022-04-04Add `rebind` action for restoring bindings after `unbind`Junegunn Choi
Fix #2752 Close #2564
2021-09-14Reset {n} after reloadJunegunn Choi
Fix #2611
2021-03-07Kill input command on terminateJunegunn Choi
Fix #2381 Close #2382
2021-01-030.25.00.25.0Junegunn 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-10-270.24.0-rc10.24.0-rc1Junegunn Choi
2020-10-25Add support for text styling using --colorJunegunn Choi
Close #1663
2019-12-16Fix incorrect header array mutationJunegunn Choi
2019-12-09Defer resetting multi-selection on reloadJunegunn Choi
2019-12-06Properly clear list when --header-lines not filled on reloadJunegunn Choi
2019-12-05Remove immediate flickering on reload actionJunegunn Choi
2019-11-12Remove trailing whitespaces when using --with-nthJunegunn Choi
2019-11-12'reload' action should reset --header-linesJunegunn Choi
2019-11-11Remove unnecessary reader barrier on --filter modeJunegunn Choi
2019-11-10Experimental implementation of "reload" actionJunegunn Choi
# Reload input list with different sources seq 10 | fzf --bind 'ctrl-a:reload(seq 100),ctrl-b:reload(seq 1000)' # Reload as you type seq 10 | fzf --bind 'change:reload:seq {q}' --phony # Integration with ripgrep RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case " INITIAL_QUERY="" FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \ fzf --bind "change:reload:$RG_PREFIX {q} || true" \ --ansi --phony --query "$INITIAL_QUERY" Close #751 Close #965 Close #974 Close #1736 Related #1723
2019-11-10Add --phony option for disabling searchJunegunn Choi
With --phony, fzf becomes a simply selector interface without its own search functionality. The query string is only used for building the command for preview or execute action. Close #1723
2019-03-07Always prepend ANSI reset code before re-assembling tokensJunegunn Choi
2019-03-07Remove unnecessary ANSI code injectionJunegunn Choi
2019-03-06Preserve the original color of each token when using --with-nth with --ansiJunegunn Choi
Close #1500
2018-12-19Inverse-only matches should not reorder the remaining resultsJunegunn Choi
Fix #1458
2017-08-20Ignore EvtReadNew if EvtReadFin is already setJunegunn Choi
2017-08-20Remove redundant read event when --sync is usedJunegunn Choi
2017-08-16Remove count field from ChunkListJunegunn Choi
2017-08-16Make Reader event notification asynchronousJunegunn Choi
Instead of notifying the event coordinator (EventBox) whenever a new line is arrived, start a background goroutine that periodically does the task. Atomic.StoreInt32 is much cheaper than mutex synchronization that happens during EventBox update.
2017-08-15Remove special nilItemJunegunn Choi
2017-08-01Do not use defer in performance-sensitive contextsJunegunn Choi
2017-07-21Further reduce unnecessary rune array conversionJunegunn Choi
I was too quick to release 0.16.9, this commit makes --ansi processing even faster.
2017-07-20Avoid unconditionally storsing input as runesJunegunn Choi
When --with-nth is used, fzf used to preprocess each line and store the result as rune array, which was wasteful if the line only contains ascii characters.
2017-07-16Reduce memory footprint of Item structJunegunn Choi
2017-07-16Remove pointer indirection by changing Chunk definitionJunegunn Choi
2017-07-01Print [ERROR] on info line when the default command failedJunegunn Choi
With zero result. Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805
2017-06-02Add git revision to --version outputJunegunn Choi
2017-06-02Fix inconsistent tiebreak scores when --nth is usedJunegunn Choi
Make sure to consistently calculate tiebreak scores based on the original line. This change may not be preferable if you filter aligned tabular input on a subset of columns using --nth. However, if we calculate length tiebreak only on the matched components instead of the entire line, the result can be very confusing when multiple --nth components are specified, so let's keep it simple and consistent. Close #926
2017-01-300.16.30.16.3Junegunn Choi
2017-01-09Add --normalize option to normalize latin script charactersJunegunn Choi
Close #790
2016-09-19Add --print0 option0.15.0Junegunn Choi
Related: #660
2016-09-18Revise ranking algorithmJunegunn Choi