From f0937b7aa6c4737899e5f35fad23e8e79fdbd35b Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 1 Dec 2024 23:08:09 +0800 Subject: [PATCH] docs: minor tweaks for the `toggle` and `toggle_all` command, https://github.com/sxyazi/yazi/pull/1979 --- docs/configuration/keymap.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/configuration/keymap.md b/docs/configuration/keymap.md index 8067d8ea..655165c7 100644 --- a/docs/configuration/keymap.md +++ b/docs/configuration/keymap.md @@ -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} @@ -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}