From b5351bce1bd84dde44eb5494eb75a56a611fed76 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 21 Apr 2019 19:48:46 +0200 Subject: [PATCH] Bind tmux focus reporting as --preset bindings Purely cleanup, basically. [ci skip] --- share/functions/__fish_shared_key_bindings.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/functions/__fish_shared_key_bindings.fish b/share/functions/__fish_shared_key_bindings.fish index ad1d16b9b..68f6c38fe 100644 --- a/share/functions/__fish_shared_key_bindings.fish +++ b/share/functions/__fish_shared_key_bindings.fish @@ -114,9 +114,9 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod # Exclude paste mode because that should get _everything_ literally. for mode in (bind --list-modes | string match -v paste) # We only need the in-focus event currently (to redraw the vi-cursor). - bind -M $mode \e\[I 'emit fish_focus_in' - bind -M $mode \e\[O false - bind -M $mode \e\[\?1004h false + bind --preset -M $mode \e\[I 'emit fish_focus_in' + bind --preset -M $mode \e\[O false + bind --preset -M $mode \e\[\?1004h false end # Support for "bracketed paste"