Bind keys in vi mode too (#811)

This commit is contained in:
Ellie Huxtable 2023-03-26 16:24:09 +01:00 committed by GitHub
parent bb7f00dbef
commit 954e20fd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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') }
}
)