diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-03-26 16:24:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 16:24:09 +0100 |
commit | 954e20fd868f140d320143030671160f4fc69d06 (patch) | |
tree | 5cd115e062ea6d405933a8bf971ffb3bd95e6d0f | |
parent | bb7f00dbef3bf4c7c00c1969cb0089de51bd9ba9 (diff) |
Bind keys in vi mode too (#811)
-rw-r--r-- | src/command/init.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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') } } ) |