Skip to content
Discussion options

You must be logged in to vote
  1. I don't see a problem with having multiple config files, to me it's clearer and easier to manage: if you want to change keybindings, go keymap.toml, if you want to change the theme, go theme.toml, everything else that's general goes in yazi.toml. As for init.lua, as its name implies, it's used for plugin initialization. If you don't use plugins, or your plugins don't need initialization at all, you don't need to touch init.lua. Another benefit is that actions like app:theme that reload the user theme, only need to reload theme.toml, rather than reloading the keybindings and general config or anything else along with it in the same single file, which is better for performance.

  2. init.lua …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Niceadam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
2 participants