aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bind.expect
Commit message (Collapse)AuthorAge
* tty driver ignore lnext (\cV) and werase (\cW)Gravatar Kurtis Rader2016-05-25
| | | | | | | | | | Configure the tty driver to ignore the lnext (\cV) and werase (\cW) characters so they can be bound to fish functions. Correct the `fish_key_bindings` program to initialize the tty in the same manner as the `fish` program. Fixes #3064
* fix bind unit testsGravatar Kurtis Rader2016-04-28
| | | | | | In my rush to get the fix for the wrong default Vi mode escape delay merged (commit 3e24ae80b3739ded7d4066349fc87d13f2b70727) I neglected to update the unit test. This change corrects that oversight.
* fix flakey testGravatar Kurtis Rader2016-02-16
| | | | | | I've run this more than twenty times through Travis CI (by adding/removing a comment line). Without this tweak the longest sequence seems to be around six successful runs.
* Update bind.expect for travis-CIGravatar ridiculousfish2016-02-04
| | | | | | Travis-CI runs with clang ASAN enabled, which makes fish slow enough that certain timing tests fail. Sleep a little so that fish can catch up.
* Merge change for lengthened and configurable escape key timeoutGravatar ridiculousfish2016-02-04
|\
| * change default escape timeoutGravatar Kurtis Rader2016-02-04
| | | | | | | | | | | | | | | | This changes the default escape timeout for the default keybindings (emacs mode) to 300ms and the default for vi keybindings to 10ms. I couldn't resist fixing a few nits in the fish_vi_key_bindings.fish file since I was touching it to set the escape timeout.
| * make travis-ci happy againGravatar Kurtis Rader2016-02-04
| |
* | Fix t-binding test for new escape behaviorGravatar ridiculousfish2016-02-02
| |
* | Merge branch 'fix-jump' of git://github.com/cpick/fish-shell into cpick-fix-jumpGravatar ridiculousfish2016-02-02
|\ \
| | * make bind unit tests more robust on travis-ciGravatar Kurtis Rader2016-01-17
| | | | | | | | | | | | | | | | | | | | | My previous commit failed in the travis-ci environment despite passing on my local computer. This appears to be due to expect timing out looking for the expected input. See if increasing the expect timeout slightly fixes the problem.
| | * allow configuring the escape delay timeoutGravatar Kurtis Rader2016-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Introduce a "fish_escape_delay_ms" variable to allow the user to configure the delay used when seeing a bare escape before assuming no other characters will be received that might match a bound character sequence. This is primarily useful for vi mode so that a bare escape character (i.e., keystroke) can switch to vi "insert" to "normal" mode in a timely fashion.
| | * fix unit tests related to the escape timeoutGravatar Kurtis Rader2015-12-23
| |/ |/|
* | tests/bind.expect: re-enable but at human typing speed onlyGravatar David Adam2015-10-18
| | | | | | | | | | | | | | The interactive bind tests work if the keys are treated like there is a human pressing them. This reverts commit 0006d23df82fd10c37acecc5a0fd578afb3be437.
| * Test vi-mode 't' bindingGravatar Chris Pick2015-09-03
|/ | | | | | Test 't' binding that contains non-zero arity function (forward-jump) followed by another function (and). This demonstrates the problem in #2357.
* Implement lowercase-r replace in fish_vi_modeGravatar ridiculousfish2015-07-20
| | | | Fixes #1595
* Reset fish_bind_mode when changing fish_key_bindingsGravatar Kevin Ballard2014-09-18
Also avoid resetting bindings if fish_key_bindings is "modified" without actually changing. Fixes #1638.