Test fish_vi_key_bindings argument

Tests 6d01138797 (Fix vi key bindings regression when called with
argument, 2026-02-04).
This commit is contained in:
Johannes Altmanninger
2026-02-08 13:02:14 +11:00
parent bdb8e4847f
commit ffce214362

View File

@@ -0,0 +1,16 @@
# RUN: %fish %s
echo $fish_bind_mode
# CHECK: default
fish_vi_key_bindings
echo $fish_bind_mode
# CHECK: insert
fish_vi_key_bindings default
echo $fish_bind_mode
# CHECK: default
fish_vi_key_bindings insert
echo $fish_bind_mode
# CHECK: insert