From b3ec0694013f46390b959cf879b4d203768002f0 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 10 Mar 2018 10:54:29 -0600 Subject: [PATCH] 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). --- share/functions/fish_default_key_bindings.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 11081cd54..b30219daa 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -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"