From 4e896796afd210aec05871d96270656124e2c3e2 Mon Sep 17 00:00:00 2001 From: Evan McBeth <64177332+AtomicRobotMan0101@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:07:02 +1000 Subject: [PATCH] Update key-binding.mdx trivial amendment to show the use of an alternative binding for BASH --- src/content/docs/configuration/key-binding.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/docs/configuration/key-binding.mdx b/src/content/docs/configuration/key-binding.mdx index e2ad9ad..48f571b 100644 --- a/src/content/docs/configuration/key-binding.mdx +++ b/src/content/docs/configuration/key-binding.mdx @@ -100,6 +100,8 @@ eval "$(atuin init bash)" # bind to ctrl-r, add any other bindings you want here too bind -x '"\C-r": __atuin_history' +# example of CTRL-upkey +# bind -x '"\e\[1\;5A":__atuin_history' # bind to the up key, which depends on terminal mode bind -x '"\e[A": __atuin_history --shell-up-key-binding'