Skip to content

Commit

Permalink
Docs: Add inspector view keybindings (#54)
Browse files Browse the repository at this point in the history
This documents keybindings mentioned in
atuinsh/atuin#592
  • Loading branch information
zmc authored Jun 3, 2024
1 parent 958fbc6 commit 7c55e6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/content/docs/configuration/key-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ $env.config = (
| 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) |
Expand All @@ -193,3 +194,10 @@ If [vim is enabled in the config](https://docs.atuin.sh/configuration/config/#vi
| j | Normal | Selects the previous item on the list |
| i | Normal | Enters insert mode |
| Esc | Insert | Enters normal mode |


### Inspector
| 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 |

0 comments on commit 7c55e6b

Please sign in to comment.