From 6ae0b3fa4aae2901a0387cda701d3aeecc7064d9 Mon Sep 17 00:00:00 2001 From: chitao1234 <1139954766@qq.com> Date: Mon, 10 Mar 2025 06:29:55 +0800 Subject: feat: make new arrow key behavior configurable (#2606) * feat: make new arrow key behavior configurable The arrow key behavior in interactive search was changed in #2453, make it configurable via keys.exit_past_line_start and keys.accept_past_line_end * Update crates/atuin-client/config.toml * Update crates/atuin-client/config.toml * Update crates/atuin-client/config.toml * I've made so many typos with these, sorry --------- Co-authored-by: Ellie Huxtable --- crates/atuin-client/config.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/atuin-client/config.toml') diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml index 388e3f85..4f9a46b7 100644 --- a/crates/atuin-client/config.toml +++ b/crates/atuin-client/config.toml @@ -209,6 +209,10 @@ enter_accept = true [keys] # Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry. # scroll_exits = true +# Defaults to true. The left arrow key will exit the TUI when scrolling before the first character +# exit_past_line_start = true +# Defaults to true. The right arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified. +# accept_past_line_end = true [sync] # Enable sync v2 by default -- cgit v1.3.1