Skip to content

Commit

Permalink
docs: minor tweaks for the toggle and toggle_all command, sxyazi/…
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Dec 1, 2024
1 parent 28ac4eb commit f0937b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ Toggle the selection state of the hovered file.
| Argument/Option | Description |
| --------------- | ---------------------- |
| N/A | Reverse the selection. |
| `on` | Select the file. |
| `off` | Deselect the file. |
| `--state=on` | Select the file. |
| `--state=off` | Deselect the file. |

### `toggle_all` {#manager.toggle_all}

Expand All @@ -232,10 +232,10 @@ Toggle the selection state of all files in the current working directory.
| Argument/Option | Description |
| --------------- | ----------------------- |
| N/A | Reverse the selections. |
| `on` | Select the files. |
| `off` | Deselect the files. |
| `--state=on` | Select the files. |
| `--state=off` | Deselect the files. |

Note that `toggle_all off` only deselect the files in CWD, if you have selected files across multiple directories, and want to deselect all of them, use [`escape --select`](#manager.escape).
Note that `toggle_all --state=off` only deselect the files in CWD, if you have selected files across multiple directories, and want to deselect all of them, use [`escape --select`](#manager.escape).

### `visual_mode` {#manager.visual_mode}

Expand Down

0 comments on commit f0937b7

Please sign in to comment.