Commit Graph

120 Commits (master)

Author SHA1 Message Date
Junegunn Choi e8405f40fe
Refactor the code so that fzf can be used as a library (#3769) 2 weeks ago
Junegunn Choi 41b3511ad9
Improve ingestion performance (by around 20%) 2 months ago
Junegunn Choi 208e556332
Replace "default find command" with built-in directory traversal 3 months ago
Junegunn Choi 76364ea767 Remove unnecessary escaping in the default command 8 months ago
Junegunn Choi e2e8d94b14
Kill input command on terminate
Fix #2381
Close #2382
3 years ago
Junegunn Choi 552414978e
0.24.0-rc1 4 years ago
Junegunn Choi 607081bbaa
[vim] Download latest binary to meet version requirement 4 years ago
Junegunn Choi faf68dbc5c
Implement streaming preview window (#2215)
Fix #2212

    # Will start rendering after 200ms, update every 100ms
    fzf --preview 'for i in $(seq 100); do echo $i; sleep 0.01; done'

    # Should print "Loading .." message after 500ms
    fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'

    # The first line should appear after 200ms
    fzf --preview 'date; sleep 2; date'

    # Should not render before enough lines for the scroll offset are ready
    rg --line-number --no-heading --color=always ^ |
      fzf --delimiter : --ansi --preview-window '+{2}-/2' \
          --preview 'sleep 1; bat --style=numbers --color=always --pager=never --highlight-line={2} {1}'
4 years ago
Junegunn Choi fc7630a66d
0.23.1 4 years ago
Junegunn Choi dba14d2630
0.23.0 4 years ago
Junegunn Choi e2ae1b249c
0.22.0 4 years ago
Junegunn Choi 334a4fa159
0.21.1 4 years ago
Junegunn Choi b0673c3563
0.21.0 4 years ago
mattn 311b78ae82
[windows] Use native walker since output of DOS command is not UTF-8 encoded (#1847)
Makes scanning 300x faster on Windows
4 years ago
Junegunn Choi 6e3af646b2
Draw spinner with Unicode characters 4 years ago
Junegunn Choi 30577b0c17
0.20.0 4 years ago
Junegunn Choi 9a41fd5327
0.19.0 5 years ago
Junegunn Choi 072066c49c
--multi to take optional argument to limit the number of selection
Close #1718
Related #688
5 years ago
Junegunn Choi ff951341c9
0.18.0 5 years ago
Junegunn Choi b46227dcb6
0.17.5 6 years ago
Junegunn Choi 0d748a0699
Kill running preview process after 500ms when focus has changed
Close #1383
Close #1384
6 years ago
Junegunn Choi 0edbcbdf19
Allow search query longer than the screen width
By implementing horizontal scrolling of the prompt line.
Maximum length is hard-coded to 300-chars.

Close #1312
Fix #1225
6 years ago
Junegunn Choi f0fe79dd3b
0.17.4 6 years ago
Jan Edmund Lazo 7f0caf0683 Update Windows default command to print relative paths (#1200) 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 85a75ee035
Revert default command: find with -fstype required
In #1061 we changed the default command to retry with a simpler find
command with fewer arguments if the first find command failed. This was
to support stripped-down verions of find that do not support -fstype
argument.

However, this caused an unwanted side-effect of yielding duplicate
entries when the first command failed after producing some lines.

We revert the change in this commit, so the default command will not
work with find without -fstype support. But we now print better error
message in that case so that the user can set up a working
$FZF_DEFAULT_COMMAND.

Close #1120 #1167
7 years ago
Junegunn Choi 0b33dc6ce1
0.17.1 7 years ago
Junegunn Choi ee40212e97
Update FZF_DEFAULT_COMMAND
- Use bash for `set -o pipefail`
- Fall back to simpler find command when the original command failed

Related: #1061
7 years ago
Junegunn Choi e89eebb7ba
0.17.0 7 years ago
Junegunn Choi 487c8fe88f
Make Reader event notification asynchronous
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.
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
Junegunn Choi b49f22cdf9
0.16.8 7 years ago
Junegunn Choi bf0cb4bfe2
Use find as the default command on Cygwin environment 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 309e1d8619
Properly truncate long query string 7 years ago
Junegunn Choi ee5aeb80a4
0.16.4 7 years ago
Junegunn Choi d85a69a709
0.16.3 7 years ago
Junegunn Choi f2ce233a6d
0.16.2 7 years ago
Junegunn Choi ff248d566d
Drop ncurses dependency
Close #818
7 years ago
Junegunn Choi 62ab8ece5e
0.16.1 7 years ago
Junegunn Choi 4bece04207
0.16.0 7 years ago
Junegunn Choi a30999a785
Prepare for 0.16.0 release 7 years ago
Junegunn Choi a71c471405
0.15.9 8 years ago
Junegunn Choi 6a65006f55
0.15.8 8 years ago