changeset 19 | e0948736d271 |
parent 17 | 448a96dfa3e6 |
child 30 | e26330cd408f |
--- a/zshrc.d/60-vi-showmode.zrc Tue Jul 17 21:45:07 2012 +0200 +++ b/zshrc.d/60-vi-showmode.zrc Wed Jul 18 20:06:06 2012 +0200 @@ -47,11 +47,14 @@ screenclear () { echo -n "\033[2J\033[400H" + # 2J = Erase All + # 400H = Cursor at the bootom + # (Use \033[H to move the cursor to the first line...) builtin zle .redisplay show_mode "$__string_insert" } zle -N screenclear -bindkey "" screenclear +#bindkey "^L" screenclear function zle-line-finish { export RPS1="$__string_insert"