summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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-12-05Remove immediate flickering on reload actionJunegunn Choi
2019-11-21Allow action composition over multiple --bindJunegunn Choi
# Note + prefix in the second bind expression fzf --bind u:up --bind u:+up fzf --bind u:up+up
2019-11-21Fix parse error of --bind expressionJunegunn Choi
2019-11-150.19.00.19.0Junegunn Choi
2019-11-15Fix --preview-window noborder with non-default background colorJunegunn Choi
2019-11-15Update error message for --preview-windowJunegunn Choi
2019-11-15Add `--preview-window noborder` option to disable preview borderJunegunn Choi
Close #1699
2019-11-15Add --info=STYLE [default|inline|hidden]Junegunn Choi
Close #1738
2019-11-14More key chords for --bindJunegunn Choi
Close #1752
2019-11-12Remove trailing whitespaces when using --with-nthJunegunn Choi
2019-11-12'reload' action should reset multi-selectionJunegunn Choi
2019-11-12'reload' action should reset --header-linesJunegunn Choi
2019-11-11Fix regression of select-allJunegunn 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-11-05Improvements to code quality and readability (#1737)Alexandr
* Remove 1 unused field and 3 unused functions unused elements fount by running golangci-lint run --disable-all --enable unused src/result.go:19:2: field `index` is unused (unused) index int32 ^ src/tui/light.go:716:23: func `(*LightWindow).stderr` is unused (unused) func (w *LightWindow) stderr(str string) { ^ src/terminal.go:1015:6: func `numLinesMax` is unused (unused) func numLinesMax(str string, max int) int { ^ src/tui/tui.go:167:20: func `ColorPair.is24` is unused (unused) func (p ColorPair) is24() bool { ^ * Address warnings from "gosimple" linter src/options.go:389:83: S1003: should use strings.Contains(str, ",,,") instead (gosimple) if str == "," || strings.HasPrefix(str, ",,") || strings.HasSuffix(str, ",,") || strings.Index(str, ",,,") >= 0 { ^ src/options.go:630:18: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) executeRegexp = regexp.MustCompile( ^ src/terminal.go:29:16: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) placeholder = regexp.MustCompile("\\\\?(?:{[+sf]*[0-9,-.]*}|{q}|{\\+?f?nf?})") ^ src/terminal_test.go:92:10: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) regex = regexp.MustCompile("\\w+") ^ * Address warnings from "staticcheck" linter src/algo/algo.go:374:2: SA4006: this value of `offset32` is never used (staticcheck) offset32, T := alloc32(offset32, slab, N) ^ src/algo/algo.go:456:2: SA4006: this value of `offset16` is never used (staticcheck) offset16, C := alloc16(offset16, slab, width*M) ^ src/tui/tui.go:119:2: SA9004: only the first constant in this group has an explicit type (staticcheck) colUndefined Color = -2 ^
2019-11-02Fix argument parser for -mJunegunn Choi
/cc @tessus
2019-11-02Remove unnecessary map lookupJunegunn Choi
2019-11-02Fix behavior of 'deselect-all' to only deselect matchesJunegunn Choi
To make it consistent with select-all and toggle-all. Close #1364
2019-11-02--multi to take optional argument to limit the number of selectionJunegunn Choi
Close #1718 Related #688
2019-10-27Add 'f' flag for placeholder expression (#1733)Simon Fraser
If present the contents of the selection will be placed in a temporary file, and the filename will be placed into the string instead.
2019-08-06Fix #1657: alt-0 to alt-9Junegunn Choi
2019-07-19os.Kill signal cannot be trapped (#1641)Christian Muehlhaeuser
2019-07-19Code cleanup: remove unnecessary string conversions (#1642)Christian Muehlhaeuser
2019-07-19Code cleanup (#1640)Christian Muehlhaeuser
- Replaced time.Now().Sub() with time.Since() - Replaced unnecessary string/byte slice conversions - Removed obsolete return and value assignment in range loop
2019-05-21Disallow preview scroll when the content just fits the windowJunegunn Choi
2019-04-21Output --help message to standard outputJunegunn Choi
Close #1554
2019-03-310.18.00.18.0Junegunn Choi
2019-03-30Fix regression of prompt displayJunegunn Choi
2019-03-29Disable preview scroll if the content fits on the screenJunegunn Choi
Close #1540
2019-03-29Fix ineffective break statementJunegunn Choi
2019-03-29Avoid unnecessary redraw of the preview windowJunegunn Choi
2019-03-29Redraw prompt only when necessaryJunegunn Choi
2019-03-29Add --no-unicode option to draw borders in ASCII charactersJunegunn Choi
Close ##1533
2019-03-17Add color option for gutterJunegunn Choi
fzf --color gutter:-1 Close #1529 Close #1468
2019-03-07Always prepend ANSI reset code before re-assembling tokensJunegunn Choi
2019-03-07Remove unnecessary ANSI code injectionJunegunn Choi
2019-03-07Use simple string concatenation instead of using fmt.SprintfJunegunn Choi
2019-03-06Preserve the original color of each token when using --with-nth with --ansiJunegunn Choi
Close #1500
2019-02-22Export FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS to preview processJunegunn Choi
fzf will still override LINES and COLUMNS as before but they may not hold the correct values depending on the default shell. Close #1314
2019-02-19Add placeholder expression for zero-based item index: {n} and {+n}Junegunn Choi
Close #1482
2018-12-22Fix tab width after ANSI reset code in preview windowJunegunn Choi
Close #1423
2018-12-19Inverse-only matches should not reorder the remaining resultsJunegunn Choi
Fix #1458
2018-12-13Avoid unnecessary redraw of preview windowJunegunn Choi
Close #1455
2018-12-05Render preview window when the initial query fails to matchJunegunn Choi
Only if preview template contains {q} Fix #1452 Related #1307
2018-10-070.17.50.17.5Junegunn Choi
2018-09-28Do not wait for more keystrokes after double escape charactersJunegunn Choi
Close #1393