mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 19:55:08 +00:00
parent
574851f092
commit
635a1e9dd2
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