Add missing $argv injection in fish_default_key_bindings.fish

These have to be present in all the default rules so that any errors can
be silenced at startup (and so additional arguments can be passed in).
This commit is contained in:
Mahmoud Al-Qudsi 2018-03-10 10:54:29 -06:00
parent 4ca31ae987
commit b3ec069401

View file

@ -80,12 +80,12 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind $argv \e\< beginning-of-buffer
bind $argv \e\> end-of-buffer
bind \ed kill-word
bind $argv \ed kill-word
# Ignore some known-bad control sequences
# https://github.com/fish-shell/fish-shell/issues/1917
bind \e\[I 'begin;end'
bind \e\[O 'begin;end'
bind $argv \e\[I 'begin;end'
bind $argv \e\[O 'begin;end'
# term-specific special bindings
switch "$TERM"