Correct Emacs bindings in vi insert mode

The original instruction does not actually enable Emacs key bindings in Vi mode. This fixes it.
This commit is contained in:
Xandor Schiefer
2020-08-22 17:38:19 +02:00
committed by ridiculousfish
parent eb86bf23e8
commit ed212c631c

View File

@@ -1548,12 +1548,12 @@ It is also possible to add all emacs-mode bindings to vi-mode by using something
function fish_user_key_bindings
# Execute this once per mode that emacs bindings should be used in
fish_default_key_bindings -M insert
# Without an argument, fish_vi_key_bindings will default to
# resetting all bindings.
# The argument specifies the initial mode (insert, "default" or visual).
fish_vi_key_bindings insert
# Execute this once per mode that emacs bindings should be used in
fish_default_key_bindings -M insert
end