Commit Graph

121 Commits (master)

Author SHA1 Message Date
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
9 years ago
Junegunn Choi 52771a6226 0.9.13 9 years ago
Junegunn Choi 34946b72a5 0.9.12 9 years ago
Junegunn Choi a4cf5510e3 0.9.11 9 years ago
Junegunn Choi 1169cc8653 0.9.10 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 d08542ce5d Prepare for 0.9.9 release 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 f9d6b83f5e Drop patch number and stick with M.m.p convention 9 years ago
Junegunn Choi ce7d4a1c53 Fix #162 - Ignore \e[K 9 years ago
Junegunn Choi 6130026786 Bump up the version - 0.9.5 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
Junegunn Choi 6c2ce28d0d Add `--sync` option 9 years ago
Junegunn Choi 9cb0cdb4ac 0.9.2 10 years ago
Junegunn Choi 8bead4ae34 Improved handling of tab characters 10 years ago
Junegunn Choi 30f9651f99 0.9.1 10 years ago
Junegunn Choi 62acb9adc4 Fix error with empty list and release 0.9.1-dev 10 years ago
Junegunn Choi cd847affb7 Reorganize source code 10 years ago
Junegunn Choi 7a2bc2cada Lint 10 years ago
Junegunn Choi f3177305d5 Rewrite fzf in Go 10 years ago