diff --git a/docs/configuration/keymap.md b/docs/configuration/keymap.md index 3f0f306a..a4b2fdf4 100644 --- a/docs/configuration/keymap.md +++ b/docs/configuration/keymap.md @@ -6,7 +6,7 @@ description: Learn how to configure keyboard shortcuts with Yazi. # keymap.toml :::note -If you haven't created and used your own configuration file yet, please see [Configuration](/docs/configuration/overview). +If you want to fine-tune the default settings, the first step is to [create your own configuration file](/docs/configuration/overview). ::: You can change Yazi's keybindings in your `keymap.toml` file, which consists of the following 6 layers: @@ -81,14 +81,14 @@ keymap = [ Cancel find, exit visual mode, clear selected, cancel filter, or cancel search. -| Argument/Option | Description | -| --------------- | -------------------- | -| `--all` | Do all the below. | -| `--find` | Cancel find. | -| `--visual` | Exit visual mode. | -| `--select` | Clear selected. | -| `--filter` | Cancel filter. | -| `--search` | Cancel search. | +| Argument/Option | Description | +| --------------- | ----------------- | +| `--all` | Do all the below. | +| `--find` | Cancel find. | +| `--visual` | Exit visual mode. | +| `--select` | Clear selected. | +| `--filter` | Cancel filter. | +| `--search` | Cancel search. | Automatically determine the operation by default, and it will only execute the selected operation after specifying the option; multiple options can be stacked. @@ -597,7 +597,7 @@ Move the cursor left or right. | Argument/Option | Description | | ---------------- | ------------------------------------------------------------------------------------------------ | | `[n]` | Move the cursor `n` characters left or right. Negative value for left, positive value for right. | -| `--in-operating` | Move the cursor only if it's currently waiting for an operation. | +| `--in-operating` | Move the cursor only if it's currently waiting for an operation. | ### `backward` {#input.backward} @@ -689,8 +689,8 @@ See [`noop` command](#manager.noop). Cancel and close the confirmation dialog. -| Argument/Option | Description | -| --------------- | ---------------------- | +| Argument/Option | Description | +| --------------- | ------------------------ | | `--submit` | Submit the confirmation. | ### `arrow` {#confirm.arrow} diff --git a/docs/configuration/yazi.md b/docs/configuration/yazi.md index 1effea79..14f86190 100644 --- a/docs/configuration/yazi.md +++ b/docs/configuration/yazi.md @@ -6,17 +6,19 @@ description: Learn how to configure Yazi's basic functionality. # yazi.toml :::note -If you haven't created and used your own configuration file yet, please see [Configuration](/docs/configuration/overview). +If you want to fine-tune the default settings, the first step is to [create your own configuration file](/docs/configuration/overview). ::: ## [manager] {#manager} ### `ratio` {#manager.ratio} -Manager layout by ratio, 3-element array. +Manager layout by ratio, 3-element array. For example: - `[1, 4, 3]`: 1/8 width for parent, 4/8 width for current, 3/8 width for preview +Set the value to `0` to hide the corresponding panel, but at least one panel must be visible (non-zero). + ### `sort_by` {#manager.sort_by} File sorting method.