Move cursor back on insert mode exit.

Make this consistent with vi.
This commit is contained in:
Steven Allen 2014-04-01 16:59:24 -04:00 committed by ridiculousfish
parent 7ef9e4d8e7
commit fcc363333c

View file

@ -175,8 +175,8 @@ function fish_vi_key_bindings -d "vi-like key bindings for fish"
bind -M insert -k right forward-char
bind -M insert -k left backward-char
bind -M insert -m default \cc force-repaint
bind -M insert -m default \e force-repaint
bind -M insert -m default \cc backward-char force-repaint
bind -M insert -m default \e backward-char force-repaint
bind -M insert \cd exit