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>
Sun, 17 Mar 2013 17:11:42 +0000 (18:11 +0100)
commit53771baf11d825d6a31cbac333f2bbb3e4277c55
treee2b4612a9f63a221968c88f7cf85ba0eda1ae4bc
parentd9c3851ad99948d96e6faf12142dfcbfd4e0ee61
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