mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Bind tmux focus reporting as --preset bindings
Purely cleanup, basically. [ci skip]
This commit is contained in:
parent
51e963bf44
commit
b5351bce1b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user