From 6a2298642e6753b2e2b61b328d0a0efaabb18182 Mon Sep 17 00:00:00 2001 From: sokai Date: Tue, 15 Apr 2025 16:22:32 +0200 Subject: [PATCH] Small formatting fix for better readability/constancy --- .../docs/configuration/key-binding.mdx | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/src/content/docs/configuration/key-binding.mdx b/src/content/docs/configuration/key-binding.mdx index bbe5b74..e9cf9ed 100644 --- a/src/content/docs/configuration/key-binding.mdx +++ b/src/content/docs/configuration/key-binding.mdx @@ -161,32 +161,32 @@ $env.config = ( ## Atuin UI shortcuts -| Shortcut | Action | -| ----------------------------------------- | ----------------------------------------------------------------------------- | -| enter | Execute selected item | -| tab | Select item and edit | -| ctrl + r | Cycle through filter modes | -| ctrl + s | Cycle through search modes | -| alt + 1 to alt + 9 | Select item by the number located near it | -| ctrl + c / ctrl + d / ctrl + g / esc | Return original | -| ctrl + y | Copy selected item to clipboard | -| ctrl + ⬅︎ / alt + b | Move the cursor to the previous word | -| ctrl + ➡️ / alt + f | Move the cursor to the next word | -| ctrl + b / ⬅︎ | Move the cursor to the left | -| ctrl + f / ➡️ | Move the cursor to the right | -| ctrl + a / home | Move the cursor to the start of the line | -| ctrl + e / end | Move the cursor to the end of the line | -| ctrl + backspace / ctrl + alt + backspace | Remove the previous word / remove the word just before the cursor | -| ctrl + delete / ctrl + alt + delete | Remove the next word or the word just after the cursor | -| ctrl + w | Remove the word before the cursor even if it spans across the word boundaries | -| ctrl + u | Clear the current line | -| ctrl + n / ctrl + j / ⬆ | Select the next item on the list | -| ctrl + p / ctrl + k / ⬇ | Select the previous item on the list | -| ctrl + o | Open the inspector | -| page down | Scroll search results one page down | -| page up | Scroll search results one page up | -| ⬇ (with no entry selected) | Return original or return query depending on [settings](/configuration/config/#exit_mode) | -| ⬇ | Select the next item on the list | +| Shortcut | Action | +| ----------------------------------------- | ---------------------------------------------------------------------------------------- | +| enter | Execute selected item | +| tab | Select item and edit | +| ctrl + r | Cycle through filter modes | +| ctrl + s | Cycle through search modes | +| alt + 1 to alt + 9 | Select item by the number located near it | +| ctrl + c / ctrl + d / ctrl + g / esc | Return original | +| ctrl + y | Copy selected item to clipboard | +| ctrl + ⬅︎ / alt + b | Move the cursor to the previous word | +| ctrl + ➡️ / alt + f | Move the cursor to the next word | +| ctrl + b / ⬅︎ | Move the cursor to the left | +| ctrl + f / ➡️ | Move the cursor to the right | +| ctrl + a / home | Move the cursor to the start of the line | +| ctrl + e / end | Move the cursor to the end of the line | +| ctrl + backspace / ctrl + alt + backspace | Remove the previous word / remove the word just before the cursor | +| ctrl + delete / ctrl + alt + delete | Remove the next word or the word just after the cursor | +| ctrl + w | Remove the word before the cursor even if it spans across the word boundaries | +| ctrl + u | Clear the current line | +| ctrl + n / ctrl + j / ⬆ | Select the next item on the list | +| ctrl + p / ctrl + k / ⬇ | Select the previous item on the list | +| ctrl + o | Open the [inspector](#inspector) | +| page down | Scroll search results one page down | +| page up | Scroll search results one page up | +| ⬇ (with no entry selected) | Return original or return query depending on [settings](/configuration/config/#exit_mode) | +| ⬇ | Select the next item on the list | ### Vim mode @@ -201,10 +201,10 @@ If [vim is enabled in the config](https://docs.atuin.sh/configuration/config/#vi ### Inspector -Open the inspector with ctrl-o +Open the inspector with ctrl + o | Shortcut | Action | | -------- | --------------------------------------------- | | Esc | Close the inspector, returning to the shell | -| ctrl+o | Close the inspector, returning to search view | -| ctrl+d | Delete the inspected item from the history | +| ctrl + o | Close the inspector, returning to search view | +| ctrl + d | Delete the inspected item from the history |