diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-04-12 21:40:14 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-04-15 15:10:21 +0200 |
commit | 635a1e9dd24dc64077bd1d7e02bf998b41984974 (patch) | |
tree | b02bd28f25fa037a42a8c13a0a0d1592f2da651e /share | |
parent | 574851f092358f5834afb0b529676924fcbd59c6 (diff) |
Remove the default self-insert binding in vi-default mode
Fixes #2832.
Diffstat (limited to 'share')
-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. |