Skip to content

Commit

Permalink
feat: add new orphan option
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Sep 24, 2023
1 parent 45aba7c commit e5bea48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion usage/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 6 additions & 5 deletions usage/configuration/yazi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit e5bea48

Please sign in to comment.