Skip to content

Commit

Permalink
docs: tune the configuration example
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Mar 14, 2024
1 parent 8041bb3 commit f8bdf6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ For example, to change the sorting method, start by creating a `yazi.toml` file
- `~/.config/yazi/yazi.toml` on Unix-like systems.
- `C:\Users\USERNAME\AppData\Roaming\yazi\config\yazi.toml` on Windows.

Then [copy the required part](https://github.com/sxyazi/yazi/blob/latest/yazi-config/preset/yazi.toml) into it; here is `sort_by`:
Then [copy the required part](https://github.com/sxyazi/yazi/blob/latest/yazi-config/preset/yazi.toml) into it; here is `sort_dir_first`:

```toml
# yazi.toml
[manager]
sort_by = "natural"
sort_dir_first = true
```

## Configuration mixing
Expand Down

0 comments on commit f8bdf6b

Please sign in to comment.