Junegunn Choi
99f1e02766
Fix flaky test case
...
Make sure that the shell is ready before hitting CTRL-R
1) Error:
TestFish#test_ctrl_r_multiline:
RuntimeError: timeout
test/test_go.rb:50:in `wait'
test/test_go.rb:125:in `until'
test/test_go.rb:1857:in `test_ctrl_r_multiline'
2020-03-04 08:37:45 +09:00
Junegunn Choi
dd49e41c42
Ignore xterm OSC control sequences
...
- OSC Ps ; Pt BEL
- OSC Ps ; Pt ST
Fix #1415
2020-03-03 21:19:23 +09:00
Junegunn Choi
b2c0413a98
[bash] Fix --query argument of CTRL-R
...
Fix #1898
2020-02-29 12:01:55 +09:00
Jack Bates
e34c7c00b1
Test multi-line C-r ( #1892 )
2020-02-28 20:06:38 +09:00
Jack Bates
7c447bbdc7
[bash] Start C-r search with current command line ( #1886 )
...
Restore the original line when search is aborted. Add --query
"$READLINE_LINE" and fall back to the current behavior pre Bash 4.
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-02-28 18:47:13 +09:00
Junegunn Choi
7bf1f2cc84
Clean up test shell initialization
...
- Fix 'make docker-test'
- Set fish_history to an empty string since 'fish --private' is not
available prior to fish 3.0
2020-02-28 18:21:37 +09:00
Junegunn Choi
2ff7db1b36
Use a more robust way to check if the shell is ready
2020-02-28 14:46:08 +09:00
James Wright
9f0626da64
Add backward-delete-char/eof action ( #1891 )
...
'backward-delete-char/eof' will either abort if query is
empty or delete one character backwards.
2020-02-28 02:38:32 +09:00
Jack Bates
9c293bb82b
[bash] Put C-t items at point in vi mode ( #1876 )
...
Be consistent with emacs mode and put the items at the point vs. the end
of the command line.
2020-02-21 09:51:34 +09:00
Hiroki Konishi
2a60edcd52
Make pointer and multi-select marker customizable ( #1844 )
...
Add --pointer and --marker option which can provide additional context to the user
2020-02-17 10:19:03 +09:00
Junegunn Choi
af1a5f130b
Add clear-query and clear-selection
...
Close #1787
Related #1364
2019-12-07 14:44:24 +09:00
Junegunn Choi
86e3994e87
Properly clear list when --header-lines not filled on reload
2019-12-06 22:34:45 +09:00
Junegunn Choi
1e6ac5590e
'reload' action should be allowed even where there's no match
...
If the command template doesn't have any placeholder expressions.
: | fzf --bind 'space:reload:seq 10'
2019-12-06 22:34:30 +09:00
Junegunn Choi
d2fa470165
Add --info=STYLE [default|inline|hidden]
...
Close #1738
2019-11-15 00:39:29 +09:00
Junegunn Choi
05b5f3f845
'reload' action should reset multi-selection
2019-11-12 00:57:19 +09:00
Junegunn Choi
7e1c0f39e7
'reload' action should reset --header-lines
2019-11-12 00:10:24 +09:00
Junegunn Choi
e975bd0c8d
Add test cases for --phony and reload action
2019-11-10 13:13:45 +09:00
Junegunn Choi
525040238e
Fix behavior of 'deselect-all' to only deselect matches
...
To make it consistent with select-all and toggle-all.
Close #1364
2019-11-02 19:41:59 +09:00
Junegunn Choi
11645e1fac
Fix flaky test case
2019-11-02 14:55:13 +09:00
Junegunn Choi
072066c49c
--multi to take optional argument to limit the number of selection
...
Close #1718
Related #688
2019-11-02 14:25:12 +09:00
Junegunn Choi
a2e9366c84
Fix flaky test case
2019-11-02 13:15:01 +09:00
Simon Fraser
391669a451
Add 'f' flag for placeholder expression ( #1733 )
...
If present the contents of the selection will be placed in a temporary file,
and the filename will be placed into the string instead.
2019-10-27 23:50:12 +09:00
Junegunn Choi
8dc1377efb
Export FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS to preview process
...
fzf will still override LINES and COLUMNS as before but they may not
hold the correct values depending on the default shell.
Close #1314
2019-02-22 14:36:30 +09:00
Junegunn Choi
6c32148f90
Add placeholder expression for zero-based item index: {n} and {+n}
...
Close #1482
2019-02-19 01:12:57 +09:00
Junegunn Choi
5d16b28869
Fix tab width after ANSI reset code in preview window
...
Close #1423
2018-12-22 11:52:18 +09:00
Junegunn Choi
5624a89231
Inverse-only matches should not reorder the remaining results
...
Fix #1458
2018-12-19 23:05:29 +09:00
Junegunn Choi
61feee690c
Render preview window when the initial query fails to match
...
Only if preview template contains {q}
Fix #1452
Related #1307
2018-12-05 18:45:55 +09:00
Akinori MUSHA
daa1958f86
Provide an option to reverse items only ( #1267 )
2018-06-10 01:41:50 +09:00
Junegunn Choi
2c26f02f5c
Improve preview window update events
...
- Update preview window even if there is no match for the query string
if any of the placeholder expressions evaluates to a non-empty string.
- Also, if the command template contains {q}, preview window will be
updated if the query string changes even though the focus remains on
the same item.
An example:
git log --oneline --color=always |
fzf --reverse --ansi --preview \
'[ -n {1} ] && git show --color=always {1} || git show --color=always {q}'
Close #1307
2018-06-10 01:40:22 +09:00
Junegunn Choi
68ec3d1c10
Fix flaky test cases
2018-06-01 18:21:34 +09:00
Junegunn Choi
b877c385f0
Fix assertions in test_dynamic_completion_loader
2017-12-03 23:54:58 +09:00
Junegunn Choi
d6588fc835
[bash-completion] Fix custom completion with dynamic loader enabled
...
After _completion_loader is called, instead of loading the entire
completion.bash file, just restore the fzf completion for the current
command. `_fzf_orig_completion_$cmd` is only set if _completion_loader
actually changed the completion options to avoid infinite loop.
Close #1170
2017-12-03 23:32:41 +09:00
Junegunn Choi
5a7b41a2cf
Add accept-non-empty action
...
'accept-non-empty' is similar to 'accept' (which is bound to 'enter' and
'double-click' by default) but it prevents fzf from exiting without any
selection.
Close #1162
2017-12-02 02:28:36 +09:00
Junegunn Choi
c20954f020
Add replace-query action
...
replace-query action replaces the query string with the current
selection. If the selection is too long, it will be truncated.
If the line contains meta-characters of fzf search syntax, it is
possible that the line is no longer included in the updated result.
e.g.
echo '!hello' | fzf --bind ctrl-v:replace-query
Close #1137
2017-12-01 13:08:55 +09:00
Junegunn Choi
1e8e1d3c9d
Fix test case on older versions of Ruby
2017-12-01 13:03:02 +09:00
Junegunn Choi
f6b1962056
Inject $LINES and $COLUMNS when running preview command
...
Close #1168
2017-12-01 03:28:10 +09:00
Junegunn Choi
9615c4edf1
Fix test case for invalid FZF_DEFAULT_COMMAND
2017-12-01 02:22:36 +09:00
Junegunn Choi
6c76d8cd1c
Disallow escaping of meta characters except for spaces
...
https://github.com/junegunn/fzf/issues/444#issuecomment-321719604
2017-08-11 13:09:33 +09:00
Junegunn Choi
6b18b144cf
Fix escaping of meta characters after ' or ! prefix
...
https://github.com/junegunn/fzf/issues/444#issuecomment-321432803
2017-08-10 12:40:53 +09:00
Junegunn Choi
e85a8a68d0
Allow escaping meta characters with backslashes
...
One can escape meta characters in extended-search mode with backslashes.
Prefixes:
\'
\!
\^
Suffix:
\$
Term separator:
\<SPACE>
To keep things simple, we are not going to support escaping of escaped
sequences (e.g. \\') for matching them literally.
Since this is a breaking change, we will bump the minor version.
Close #444
2017-08-09 23:28:47 +09:00
Junegunn Choi
999d374f0c
Fix invalid cache lookups
2017-08-08 13:23:33 +09:00
Junegunn Choi
2b98fee136
Fix Travis CI build
...
tcell build is commented out as it doesn't reliably respond to tmux
send-keys.
2017-08-05 04:01:17 +09:00
Junegunn Choi
9d2c6a95f4
Revert "[bash] Do not append space when path completion is cancelled"
...
This reverts commit 376a76d1d3
as it
affects normal completion
2017-07-31 14:08:17 +09:00
Junegunn Choi
376a76d1d3
[bash] Do not append space when path completion is cancelled
...
Close #990
2017-07-30 21:51:44 +09:00
Junegunn Choi
a0a3c349c9
Update preview window when selection has changed
...
Close #995
2017-07-28 01:39:25 +09:00
Junegunn Choi
6b5886c034
Adjust --no-clear option for repetitive relaunching
...
Related: https://gist.github.com/junegunn/4963bab6ace453f7f529d2d0e01b1d85
Close #974
2017-07-18 21:10:49 +09:00
Junegunn Choi
07ef2b051c
Print [ERROR] on info line when the default command failed
...
With zero result.
Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805
2017-07-01 01:13:15 +09:00
Junegunn Choi
3fc795340d
Fix test failulre with non-zero pane-base-index
2017-07-01 01:05:47 +09:00
Junegunn Choi
2e3dc75425
Fix inconsistent tiebreak scores when --nth is used
...
Make sure to consistently calculate tiebreak scores based on the
original line.
This change may not be preferable if you filter aligned tabular input on
a subset of columns using --nth. However, if we calculate length
tiebreak only on the matched components instead of the entire line, the
result can be very confusing when multiple --nth components are
specified, so let's keep it simple and consistent.
Close #926
2017-06-02 13:25:35 +09:00
Junegunn Choi
96a3250152
Update test case for --cycle
2017-05-24 13:20:13 +09:00
Junegunn Choi
e1e3339770
Implement bindable "change" event and "top" action
...
# Move cursor to the top result whenever the query string is changed
fzf --bind change:top
Close #925
2017-05-22 17:07:05 +09:00
Junegunn Choi
88ac397158
Add test case for --no-clear
2017-03-04 14:26:47 +09:00
Junegunn Choi
c387689d1c
[shell] Enable sorting by default in CTRL-R
...
CTRL-R binding used to start with --no-sort to list the matched commands
in chronological order. However, it has been a constant source of
confusion. Let's enable it by default from now on. The sorted result
shouldn't be too confusing as we use --tiebreak=index.
2017-03-03 12:20:01 +09:00
Junegunn Choi
cb9238dc4e
Display -S if sort is disabled and toggle-sort is used
...
This is to address a common confusion that one does not realize that
sorting is intentionally turned off by default and can be enabled by
a bind key.
2017-03-03 02:26:30 +09:00
Junegunn Choi
e514739280
Fix failing test case
2017-02-04 22:49:17 +09:00
Junegunn Choi
fe83589ade
Add test case for --tiebreak=begin
2017-02-03 02:14:14 +09:00
Junegunn Choi
ed57dcb924
Extend placeholder expression for multiple selections
...
Close #788
2017-01-27 16:38:42 +09:00
Junegunn Choi
6a75e30941
Allow invisible preview window (--preview-window 0)
...
Close #820
2017-01-24 00:23:16 +09:00
Junegunn Choi
e5017c0431
Remove unnecesasry test case
2017-01-22 17:41:47 +09:00
Junegunn Choi
a06ccc928f
Fix flakies
2017-01-21 04:17:51 +09:00
Junegunn Choi
e0036b5ad2
Add --filepath-word option
...
Close #802
2017-01-15 19:42:28 +09:00
Junegunn Choi
48863ac55c
Update invalid $TERM test case
2017-01-14 01:04:17 +09:00
Junegunn Choi
d18b8e0d2c
Retry flaky test cases
2017-01-09 13:22:24 +09:00
Junegunn Choi
1448d631a7
Add --height option
2017-01-08 02:09:56 +09:00
Junegunn Choi
4accc69022
Fix flaky test cases
2016-11-08 02:19:05 +09:00
Junegunn Choi
898d8d94c8
Fix issues in tcell renderer and Windows build
...
- Fix display of CJK wide characters
- Fix horizontal offset of header lines
- Add support for keys with ALT modifier, shift-tab, page-up and down
- Fix util.ExecCommand to properly parse command-line arguments
- Fix redraw on resize
- Implement Pause/Resume for execute action
- Remove runtime check of GOOS
- Change exit status to 2 when tcell failed to start
- TBD: Travis CI build for tcell renderer
- Pending. tcell cannot reliably ingest keys from tmux send-keys
2016-11-08 02:06:34 +09:00
Junegunn Choi
400e443a0a
Make test cases less susceptible to timeout errors
2016-10-22 00:01:21 +09:00
Junegunn Choi
0541c0dbcf
Use relative position instead of absolute distance for --tiebreak=end
...
Fix unintuitive result where `*fzf*/install` is ranked higher than
`fzf/src/fzf/*fzf*-linux_386` on --tiebreak=end.
2016-10-18 01:13:57 +09:00
Junegunn Choi
401a5fd5ff
Printable character in --expect set should not affect --print-query
2016-09-18 14:34:50 +09:00
Junegunn Choi
2fc7c18747
Revise ranking algorithm
2016-09-18 14:34:46 +09:00
Junegunn Choi
822b86942c
[test] Clear environment variables
2016-08-13 19:26:36 +09:00
Junegunn Choi
52cf5af91c
[test] Fix test failure on Travis CI
...
No guarantee in the order in which files are listed
2016-07-10 15:44:44 +09:00
Junegunn Choi
05299a0fee
[test] Use tmux buffer in unicode test cases
...
Related #616
2016-07-10 12:27:01 +09:00
Junegunn Choi
e455836cc9
Fix race condition where preview window is not properly cleared
2016-06-15 13:15:17 +09:00
Junegunn Choi
2bbc12063c
Add --preview and --preview-window
...
Close #587
2016-06-11 19:59:12 +09:00
Junegunn Choi
cf9c957c66
Update test_execute_shell ( #590 )
2016-06-08 02:16:07 +09:00
Junegunn Choi
68b60c6d19
Update test_execute_multi ( #590 )
2016-06-08 02:15:22 +09:00
Junegunn Choi
3a644b16a4
Update test_execute ( #590 )
2016-06-08 02:04:40 +09:00
Junegunn Choi
c62fc5e75c
More named keys: F5 ~ F10, ALT-/
2016-05-18 22:25:09 +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
9078688baf
Add print-query action for --bind
...
Close #571
2016-05-13 00:51:15 +09:00
Junegunn Choi
9bd8b1d25f
Fix typo
2016-05-13 00:44:33 +09:00
Junegunn Choi
4ab75b68dc
Fix flaky test case: test_execute
...
Should wait until execute action completes
2016-05-11 01:40:49 +09:00
Junegunn Choi
73cb70dbb3
Fix flaky test case: test_file_completion_unicode
2016-05-11 01:25:17 +09:00
Junegunn Choi
d082cccb6d
Fix flaky test case: test_ctrl_t_unicode
...
The width of the pseudo-terminal on Travis CI environment can be small
and cause the line to be wrapped.
2016-05-11 01:18:26 +09:00
Junegunn Choi
988c9bd9be
[zsh] Fix issues with unicode characters
2016-04-25 01:04:35 +09:00
Junegunn Choi
bb70923cd8
Fix flaky test cases
2016-04-24 04:52:01 +09:00
Junegunn Choi
85ef3263fc
Fix incorrect cache reference in --exact mode ( #547 )
...
When we prepend a single quote to our query in --exact mode, we are not
supposed to limit the scope of the new search to the previous
exact-match result.
2016-04-24 03:43:24 +09:00
Junegunn Choi
2f6d23b91e
Enhanced ranking algorithm
...
Based on the patch by Matt Westcott (@mjwestcott).
But with a more conservative approach:
- Does not use linearly increasing penalties; It is agreed upon that we
should prefer matching characters at the beginnings of the words, but
it's not always clear that the relevance is inversely proportional to
the distance from the beginning.
- The approach here is more conservative in that the bonus is never
large enough to override the matchlen, so it can be thought of as the
first implicit tiebreak criterion.
- One may argue the change breaks the contract of --tiebreak, but the
judgement depends on the definition of "tie".
2016-04-16 14:33:38 +09:00
Junegunn Choi
5f63a7b587
Fix flaky test case
2016-04-15 12:57:38 +09:00
Junegunn Choi
444a67cafa
Fix flaky test cases
2016-03-06 12:46:28 +09:00
Junegunn Choi
6cf54833f7
Fix flaky test case
2016-03-02 03:29:08 +09:00
Junegunn Choi
2ccdf21a1f
Add --hscroll-off=COL option
...
Close #513
2016-03-02 03:14:35 +09:00
Junegunn Choi
a568120e42
Fix #494 - _fzf_complete hangs on zsh when not using tmux pane
2016-02-16 12:32:05 +09:00
Junegunn Choi
30bd0b53db
Fix #481 - Use $SHELL instead of sh in execute action
...
Note that $SHELL only points to the default shell instead of the current
shell. If you're on a non-default shell, you might want to override the
value like follows.
SHELL=zsh fzf --bind 'enter:execute:echo $ZSH_VERSION; sleep 1'
2016-02-03 04:46:02 +09:00
Junegunn Choi
96176476f3
Make fuzzy completion customizable with _fzf_compgen_{path,dir}
...
Notes:
- You can now override _fzf_compgen_path and _fzf_compgen_dir functions
to use custom commands such as ag instead of find for listing
completion candidates.
- The first argument is the base path to start traversal
- Removed file-only completion in bash, i.e. _fzf_file_completion.
Maintaining a list of commands that only expect files, not
directories, is cumbersome (there are too many) and error-prone.
TBD:
- Added $FZF_COMPLETION_DIR_COMMANDS to customize the list of commands
which use directory-only completion. The default is "cd pushd rmdir".
Not sure if it's the best approach to address the requirement, I'll
leave it as an undocumented feature.
Related: #406 (@thomcom), #456 (@frizinak)
2016-01-20 01:38:24 +09:00
Junegunn Choi
45143f9541
Ignore leading whitespaces when calculating 'begin' index
2016-01-14 01:32:03 +09:00
Junegunn Choi
edb647667e
Change temporary file names to fix flaky tests
2016-01-14 01:12:49 +09:00
Junegunn Choi
1d2d32c847
Accept comma-separated list of sort criteria
2016-01-13 21:27:43 +09:00
Junegunn Choi
661d06c90a
Add regression test case for #458
2015-12-29 13:02:16 +09:00
Junegunn Choi
e1dd798482
[bash/zsh-completion] List hidden files as well
...
Close #456 and #457
2015-12-29 00:21:38 +09:00
Junegunn Choi
a1b60b1d42
Fix Travis CI build
...
The size of pseudo-terminal in Travis CI environment can be small
2015-12-20 01:47:07 +09:00
Junegunn Choi
99ea1056ac
Add --tabstop option
...
Related: https://github.com/junegunn/fzf.vim/issues/49
2015-11-30 17:35:03 +09:00
Junegunn Choi
7bcf4effa5
Fix test failure - use absolute path
2015-11-30 17:32:40 +09:00
Junegunn Choi
31278bcc68
Fix compatibility issues with OR operator and inverse terms
2015-11-10 01:54:37 +09:00
Junegunn Choi
a89d8995c3
Add execute-multi action
...
Close #413
2015-11-09 23:58:19 +09:00
Junegunn Choi
e99731ea85
[shell] Add FZF_ALT_C_COMMAND for ALT-C ( #408 )
2015-11-08 00:12:12 +09:00
Junegunn Choi
81a88693c1
Make --extended default
...
Close #400
2015-11-03 22:49:32 +09:00
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.
2015-10-02 18:40:20 +09:00
Junegunn Choi
2022a3ad96
Replace --header-file with --header ( #346 )
...
and allow using --header and --header-lines at the same time.
Close #346 .
2015-09-15 19:04:53 +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
64443221aa
Fix #344 - Backward scan when --tiebreak=end
2015-09-12 11:37:55 +09:00
Junegunn Choi
90b0cd44ac
Should not strip ANSI codes when --ansi is not set
2015-08-28 21:23:10 +09:00
Junegunn Choi
80ed02e72e
Add failing test case for #329
2015-08-26 23:35:31 +09:00
Junegunn Choi
dea60b11bc
Only consider the lengths of the relevant parts when --nth is set
2015-08-01 23:13:24 +09:00
Junegunn Choi
02bd2d2adf
Do not proceed if $TERM is invalid
...
Related #305
2015-07-28 14:35:46 +09:00
Junegunn Choi
ee0c8a2635
Add --margin option
...
Close #299
2015-07-26 23:02:04 +09:00
Junegunn Choi
fdbf3d3fec
Replace eof action with cancel ( #289 )
2015-07-23 21:05:33 +09:00
Junegunn Choi
cc0d5539ba
Add "eof" action which closes the finder only when input is empty
...
Close #289
2015-07-22 22:57:48 +09:00
Junegunn Choi
4e0e03403e
Fix --header-lines unaffected by --with-nth
2015-07-22 21:24:02 +09:00
Junegunn Choi
928fccc15b
Fix header not shown when the lines go beyond the screen limit
2015-07-22 21:22:59 +09:00
Junegunn Choi
f71ea5f3ea
Add test cases for header and fix corner cases
2015-07-22 13:45:38 +09:00
Junegunn Choi
b0f491d3c3
Fix travis CI build
...
- Fix test failures on new fish 2.2.0
- Make timeout-based test cases more robust
2015-07-13 19:24:22 +09:00
Junegunn Choi
938151a834
[shell] Add FZF_CTRL_T_COMMAND for CTRL-T
...
Close #40
2015-06-26 01:02:44 +09:00
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.
2015-06-21 17:29:58 +09:00
Junegunn Choi
3492c8b780
Rename --history-max to --history-size
...
Considering HISTSIZE and HISTFILESIZE of bash
2015-06-19 01:03:25 +09:00
Junegunn Choi
b504c6eb39
Avoid intermittent test failures
...
by making sure that we're back on shell command-line
2015-06-18 02:09:44 +09:00
Junegunn Choi
fe4e452d68
Add --cycle option for cyclic scrolling
...
Close #266
2015-06-16 23:16:34 +09:00
Junegunn Choi
8677dbded1
Change alternative notation for execute action ( #265 )
...
e.g. fzf --bind "ctrl-m:execute:COMMAND..." --bind ctrl-j:accept
2015-06-15 23:27:05 +09:00
Junegunn Choi
e287bd7f04
Fix Travis CI build
2015-06-14 23:44:42 +09:00
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 {}']"
2015-06-14 12:25:08 +09:00
Junegunn Choi
77048f3e3b
Fix Travis CI build
2015-06-14 02:51:45 +09:00
Junegunn Choi
8b618f7439
Test refactoring
2015-06-14 02:44:22 +09:00
Junegunn Choi
8973207bb4
Fix Travis CI build
2015-06-14 02:13:02 +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
eaa3c67a5e
Add actions for --bind: select-all / deselect-all / toggle-all
...
Close #257
2015-06-09 23:44:54 +09:00
Junegunn Choi
45a3655eaf
Add test case for --null option
2015-06-08 23:27:50 +09:00
Junegunn Choi
b00bcf506e
Fix #248 - Premature termination of Reader on long input
2015-06-03 01:48:02 +09:00
Junegunn Choi
8f99f8fcc6
More test cases for --bind
2015-05-21 21:06:52 +09:00
Junegunn Choi
1592bedbe8
Custom key binding support ( #238 )
2015-05-21 00:32:03 +09:00
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
2015-05-20 19:47:48 +09:00
Junegunn Choi
26d2af5ee8
[zsh-completion] Respect backslash-escaped spaces ( #230 )
2015-05-12 01:40:44 +09:00
Junegunn Choi
732f133940
[test] Make sure to kill background process
2015-05-10 11:24:54 +09:00
Junegunn Choi
5dc4df9570
Fix test cases
2015-05-10 05:01:52 +09:00
Junegunn Choi
683abb86ef
Dump screen content on test failure
2015-05-10 03:25:14 +09:00
Junegunn Choi
207aa07891
[zsh-completion] Temporarily set nonomatch ( #230 )
...
No error on ~INVALID_USERNAME**<TAB>
2015-05-10 02:54:22 +09:00
Junegunn Choi
26a141c6a6
[zsh-completion] Fix ~USERNAME**
( #230 )
2015-05-10 02:37:17 +09:00
Junegunn Choi
dc64568c83
[zsh-completion] Completion for unknown commands
2015-05-09 21:04:59 +09:00
Junegunn Choi
f4a595eedd
Fix Travis CI build
2015-05-09 20:42:13 +09:00
Junegunn Choi
2b8e445321
Fuzzy completion for zsh ( #227 )
2015-05-09 20:18:38 +09:00
Junegunn Choi
4b7c571575
Fix race condition in test case
2015-04-25 10:56:08 +09:00
Junegunn Choi
5502b68a1d
Test refactoring
2015-04-25 10:40:58 +09:00
Junegunn Choi
5794fd42df
Fix test code
2015-04-25 01:09:25 +09:00
Junegunn Choi
edb5ab5622
Update test cases for #203
2015-04-22 00:57:25 +09:00
Junegunn Choi
e82eb27787
Smart-case for each term in extended-search mode
...
Close #208
2015-04-21 22:18:05 +09:00
Junegunn Choi
3f0e6a5806
Fix #209 - Invalid mutation of input on case conversion
2015-04-21 22:10:14 +09:00
Junegunn Choi
cc67d2e1cf
Test case for visual indicator of --toggle sort ( #194 )
2015-04-16 22:39:51 +09:00
Junegunn Choi
b8904a8c3e
Add --tiebreak option for customizing sort criteria
...
Close #191
2015-04-16 14:19:28 +09:00
Junegunn Choi
b882de87ab
Fix Travis CI build
2015-04-15 01:58:39 +09:00
Junegunn Choi
3a9d1df026
Fix unicode test case
2015-04-14 21:59:44 +09:00
Junegunn Choi
5c25984ea0
Fix Unicode case handling ( #186 )
2015-04-14 21:45:37 +09:00
Junegunn Choi
91fc6c984b
Fix fuzzy completion test
2015-04-14 02:00:50 +09:00
Junegunn Choi
50292adacb
Implement --toggle-sort option ( #173 )
2015-03-31 22:05:16 +09:00
Junegunn Choi
84a7499ae3
Fix #172 - Print empty line when fzf with expect finished by -1 or -0
2015-03-31 20:52:16 +09:00
Junegunn Choi
2a167aa030
Implement --expect option to support simple key bindings ( #163 )
2015-03-29 02:59:32 +09:00
Junegunn Choi
9cfecf7f0b
Fix test failure
2015-03-28 21:37:37 +09:00
Junegunn Choi
87c71a3ea6
Increase timeout in test cases
2015-03-07 09:53:54 +09:00
Junegunn Choi
55828f389a
Add test case for 7e2c18a
2015-03-04 13:13:11 +09:00
Junegunn Choi
79c147ed78
Fix #135 - Directory completion to append /
2015-03-04 12:59:23 +09:00
Junegunn Choi
4d2d18649c
Add basic test cases for shell extensions ( #83 )
...
- Key bindings for bash, zsh, and fish
- Fuzzy completion for bash (file, dir, process)
2015-03-01 03:33:56 +09:00
Junegunn Choi
c1aa5c5f33
Add --tac option and reverse display order of --no-sort
...
DISCLAIMER: This is a backward incompatible change
2015-02-26 01:42:15 +09:00
Junegunn Choi
5667667d1f
Add test case for --sync option
2015-02-18 12:07:54 +09:00
Junegunn Choi
f5b034095a
Fix race condition in asynchronous -1 and -0
2015-02-18 00:51:44 +09:00
Junegunn Choi
e6a0de4094
Fix Travis CI build
2015-01-29 17:41:28 +09:00
Junegunn Choi
448132c46c
Fix error when --query contains wide-length characters
2015-01-24 13:26:33 +09:00
Junegunn Choi
1476fc7f3b
Refactor test code
2015-01-24 13:25:11 +09:00
Junegunn Choi
4dcc0f10b8
Fix Travis CI build by ignoring trailing empty lines
...
😭
2015-01-17 13:45:56 +09:00
Junegunn Choi
3d39ab5ded
Fix flaky tests
2015-01-17 13:39:11 +09:00
Junegunn Choi
c3a198d0c7
Add test cases for --select-1 and --exit-0
2015-01-17 12:37:24 +09:00
Junegunn Choi
be5c17612a
Add basic test case for --reverse
2015-01-17 12:21:38 +09:00
Junegunn Choi
4c3ae847b6
Add test case for --with-nth + --multi
2015-01-17 11:20:17 +09:00
Junegunn Choi
5c0dc79ffa
Print selected items in the order they are selected
2015-01-17 11:07:04 +09:00
Junegunn Choi
c0b432f7b4
Fix Travis-CI build
2015-01-17 10:39:18 +09:00
Junegunn Choi
ae3180f919
Fix CTRL-Y key binding
...
With tmux-based test cases
2015-01-17 06:04:59 +09:00