From 954e20fd868f140d320143030671160f4fc69d06 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sun, 26 Mar 2023 16:24:09 +0100 Subject: Bind keys in vi mode too (#811) --- src/command/init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/command/init.rs b/src/command/init.rs index 7cb4b35e..a9c24b09 100644 --- a/src/command/init.rs +++ b/src/command/init.rs @@ -105,7 +105,7 @@ bind -M insert \e\[A _atuin_bind_up"; name: atuin modifier: control keycode: char_r - mode: emacs + mode: [emacs, vi_normal, vi_insert] event: { send: executehostcommand cmd: (_atuin_search_cmd) } } ) @@ -118,7 +118,7 @@ bind -M insert \e\[A _atuin_bind_up"; name: atuin modifier: none keycode: up - mode: emacs + mode: [emacs, vi_normal, vi_insert] event: { send: executehostcommand cmd: (_atuin_search_cmd '--shell-up-key-binding') } } ) -- cgit v1.3.1