Skip to content

Commit

Permalink
docs: clarify config file path
Browse files Browse the repository at this point in the history
  • Loading branch information
RioNight authored Jan 6, 2024
1 parent 78c55e9 commit 5b495dd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/configuration/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ description: Learn how to configure Yazi.

# Configuration

You can find the preset configuration at: https://github.com/sxyazi/yazi/tree/main/yazi-config/preset.
There are multiple configuration files. They configure core yazi behavior, keymaps, and the theme, accordingly.

If you want to override the behavior as you like, please copy them to the following paths, to create and use your own configurations:
You can find the default configurations at: https://github.com/sxyazi/yazi/tree/main/yazi-config/preset.

To override any of the defaults, begin by copying the appropriate file to following location:

- Unix: `~/.config/yazi/`
- Windows: `C:\Users\YourName\AppData\Roaming\yazi\config\`
- Windows: `C:\Users\USERNAME\AppData\Roaming\yazi\config\`

For example, to edit the keymaps, start by copying `keymap.toml` file (found [here](https://github.com/sxyazi/yazi/tree/main/yazi-config/preset)) to:

- Unix: `~/.config/yazi/keymap.toml`
- Windows: `C:\Users\USERNAME\AppData\Roaming\yazi\config\keymap.toml`

0 comments on commit 5b495dd

Please sign in to comment.