Commit Graph

113 Commits

Author SHA1 Message Date
Junegunn Choi 7fa5e6c861 0.15.1 2016-09-21 01:28:24 +09:00
Junegunn Choi 1854922f0c Truncate the query string if it's too long
Use hard-coded limit to keep it simple. An alternative is to dynamically
calculate the width of the visible area and use it as the limit, but it
can cause unwanted truncation of the query on screen resize/split.
2016-09-18 14:34:48 +09:00
Junegunn Choi 2fc7c18747 Revise ranking algorithm 2016-09-18 14:34:46 +09:00
Junegunn Choi b86838c2b0 0.13.5 2016-08-21 05:02:45 +09:00
Junegunn Choi 3a9532c8fd Increase read buffer size to 64KB 2016-08-16 02:06:15 +09:00
Junegunn Choi c4c92142a6 0.13.4 2016-08-14 18:10:21 +09:00
Junegunn Choi fccc93176b 0.13.3 2016-07-16 01:06:53 +09:00
Junegunn Choi 5759d50d4a 0.13.2 2016-06-16 02:16:13 +09:00
Junegunn Choi 8a90f26c8a 0.13.1 2016-06-14 21:53:00 +09:00
Junegunn Choi 3e1d6a7bcf 0.13.0 2016-06-12 02:15:11 +09:00
Junegunn Choi 2f364c62f4 0.12.2 2016-05-19 01:55:54 +09:00
Junegunn Choi 7ed9f83662 Validate jump label characters
Also extend default jump labels
2016-05-19 01:46:22 +09:00
Junegunn Choi f498a9b3fb Revert version number 2016-05-18 22:47:57 +09:00
Junegunn Choi e53535cc61 Update default jump labels 2016-05-18 22:44:31 +09:00
Junegunn Choi 6d235bceee Add jump and jump-accept actions for --bind
jump and jump-accept implement EasyMotion-like movement in fzf.
Suggested by @mhrebenyuk. Close #569.
2016-05-18 02:10:03 +09:00
Junegunn Choi 35a9aff8e1 0.12.1 2016-04-25 01:23:52 +09:00
Junegunn Choi 879ead210f 0.11.2 2016-04-16 14:37:16 +09:00
Junegunn Choi b47ab633e2 0.11.4 2016-03-03 01:57:28 +09:00
Junegunn Choi 40d934e378 0.11.3 2016-02-07 11:00:10 +09:00
Junegunn Choi 8695b5e319 Reduce the initial delay when --tac is not given
fzf defers the initial rendering of the screen up to 100ms if the input
stream is ongoing to prevent unnecessary redraw during the initial
phase. However, 100ms delay is quite noticeable and might give the
impression that fzf is not snappy enough. This commit reduces the
maximum delay down to 20ms when --tac is not specified, in which case
the input list quickly fills the entire screen.
2016-01-16 18:07:50 +09:00
Junegunn Choi 95970164ad 0.11.2 2016-01-14 02:54:08 +09:00
Junegunn Choi 248320fa55 0.11.1 2015-12-01 00:39:45 +09:00
Junegunn Choi df468fc482 0.11.0 2015-11-10 01:54:53 +09:00
Junegunn Choi 64afff6b9a 0.10.9 2015-11-03 23:03:49 +09:00
Junegunn Choi b3010a4624 0.10.8 2015-10-09 12:42:07 +09:00
Junegunn Choi 1da065e50e 0.10.7 2015-10-05 23:28:24 +09:00
Junegunn Choi d980e00961 Revert "Revert "0.10.6""
This reverts commit 987799f8fb.
2015-09-19 22:51:12 +09:00
Junegunn Choi 987799f8fb Revert "0.10.6"
This reverts commit d2f3604c1d.
2015-09-19 22:27:09 +09:00
Junegunn Choi d2f3604c1d 0.10.6 2015-09-19 22:18:04 +09:00
Junegunn Choi ca19762e58 Exit status 130 when fzf is terminated by the user
Related: #345
2015-09-18 10:25:07 +09:00
Junegunn Choi 65d9d416b4 Change exit status (0: OK, 1: No match, 2: Error/Interrupted)
A la grep. Close #345
2015-09-15 13:21:51 +09:00
Junegunn Choi de829c0938 0.10.5 2015-09-12 12:50:32 +09:00
Junegunn Choi 9a2d9ad947 0.10.4 2015-08-29 02:36:27 +09:00
Junegunn Choi 8156e9894e 0.10.3 2015-08-12 02:09:46 +09:00
Junegunn Choi c4cf90a3d2 0.10.2 2015-08-03 00:21:21 +09:00
Junegunn Choi 634670e3ea Lint 2015-08-02 13:11:59 +09:00
Junegunn Choi 5e90f0a57b Fix default command so that it doesn't fail on dash-prefixed files
Close #310
2015-08-01 21:51:10 +09:00
Junegunn Choi 909ea1a698 0.10.1 2015-07-27 00:09:07 +09:00
Junegunn Choi 7814371a9a Revert "0.10.1"
This reverts commit 6166e2dd80.
2015-07-27 00:03:14 +09:00
Junegunn Choi 6166e2dd80 0.10.1 2015-07-26 23:57:26 +09:00
Junegunn Choi f469c25730 Add --header-lines option 2015-07-22 03:21:20 +09:00
Junegunn Choi a336494f5d 0.10.0 2015-06-21 17:40:36 +09:00
Junegunn Choi 3b52811796 Add support for search history
- Add `--history` option (e.g. fzf --history ~/.fzf.history)
- Add `--history-max` option for limiting the size of the file (default 1000)
- Add `previous-history` and `next-history` actions for `--bind`
    - CTRL-P and CTRL-N are automatically remapped to these actions when
      `--history` is used

Closes #249, #251
2015-06-14 00:48:48 +09:00
Junegunn Choi 52771a6226 0.9.13 2015-06-03 02:09:07 +09:00
Junegunn Choi 34946b72a5 0.9.12 2015-05-21 00:44:49 +09:00
Junegunn Choi a4cf5510e3 0.9.11 2015-04-22 01:42:38 +09:00
Junegunn Choi 1169cc8653 0.9.10 2015-04-18 10:43:40 +09:00
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.
2015-04-17 22:23:52 +09:00
Junegunn Choi d08542ce5d Prepare for 0.9.9 release 2015-04-16 14:34:40 +09:00
Junegunn Choi 5c25984ea0 Fix Unicode case handling (#186) 2015-04-14 21:45:37 +09:00