mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-15 14:41:14 -03:00
The vi-bindings function would unconditionally erase all bindings, making it impossible to call it last. This would disable the mode-indicator (and in future also the cursor). Make it so any argument to fish_vi_key_bindings stops it from erasing bindings. It would also be possible to demand an argument to erase (or to erase as a separate step). but the usual case seems to be _switching_ to a set of bindings.