config-files/.config/fish/functions/fish_user_key_bindings.fish

11 lines
444 B
Fish
Raw Permalink Normal View History

2023-02-08 12:56:21 -05:00
function fish_user_key_bindings
# Execute this once per mode that emacs bindings should be used in
fish_default_key_bindings -M insert
# Then execute the vi-bindings so they take precedence when there's a conflict.
# Without --no-erase fish_vi_key_bindings will default to
# resetting all bindings.
# The argument specifies the initial mode (insert, "default" or visual).
fish_vi_key_bindings --no-erase insert
end