Skip to content

Commit

Permalink
docs: sort_by add a new value of none
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Oct 20, 2023
1 parent bdb94d5 commit 16c71ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion usage/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ If you haven't created and used your own configuration file yet, please see [Con

- sort

- `by`
- `by`: Optional, if not provided, the sort method will be kept unchanged.
- `"none"`: Don't sort.
- `"alphabetical"`: Sort alphabetically, e.g. `1.md` < `10.md` < `2.md`
- `"created"`: Sort by creation time.
- `"modified"`: Sort by last modified time.
Expand Down
4 changes: 4 additions & 0 deletions usage/configuration/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: Learn how to configure your Yazi theme.

# Theme

:::tip
If you haven't created and used your own configuration file yet, please see [Configuration](./overview.mdx).
:::

## Types

- Color: A color. It can be in Hex format with RGB values, such as `#484D66`. Or can be one of the following 17 values:
Expand Down
1 change: 1 addition & 0 deletions usage/configuration/yazi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ If you haven't created and used your own configuration file yet, please see [Con

- sort_by: File sorting method

- `"none"`: Don't sort
- `"alphabetical"`: Sort alphabetically, e.g. `1.md` < `10.md` < `2.md`
- `"created"`: Sort by creation time
- `"modified"`: Sort by last modified time
Expand Down
6 changes: 3 additions & 3 deletions usage/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Prerequisites:

- nerd-fonts ([_optional_](./faq.md#i-dont-like-nerdfonts))
- ffmpegthumbnailer (_optional_, for video thumbnails)
- unar (_optional_, for archive preview, tested on v1.10.7)
- unar (_optional_, for archive preview)
- jq (_optional_, for JSON preview)
- poppler (_optional_, for PDF preview)
- fd (_optional_, for file searching)
- rg (_optional_, for file content searching)
- fzf (_optional_, for directory jumping)
- fzf (_optional_, for path jumping)
- zoxide (_optional_, for directory jumping)

## Arch Linux
Expand Down Expand Up @@ -47,7 +47,7 @@ brew install yazi --HEAD
Or you can install Yazi via cargo:

```bash
cargo install --git https://github.com/sxyazi/yazi.git
cargo install --locked --git https://github.com/sxyazi/yazi.git
```

## Nix
Expand Down

0 comments on commit 16c71ca

Please sign in to comment.