Bind tmux focus reporting as --preset bindings

Purely cleanup, basically.

[ci skip]
This commit is contained in:
Fabian Homborg 2019-04-21 19:48:46 +02:00
parent 51e963bf44
commit b5351bce1b

View File

@ -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"