Commit Graph

154 Commits (c6328affaede9ff2ba903bc85d69ea6290df2a77)

Author SHA1 Message Date
Junegunn Choi 8270f7f0ca Rename --null to --read0 and undocument the option
`--null` is ambiguous. For completeness' sake, we need both `--read0`
and `--print0`.

`--read0` only makes sense when the input contains multiline entries.
However, fzf currently cannot correctly display multiline entries,
I'm going to make `--read0` an undocumented feature.
9 years ago
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 34946b72a5 0.9.12 9 years ago
Junegunn Choi a4cf5510e3 0.9.11 10 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`)
10 years ago
Junegunn Choi b8904a8c3e Add --tiebreak option for customizing sort criteria
Close #191
10 years ago
Junegunn Choi 50292adacb Implement --toggle-sort option (#173) 10 years ago
Junegunn Choi 39d7177bd3 [ruby] Stub out --expect option
So that it can be used with the recent Vim plugin although extra key
bindings are not available
10 years ago
Junegunn Choi 3935aa84d8 Refactor shell extensions
- Use symlinks instead of generating the full content
- Update fish_user_paths and remove ~/.config/fish/functions/fzf.fish
- Create wrapper script for fzf when Ruby version and use it instead of
  exported function not to break fzf-tmux
10 years ago
Junegunn Choi 48e0c1e721 Ignore new options in legacy Ruby version 10 years ago
Junegunn Choi 5f3326a888 Deprecation alert 10 years ago
Jack Danger Canty d761ea5158 Sleep when curses is unavailable
When the curses gem is not installed and the session is running inside
tmux the user will see a flash of an opened and closed tmux pane but
will not have a chance to read the error message.
10 years ago
Junegunn Choi ec040d82dd Improve word motions: ALT-B, ALT-F, ALT-D, ALT-BS (#112) 10 years ago
Junegunn Choi 00190677d4 Add support for ALT-D and ALT-BS key bindings
https://github.com/junegunn/fzf/issues/111#issuecomment-67832143
10 years ago
Junegunn Choi da03a66e69 Add test cases for --with-nth option 10 years ago
Junegunn Choi 3c47b7fa5f Fix --with-nth option on --multi 10 years ago
Junegunn Choi ba9365c438 Fix --with-nth option on Ruby 1.8 10 years ago
Junegunn Choi 76a3ef8c37 Add --with-nth option (#102) 10 years ago
Junegunn Choi d1387bf512 Use IO.console when possible 10 years ago
Junegunn Choi 6ee811ea03 Update version 10 years ago
Junegunn Choi 2924fd3e23 Add regression test case for #91 10 years ago
Junegunn Choi 75b44aac13 Ignore UTF-8 Error (#91) 10 years ago
Junegunn Choi 86c73105ee Improve performance of `--nth` option (#90 contd.) 10 years ago
Junegunn Choi 2d00abc7cb Improve performance of `--nth` option (#90) 10 years ago
Junegunn Choi a54784cd53 Display 'gem install curses' when curses cannot be loaded 10 years ago
Junegunn Choi 22989b0488 Update version number 10 years ago
Jacob Niehus b9ab7d2413 Add control + left/right key mappings 10 years ago
Junegunn Choi 4d72bd098a Add --print-query option (#70) 10 years ago
Junegunn Choi 502973ff75 Add --prompt option (#70) 10 years ago
Junegunn Choi b0f80b686c chmod +x fzf 10 years ago
Junegunn Choi ccca34f9f7 Minor refactoring 10 years ago
Junegunn Choi b5350b24ff Avoid unnecessary redraw 10 years ago
Junegunn Choi 56ace10a37 Fix mouse-click on --reverse mode 10 years ago
Junegunn Choi 72ec0a3408 Add test cases for result scroll 10 years ago
Junegunn Choi 05118cc440 Minor corrections
- Suppress warning message on Ruby 1.8.5
- Remove unnecessary code
10 years ago
Junegunn Choi e392da20e8 Make scrollable (#68) 10 years ago
Junegunn Choi 61ba8d5a11 Add a small delay when search is interrupted
Search is interrupted when the query string has changed. This frequently
happens when the user is actively typing in a query. This (rather
arbitrary) delay is introduced not to start the next search immediately,
which is likely to be interrupted as well. The result of it is that fzf
feels more responsive.
10 years ago
Junegunn Choi f58a53a001 Fix mouse click on --reverse mode 10 years ago
Junegunn Choi f8e357fa19 Extend --nth option to take ranges
As discussed in #55
10 years ago
Junegunn Choi c3a4e4cd23 Implement CTRL-D 10 years ago
Junegunn Choi d7c734acd6 Ignore regex error inside trim call (#51) 10 years ago
Junegunn Choi edcd7c6aa6 Remove UTF-8 NFD conversion
We have iconv.
10 years ago
Junegunn Choi a2c7b001d5 Update version/date 11 years ago
Junegunn Choi 3c6e938bb1 Fix arrow keys on zsh widget
Fixes the problem reported by @elemakil. For some reason unknown,
sometimes the escape sequences of arrow keys are prefixed by 27-79
instead of the ordinary 27-91.
11 years ago
Junegunn Choi f6b1a6278f Add --reverse option (top-to-bottom layout) 11 years ago
Junegunn Choi fa212efe5f Fix ranking when multiple regions overlap
e.g.
  Match region #1: [-----------]
  Match region #2:       [---]
  Match region #3:         [------]
11 years ago
Junegunn Choi 02c01c81a0 Improve -0 and -1 as suggested in #36
- Make -0 and -1 work without -q
- Change exit status to 0 when exiting with -0
11 years ago
Junegunn Choi 22d3929ae3 Implement --select-1 and --exit-0 (#27, #36) 11 years ago
Junegunn Choi ab9fbf1967 Allow --nth option to take multiple indexes (comma-separated) 11 years ago
Junegunn Choi ec4b8a59fa Implement --nth and --delimiter option 11 years ago