From 769316fd1acfa9d20676b1faf59e212dfc6e60e1 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 18 Apr 2024 22:26:18 +0200 Subject: [PATCH] Add a few tests for legacy `bind` invocations --- tests/checks/bind.fish | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/checks/bind.fish b/tests/checks/bind.fish index 3330da570..14d56da7d 100644 --- a/tests/checks/bind.fish +++ b/tests/checks/bind.fish @@ -120,6 +120,15 @@ bind | string match -v '*\e\\[*' # CHECK: bind -M bind_mode ctrl-x true # CHECK: bind tab 'echo banana' +# Legacy +bind \cx\cax 'echo foo' +bind \cx\cax +# CHECK: bind ctrl-x,ctrl-a,x 'echo foo' +bind \ef forward-word +bind \ef +# CHECK: bind alt-f forward-word + + # Erasing bindings bind --erase tab bind tab