vi-mode: Make \cc go to normal from insert mode

Keep the behavior for normal mode

Fixes #2228
This commit is contained in:
Fabian Homborg 2015-08-04 14:22:55 +02:00
parent 07c109fad8
commit 66f11e9bd3

View file

@ -191,7 +191,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
bind -M insert \cb backward-word
bind -M insert \cf forward-word
bind -M insert \cc 'commandline ""'
bind -M insert -m default \cc force-repaint
bind -M insert -m default \e backward-char force-repaint
bind -M insert \cd exit