1
1
Fork 0

fish: Switch to hybrid bindings

This commit is contained in:
Jonathan Schleifer 2020-03-01 11:55:47 +00:00
parent dc810d23e9
commit 6c4d447427
2 changed files with 8 additions and 0 deletions

View file

@ -1,4 +1,5 @@
set -g fish_greeting set -g fish_greeting
set -g fish_key_bindings hybrid_bindings
set -g fish_escape_delay_ms 300 set -g fish_escape_delay_ms 300
set -g fish_color_autosuggestion 303030 set -g fish_color_autosuggestion 303030

View file

@ -0,0 +1,7 @@
function hybrid_bindings --description 'Vi-style bindings that inherit emacs-style bindings in all modes'
for mode in default insert visual
fish_default_key_bindings -M $mode
end
fish_vi_key_bindings --no-erase
end