Switch back to insert mode after executing a command in vi mode

Fixes #1933
This commit is contained in:
ridiculousfish 2015-04-08 10:31:26 -07:00
parent 34296dd440
commit 97aa1c033b

View file

@ -24,7 +24,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
bind \e\[D backward-char
bind -k right forward-char
bind -k left backward-char
bind \n execute
bind -m insert \n execute
bind -m insert i force-repaint
bind -m insert I beginning-of-line force-repaint
bind -m insert a forward-char force-repaint