diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-03-03 12:20:01 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-03-03 12:20:01 +0900 |
commit | c387689d1cd45f0d8eb122fe95ee72ccc61d3bff (patch) | |
tree | f5b8064272d8f91bb0c498c0ae4be854440a8b6b /test | |
parent | cb9238dc4ee6ee8c9d25fa0c1f6d731b379de9b1 (diff) |
[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.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_go.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 04703757..fef328bb 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -1408,6 +1408,7 @@ module TestShell tmux.send_keys 'C-r' tmux.until { |lines| lines.item_count > 0 } end + tmux.send_keys 'C-r' tmux.send_keys '3d' tmux.until { |lines| lines[-3].end_with? 'echo 3rd' } tmux.send_keys :Enter |