mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 05:41:14 -03:00
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:
16
tests/checks/fish_vi_key_bindings.fish
Normal file
16
tests/checks/fish_vi_key_bindings.fish
Normal 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
|
||||
Reference in New Issue
Block a user