mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
0993141334
commit
85799ee86e
1 changed files with 2 additions and 0 deletions
|
@ -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 insert
|
||||||
fish_default_key_bindings -M default
|
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.
|
# Add way to kill current command line while in insert mode.
|
||||||
bind -M insert \cc 'commandline ""'
|
bind -M insert \cc 'commandline ""'
|
||||||
# Add a way to switch from insert to normal (command) mode.
|
# Add a way to switch from insert to normal (command) mode.
|
||||||
|
|
Loading…
Reference in a new issue