Commit Graph

120 Commits (c6328affaede9ff2ba903bc85d69ea6290df2a77)

Author SHA1 Message Date
Junegunn Choi 81a88693c1 Make --extended default
Close #400
9 years ago
Junegunn Choi 92a75c9563 Use trimmed length when --nth is used with --tiebreak=length
This change improves sort ordering for aligned tabular input.
Given the following input:

    apple   juice   100
    apple   pie     200

fzf --nth=2 will now prefer the one with pie. Before this change fzf
compared "juice   " and "pie     ", both of which have the same length.
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 65d9d416b4 Change exit status (0: OK, 1: No match, 2: Error/Interrupted)
A la grep. Close #345
9 years ago
Junegunn Choi 64443221aa Fix #344 - Backward scan when `--tiebreak=end` 9 years ago
Junegunn Choi 90b0cd44ac Should not strip ANSI codes when --ansi is not set 9 years ago
Junegunn Choi 80ed02e72e Add failing test case for #329 9 years ago
Junegunn Choi dea60b11bc Only consider the lengths of the relevant parts when --nth is set 9 years ago
Junegunn Choi 02bd2d2adf Do not proceed if $TERM is invalid
Related #305
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 cc0d5539ba Add "eof" action which closes the finder only when input is empty
Close #289
9 years ago
Junegunn Choi 4e0e03403e Fix --header-lines unaffected by --with-nth 9 years ago
Junegunn Choi 928fccc15b Fix header not shown when the lines go beyond the screen limit 9 years ago
Junegunn Choi f71ea5f3ea Add test cases for header and fix corner cases 9 years ago
Junegunn Choi b0f491d3c3 Fix travis CI build
- Fix test failures on new fish 2.2.0
- Make timeout-based test cases more robust
9 years ago
Junegunn Choi 938151a834 [shell] Add FZF_CTRL_T_COMMAND for CTRL-T
Close #40
9 years ago
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 3492c8b780 Rename --history-max to --history-size
Considering HISTSIZE and HISTFILESIZE of bash
9 years ago
Junegunn Choi b504c6eb39 Avoid intermittent test failures
by making sure that we're back on shell command-line
9 years ago
Junegunn Choi fe4e452d68 Add --cycle option for cyclic scrolling
Close #266
9 years ago
Junegunn Choi 8677dbded1 Change alternative notation for execute action (#265)
e.g. fzf --bind "ctrl-m:execute:COMMAND..." --bind ctrl-j:accept
9 years ago
Junegunn Choi e287bd7f04 Fix Travis CI build 9 years ago
Junegunn Choi 6c99cc1700 Add bind action for executing arbitrary command (#265)
e.g. fzf --bind "ctrl-m:execute(less {})"
     fzf --bind "ctrl-t:execute[tmux new-window -d 'vim {}']"
9 years ago
Junegunn Choi 77048f3e3b Fix Travis CI build 9 years ago
Junegunn Choi 8b618f7439 Test refactoring 9 years ago
Junegunn Choi 8973207bb4 Fix Travis CI build 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 eaa3c67a5e Add actions for --bind: select-all / deselect-all / toggle-all
Close #257
9 years ago
Junegunn Choi 45a3655eaf Add test case for --null option 9 years ago
Junegunn Choi b00bcf506e Fix #248 - Premature termination of Reader on long input 9 years ago
Junegunn Choi 8f99f8fcc6 More test cases for --bind 9 years ago
Junegunn Choi 1592bedbe8 Custom key binding support (#238) 9 years ago
Junegunn Choi c511b45ff6 Minor tweak in test case
It may take long for find command to spot the temporary file created on
the home directory
9 years ago
Junegunn Choi 26d2af5ee8 [zsh-completion] Respect backslash-escaped spaces (#230) 10 years ago
Junegunn Choi 732f133940 [test] Make sure to kill background process 10 years ago
Junegunn Choi 5dc4df9570 Fix test cases 10 years ago
Junegunn Choi 683abb86ef Dump screen content on test failure 10 years ago
Junegunn Choi 207aa07891 [zsh-completion] Temporarily set nonomatch (#230)
No error on ~INVALID_USERNAME**<TAB>
10 years ago
Junegunn Choi 26a141c6a6 [zsh-completion] Fix `~USERNAME**` (#230) 10 years ago
Junegunn Choi dc64568c83 [zsh-completion] Completion for unknown commands 10 years ago
Junegunn Choi f4a595eedd Fix Travis CI build 10 years ago
Junegunn Choi 2b8e445321 Fuzzy completion for zsh (#227) 10 years ago
Junegunn Choi 4b7c571575 Fix race condition in test case 10 years ago
Junegunn Choi 5502b68a1d Test refactoring 10 years ago
Junegunn Choi 5794fd42df Fix test code 10 years ago
Junegunn Choi edb5ab5622 Update test cases for #203 10 years ago
Junegunn Choi e82eb27787 Smart-case for each term in extended-search mode
Close #208
10 years ago
Junegunn Choi 3f0e6a5806 Fix #209 - Invalid mutation of input on case conversion 10 years ago
Junegunn Choi cc67d2e1cf Test case for visual indicator of --toggle sort (#194) 10 years ago