Remove the default self-insert binding in vi-default mode

Fixes #2832.
This commit is contained in:
Fabian Homborg 2016-04-12 21:40:14 +02:00
parent 0993141334
commit 85799ee86e

View file

@ -19,6 +19,8 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
fish_default_key_bindings -M insert
fish_default_key_bindings -M default
# Remove the default self-insert bindings in default mode
bind -e "" -M default
# Add way to kill current command line while in insert mode.
bind -M insert \cc 'commandline ""'
# Add a way to switch from insert to normal (command) mode.