diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-20 17:04:43 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-20 17:04:43 +0200 |
commit | dfeff1c6a00a62da42944dad3e6ee26189af0529 (patch) | |
tree | 795028222c1cc1186706214a0f014a1a7774ee4d /user:hugues | |
parent | 86e4f31ca19697f8ed0fef34f47e0ae704b1e09e (diff) |
Vim-mode: better C-l managment..
Diffstat (limited to 'user:hugues')
-rw-r--r-- | user:hugues/Vim.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user:hugues/Vim.zsh b/user:hugues/Vim.zsh index 26d8f39..f43978a 100644 --- a/user:hugues/Vim.zsh +++ b/user:hugues/Vim.zsh @@ -85,12 +85,12 @@ function ft-psvx() { fi else case ${KEYMAP} in - vicmd) psvar[$psvmodeidx]='vicmd';; + vicmd) psvar[$psvmodeidx]='ESC';; *) if [[ ${ft_zle_state[overwrite]} == yes ]]; then - psvar[$psvmodeidx]='REPL' + psvar[$psvmodeidx]='REP' else - psvar[$psvmodeidx]='' + psvar[$psvmodeidx]='INS' fi ;; esac @@ -102,7 +102,7 @@ function ft-psvx() { # newly drawn prompt has the correct mode display. function ft-psvx-default() { if [[ ${zle_default_mode} == 'cmd' ]]; then - psvar[$psvmodeidx]='vicmd' + psvar[$psvmodeidx]='ESC' else psvar[$psvmodeidx]='' fi |