Skip to content

Small formatting fix #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions src/content/docs/configuration/key-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 |