Commit Graph

321 Commits (master)

Author SHA1 Message Date
Junegunn Choi e2ae1b249c
0.22.0 4 years ago
Junegunn Choi f092e4038f
Smart match of accented characters
Fix #1618
4 years ago
Junegunn Choi 0f9cb5590e
Add preview window option for setting the initial scroll offset
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
4 years ago
Junegunn Choi 8e027c445f
Support ANSI colors in --prompt string
Close #2086
4 years ago
Junegunn Choi d1676776aa
Update CHANGELOG 4 years ago
Junegunn Choi 334a4fa159
0.21.1 4 years ago
Junegunn Choi b0673c3563
0.21.0 4 years ago
Junegunn Choi 373c6d8d55
Add --keep-right option to keep the right end of the line visible
Close #1652
4 years ago
Junegunn Choi 50b7608f9d
Change custom fuzzy completion API
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
  )
4 years ago
Michael Kelley 7d5985baf9
Make height option work under Windows (#1341)
Separate Unix & Windows code into platform specific files for light renderer
4 years ago
Junegunn Choi d9c6a0305b
Draft CHANGELOG for the upcoming release 4 years ago
Junegunn Choi 30577b0c17
0.20.0 4 years ago
Junegunn Choi 9fefe08b3f
Revert README as preview-{fg,bg} are only available on master 4 years ago
Junegunn Choi 684bfff713
Update README/CHANGELOG 4 years ago
Junegunn Choi 3db6b88d82
Add preview-fg and preview-bg for --color
Close #1776
4 years ago
Junegunn Choi af1a5f130b
Add clear-query and clear-selection
Close #1787
Related #1364
5 years ago
Junegunn Choi 86e3994e87 Properly clear list when --header-lines not filled on reload 5 years ago
Junegunn Choi 394d8cfd18
Remove immediate flickering on reload action 5 years ago
Junegunn Choi effbc258bb Update CHANGELOG 5 years ago
Junegunn Choi 7238c8944d
Update CHANGELOG 5 years ago
Junegunn Choi e24299239e
Add `--preview-window noborder` option to disable preview border
Close #1699
5 years ago
Junegunn Choi d2fa470165
Add --info=STYLE [default|inline|hidden]
Close #1738
5 years ago
Junegunn Choi 168453da71
More key chords for --bind
Close #1752
5 years ago
Junegunn Choi 23a06d63ac
Update CHANGELOG and man pages 5 years ago
Junegunn Choi ff951341c9
0.18.0 5 years ago
Junegunn Choi b46227dcb6
0.17.5 6 years ago
Junegunn Choi f0fe79dd3b
0.17.4 6 years ago
Junegunn Choi 390b49653b
0.17.3 7 years ago
Junegunn Choi 04aa2992e7
Revert "0.17.2"
This reverts commit 2f1edeff78.
7 years ago
Junegunn Choi 2f1edeff78
0.17.2 7 years ago
Junegunn Choi 0b33dc6ce1
0.17.1 7 years ago
Junegunn Choi 58b5be8ab6
0.17.0-2 7 years ago
Junegunn Choi e89eebb7ba
0.17.0 7 years ago
Junegunn Choi ecb6b234cc
0.16.11 7 years ago
Junegunn Choi 6dbc108da2
0.16.10 7 years ago
Junegunn Choi 18a1aeaa91
0.16.9 7 years ago
Uri Gorelik a4d78e2200 Update CHANGELOG with unix-line-discard+top (#940)
Also change the example binding for `unix-word-rubout` to *ctrl-w* instead of *ctrl-u*
7 years ago
Junegunn Choi b49f22cdf9
0.16.8 7 years ago
Junegunn Choi 2d61691bb2
0.16.7 7 years ago
Junegunn Choi e03e91477b
0.16.6 7 years ago
Junegunn Choi e87a85a179
0.16.5 7 years ago
Junegunn Choi c82fb3c9b9
Add toggle-preview-wrap action 7 years ago
Junegunn Choi 4b700192c1
Add --border option to draw horizontal lines above and below the finder
Goes well with --height
7 years ago
Junegunn Choi 36dceecd58
Add support for ctrl-space key
Close #825
7 years ago
Junegunn Choi 421b9b271a
Add execute-silent action
Close #823
7 years ago
Junegunn Choi ed57dcb924
Extend placeholder expression for multiple selections
Close #788
7 years ago
Junegunn Choi f2ce233a6d
0.16.2 7 years ago
Junegunn Choi 6a75e30941
Allow invisible preview window (--preview-window 0)
Close #820
7 years ago
Junegunn Choi ff248d566d
Drop ncurses dependency
Close #818
7 years ago
Junegunn Choi 131aa5dd15
Composable actions in --bind
Close #816
7 years ago
Junegunn Choi 62ab8ece5e
0.16.1 7 years ago
Junegunn Choi 4bece04207
0.16.0 7 years ago
Junegunn Choi e0036b5ad2
Add --filepath-word option
Close #802
7 years ago
Junegunn Choi 4ecb7f3a16
Replace --normalize with --literal and enable normalization by default
Ref #790
7 years ago
Junegunn Choi 45793d75c2
Add --normalize option to normalize latin script characters
Close #790
7 years ago
Junegunn Choi 1448d631a7
Add --height option 7 years ago
Junegunn Choi 67026718c1
Add BUILD.md 8 years ago
Junegunn Choi a71c471405
0.15.9 8 years ago
Junegunn Choi 6a65006f55
0.15.8 8 years ago
Junegunn Choi a2beb159f1
0.15.7 8 years ago
Junegunn Choi a221c672fb
0.15.6 8 years ago
Junegunn Choi 9f30ca2923
0.15.5 8 years ago
Junegunn Choi 3222d62ddf
0.15.4 8 years ago
Junegunn Choi 957c12e7d7
Fix SEGV when trying to render preview but the window is closed
Close #677
8 years ago
Junegunn Choi 1bc223d4b3
0.15.2 8 years ago
Junegunn Choi 7fa5e6c861
0.15.1 8 years ago
Junegunn Choi 37f43fbb35
Add --print0 option
Related: #660
8 years ago
Junegunn Choi 2fc7c18747
Revise ranking algorithm 8 years ago
Junegunn Choi b86838c2b0
0.13.5 8 years ago
Junegunn Choi c4c92142a6
0.13.4 8 years ago
Junegunn Choi fccc93176b
0.13.3 8 years ago
Junegunn Choi 5759d50d4a
0.13.2 8 years ago
Junegunn Choi 8a90f26c8a
0.13.1 8 years ago
Junegunn Choi 3e1d6a7bcf
0.13.0 8 years ago
Junegunn Choi 56fb2f00b3
Use single-quoted strings in execute action
Close #590
8 years ago
Junegunn Choi 2f364c62f4
0.12.2 8 years ago
Junegunn Choi 35a9aff8e1 0.12.1 8 years ago
Junegunn Choi 879ead210f 0.11.2 8 years ago
Junegunn Choi b47ab633e2 0.11.4 8 years ago
Junegunn Choi 40d934e378 0.11.3 8 years ago
Junegunn Choi 68c84264af Update CHANGELOG 8 years ago
Junegunn Choi 69438a55ca Update CHANGELOG: 0.11.2 8 years ago
Junegunn Choi 95970164ad 0.11.2 8 years ago
Junegunn Choi 45143f9541 Ignore leading whitespaces when calculating 'begin' index 8 years ago
Junegunn Choi 1d2d32c847 Accept comma-separated list of sort criteria 8 years ago
Junegunn Choi 99ea1056ac Add --tabstop option
Related: https://github.com/junegunn/fzf.vim/issues/49
9 years ago
Junegunn Choi df468fc482 0.11.0 9 years ago
Junegunn Choi 6bddffbca4 Setup signal handlers before ncurses initialization
This prevents fzf from missing SIGWINCH during startup which
occasionally happens with fzf-tmux
9 years ago
Junegunn Choi 81a88693c1 Make --extended default
Close #400
9 years ago
Junegunn Choi b3010a4624 0.10.8 9 years ago
Junegunn Choi 1da065e50e 0.10.7 9 years ago
Junegunn Choi d980e00961 Revert "Revert "0.10.6""
This reverts commit 987799f8fb.
9 years ago
Junegunn Choi 987799f8fb Revert "0.10.6"
This reverts commit d2f3604c1d.
9 years ago
Junegunn Choi d2f3604c1d 0.10.6 9 years ago
Junegunn Choi 2022a3ad96 Replace --header-file with --header (#346)
and allow using --header and --header-lines at the same time.

Close #346.
9 years ago
Junegunn Choi de829c0938 0.10.5 9 years ago
Junegunn Choi 9a2d9ad947 0.10.4 9 years ago
Junegunn Choi d0f2c00f9f Fix --with-nth performance; use simpler regular expression
Related #317
9 years ago
Junegunn Choi 766427de0c Fix --with-nth performance; avoid regex if possible
Close #317
9 years ago
Junegunn Choi e83ae34a3b Update CHANGELOG - 0.10.2 9 years ago
Junegunn Choi ee0c8a2635 Add --margin option
Close #299
9 years ago
Junegunn Choi fdbf3d3fec Replace eof action with cancel (#289) 9 years ago
Junegunn Choi 13e040baee Bind CTRL-D to the new delete-char/eof action
- CTRL-D - delete-char/eof
- DEL - delete-char
9 years ago
Junegunn Choi cc0d5539ba Add "eof" action which closes the finder only when input is empty
Close #289
9 years ago
Junegunn Choi bbaa3ab8bd Update CHANGELOG 9 years ago
Junegunn Choi a336494f5d 0.10.0 9 years ago
Junegunn Choi 52771a6226 0.9.13 9 years ago
Junegunn Choi 446e822723 Update CHANGELOG 9 years ago
Junegunn Choi 34946b72a5 0.9.12 9 years ago
Junegunn Choi a4cf5510e3 0.9.11 9 years ago
Junegunn Choi f66d94c6b0 Add `--color=[dark|light|16|bw]` option
- dark:  the current default for 256-color terminal
- light: color scheme for 256-color terminal with light background
- 16:    the default color scheme for 16-color terminal (`+2`)
- bw:    no colors (`+c`)
9 years ago
Junegunn Choi 2fe1e28220 Improvements in performance and memory usage
I profiled fzf and it turned out that it was spending significant amount
of time repeatedly converting character arrays into Unicode codepoints.
This commit greatly improves search performance after the initial scan
by memoizing the converted results.

This commit also addresses the problem of unbounded memory usage of fzf.
fzf is a short-lived process that usually processes small input, so it
was implemented to cache the intermediate results very aggressively with
no notion of cache expiration/eviction. I still think a proper
implementation of caching scheme is definitely an overkill. Instead this
commit introduces limits to the maximum size (or minimum selectivity) of
the intermediate results that can be cached.
9 years ago
Junegunn Choi d1d59272a2 Add visual indication of --toggle-sort
Close #194
9 years ago
Junegunn Choi d08542ce5d Prepare for 0.9.9 release 9 years ago
Junegunn Choi 2d68cb8639 Fix #185 - Terminate on RuneError 9 years ago
Junegunn Choi 5c25984ea0 Fix Unicode case handling (#186) 9 years ago
Junegunn Choi 50292adacb Implement --toggle-sort option (#173) 9 years ago
Junegunn Choi 2a167aa030 Implement --expect option to support simple key bindings (#163) 9 years ago
Junegunn Choi 9ffcd26d50 Update CHANGELOG - 0.9.5 9 years ago
Junegunn Choi b15a0e9650 Update CHANGELOG 9 years ago
Junegunn Choi c1aa5c5f33 Add --tac option and reverse display order of --no-sort
DISCLAIMER: This is a backward incompatible change
9 years ago