vi bindings: clear commandline with Ctrl-C

Closes #2077.
This commit is contained in:
David Adam 2015-06-05 14:01:43 +08:00
parent 79a6961793
commit b6b6de3304

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 -m default \cc backward-char force-repaint
bind -M insert \cc 'commandline ""'
bind -M insert -m default \e backward-char force-repaint
bind -M insert \cd exit