Skip to content

Commit

Permalink
docs: add spotter keymap documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Dec 10, 2024
1 parent 463414a commit 0ac66ca
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ You can change Yazi's keybindings in your `keymap.toml` file, which consists of

- [\[manager\]](#manager) - File list.
- [\[tasks\]](#tasks) - Task manager.
- [\[spot\]](#spot) - File information spotter.
- [\[pick\]](#pick) - Pick component. e.g. "open with" for files.
- [\[input\]](#input) - Input component. e.g. create, rename, etc.
- [\[completion\]](#completion) - Completion component. e.g. "cd" path completion.
Expand Down Expand Up @@ -524,6 +525,44 @@ See [Functional plugin](/docs/plugins/overview#functional-plugin).

See [`noop` command](#manager.noop).

## [spot] {#spot}

### `close` {#spot.close}

Hide the spotter.

### `arrow` {#spot.arrow}

| Argument/Option | Description |
| --------------- | ------------------------------------------------------------------------------------- |
| `[n]` | Move the cursor up or down `n` lines. Negative value for up, positive value for down. |

### `swipe` {#spot.swipe}

| Argument/Option | Description |
| --------------- | -------------------------------------------------------------------------------------------- |
| `[n]` | Swipe `n` files up or down in the file list. Negative value for up, positive value for down. |

### `copy` {#spot.copy}

Copy the content from the spotter.

| Argument/Option | Description |
| --------------- | ---------------------------- |
| `cell` | Copy the selected table cell |

### `plugin` {#spot.plugin}

See [Functional plugin](/docs/plugins/overview#functional-plugin).

### `noop` {#spot.noop}

See [`noop` command](#manager.noop).

### `help` {#spot.help}

Open the help menu.

## [pick] {#pick}

### `close` {#pick.close}
Expand Down

0 comments on commit 0ac66ca

Please sign in to comment.