diff options
| -rw-r--r-- | crates/atuin-client/config.toml | 4 | ||||
| -rw-r--r-- | docs/docs/configuration/config.md | 23 |
2 files changed, 25 insertions, 2 deletions
diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml index 69cfea84..8eea38b8 100644 --- a/crates/atuin-client/config.toml +++ b/crates/atuin-client/config.toml @@ -231,12 +231,16 @@ 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 + # Defaults to false. The left arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified. # accept_past_line_start = false + # Defaults to false. The backspace key performs the same functionality as Tab and copies the selected line to the command line to be modified when at the start of the line. # accept_with_backspace = false diff --git a/docs/docs/configuration/config.md b/docs/docs/configuration/config.md index f62c6160..49e29a79 100644 --- a/docs/docs/configuration/config.md +++ b/docs/docs/configuration/config.md @@ -619,13 +619,32 @@ Default: `true` Exits the TUI when scrolling left while the cursor is at the start of the line. -### `exit_past_line_end` +### `accept_past_line_end` Atuin version: >= 18.5 Default: `true` -Exits the TUI when scrolling right while the cursor is at the end of the line. +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_start` + +Atuin version: >= 18.9 + +Default: `false` + +The left arrow key performs the same functionality as Tab and copies the selected line to the command line to be +modified. + +### `accept_with_backspace` + +Atuin version: >= 18.9 + +Default: `false` + +The backspace key performs the same functionality as Tab and copies the selected line to the command line to be +modified. ## preview |
