diff --git a/usage/configuration/keymap.md b/usage/configuration/keymap.md index bb225b1f..cfa52bc6 100644 --- a/usage/configuration/keymap.md +++ b/usage/configuration/keymap.md @@ -18,7 +18,7 @@ If you haven't created and used your own configuration file yet, please see: [Co - arrow - - `n`: Move the cursor up or down by n lines. Use negative values to move up and positive values to move down. + - `n` / `n%`: Move the cursor up or down by `n` or `n%` lines. Use negative values to move up and positive values to move down. - leave: Go back to the parent directory. - enter: Enter the child directory. diff --git a/usage/configuration/yazi.md b/usage/configuration/yazi.md index b48530b1..0ff315bc 100644 --- a/usage/configuration/yazi.md +++ b/usage/configuration/yazi.md @@ -71,11 +71,12 @@ text = [ Available parameters are as follows: -- exec: The command to open the selected files, with the following variables available: +- exec (str): The command to open the selected files, with the following variables available: - `$n`: The N-th selected file, starting from 1 - `$@`: All selected files - `foo`: Literal string to be passed -- block: Open in a blocking manner. After setting this, Yazi will hide into a secondary screen and display the program on the main screen until it exits. During this time, it can receive I/O signals, which is useful for interactive programs. +- block (bool): Open in a blocking manner. After setting this, Yazi will hide into a secondary screen and display the program on the main screen until it exits. During this time, it can receive I/O signals, which is useful for interactive programs. +- orphan (bool): Keep the process running even if Yazi has exited. ## open @@ -97,9 +98,9 @@ rules = [ Available rule parameters are as follows: -- name: Glob expression for matching the file name. Case insensitive by default, add `\s` to the beginning to make it sensitive. -- mime: Glob expression for matching the MIME type. Case insensitive by default, add `\s` to the beginning to make it sensitive. -- use: Opener name corresponding to the names in the opener section. +- name (str): Glob expression for matching the file name. Case insensitive by default, add `\s` to the beginning to make it sensitive. +- mime (str): Glob expression for matching the MIME type. Case insensitive by default, add `\s` to the beginning to make it sensitive. +- use (str): Opener name corresponding to the names in the opener section. ## tasks