diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-04-12 21:40:14 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-04-12 21:40:14 +0200 |
commit | 85799ee86ee18915e79d2ae8cf3f23f504249d89 (patch) | |
tree | b729994901970619da8a2c5d2304a58f93f349c1 /share/functions/fish_vi_key_bindings.fish | |
parent | 0993141334a08697351fc7900473f46b0d092216 (diff) |
Remove the default self-insert binding in vi-default mode
Fixes #2832.
Diffstat (limited to 'share/functions/fish_vi_key_bindings.fish')
-rw-r--r-- | share/functions/fish_vi_key_bindings.fish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 75be6644..f6395667 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -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. |