summaryrefslogtreecommitdiff
path: root/user:hugues
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-20 17:04:43 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-20 17:04:43 +0200
commitdfeff1c6a00a62da42944dad3e6ee26189af0529 (patch)
tree795028222c1cc1186706214a0f014a1a7774ee4d /user:hugues
parent86e4f31ca19697f8ed0fef34f47e0ae704b1e09e (diff)
Vim-mode: better C-l managment..
Diffstat (limited to 'user:hugues')
-rw-r--r--user:hugues/Vim.zsh8
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