diff options
author | 2014-01-23 10:23:04 +0100 | |
---|---|---|
committer | 2014-01-23 10:23:04 +0100 | |
commit | 844b01cb6be2ab3a3f7070112c94604b43710835 (patch) | |
tree | 0edb77427d3d7a49f2f8cdecc67f2f6da160611d /share/functions/fish_vi_key_bindings.fish | |
parent | 45465e0c450eb2e73ef43a553fe3bb0f72b53a7b (diff) |
Add 'and' input function; fixes a bug with t,T
'and' will prevent later input functions from being executed if the
previous one did not succeed (e.g. a jump to a char not on the command
line)
Diffstat (limited to 'share/functions/fish_vi_key_bindings.fish')
-rw-r--r-- | share/functions/fish_vi_key_bindings.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 122d1fb7..fceca4f7 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -131,8 +131,8 @@ function fish_vi_key_bindings -d "vi-like key bindings for fish" bind f forward-jump bind F backward-jump - bind t forward-jump backward-char - bind T backward-jump forward-char + bind t forward-jump and backward-char + bind T backward-jump and forward-char # in emacs yank means paste bind p yank |