fzf/shell
Sebastian Reuße fed5e5d5af [zsh] Re-initialize zle when widgets finish
zle automatically calls zle-line-init when it starts to read a new line. Many
Zsh setups use this hook to set the terminal into application mode, since this
will then allow defining keybinds based on the $terminfo variable (the escape
codes in said variable are only valid in application mode).

However, fzf resets the terminal into raw mode, rendering $terminfo values
invalid once the widget has finished. Accordingly, keyboard bindings defined
via $terminfo won’t work anymore.

This fixes the issue by calling zle-line-init when widgets finish. Care is taken
to not call this widget when it is undefined.

Fixes #279
2016-07-05 08:57:11 +02:00
..
completion.bash [bash/zsh] Take SSH completion hints from known_hosts 2016-06-02 21:58:01 +09:00
completion.zsh [zsh] Re-initialize zle when widgets finish 2016-07-05 08:57:11 +02:00
key-bindings.bash [shell] Add $FZF_CTRL_T_OPTS and $FZF_ALT_C_OPTS 2016-06-12 20:48:23 +09:00
key-bindings.fish [shell] Add $FZF_CTRL_T_OPTS and $FZF_ALT_C_OPTS 2016-06-12 20:48:23 +09:00
key-bindings.zsh [zsh] Re-initialize zle when widgets finish 2016-07-05 08:57:11 +02:00