Add binding for MSFT/WSL paste escape sequence

This commit is contained in:
Mahmoud Al-Qudsi 2018-03-10 10:57:32 -06:00
parent b3ec069401
commit 18a9aa58cd

View file

@ -93,5 +93,9 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind $argv \e\[8~ end-of-line
bind $argv \eOc forward-word
bind $argv \eOd backward-word
case 'xterm-256color'
# Microsoft's conemu uses xterm-256color plus
# the following to tell a console to paste:
bind $argv \e\x20ep fish_clipboard_paste
end
end