zshrc, keys: Reorganise keyboard setup
authorFrank Terbeck <ft@grml.org>
Sun, 17 Mar 2013 15:53:58 +0000 (16:53 +0100)
committerFrank Terbeck <ft@grml.org>
Mon, 18 Mar 2013 20:54:30 +0000 (21:54 +0100)
commitd6923f34da2c51d707858e978626129c19c3b915
tree4c25ea92d5ac8005ac461ca2af9513692662c9e1
parent20f624501f44475d30c5c387587dc2a2f154d046
zshrc, keys: Reorganise keyboard setup

This commit causes zsh to use smkx mode while its line editor (zle) is
active. This might break backwards compatibility with older
customisations, that rely on binding hardcoded escape sequences to
widgets.

Doing this is _absolutely_ required to make the values from $terminfo
valid. Those might otherwise be wrong and absolutely useless.

We do turn off smkx mode again when the line editor is done. So, nothing
else should be affected.

This commit also reorganises much of the setup, because different
aspects were addressed in between one another.

Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc