Skip to content

Instantly share code, notes, and snippets.

@masato3
Last active June 23, 2026 21:49
Show Gist options
  • Select an option

  • Save masato3/891157d3a28bb9825c12be60a81c0492 to your computer and use it in GitHub Desktop.

Select an option

Save masato3/891157d3a28bb9825c12be60a81c0492 to your computer and use it in GitHub Desktop.
Yazi 設定ファイル yazi.toml
# https://yazi-rs.github.io/docs/configuration/yazi
# https://github.com/sxyazi/yazi/blob/shipped/yazi-config/preset/yazi-default.toml
# ------------------------------------------------------------------
[mgr]
sort_by = "natural"
linemode = "my_default"
# ------------------------------------------------------------------
[preview]
max_width = 690
max_height = 960
# ------------------------------------------------------------------
[opener]
edit = [
{ run = "C:/tools/WezTerm/nvim-smart.vbs %s1", desc = "nvim: nvim-smart.vbs", for = "windows", orphan = true },
{ run = "C:/tools/WezTerm/wezterm.exe cli spawn -- %userprofile%/scoop/apps/neovim/current/bin/nvim.exe %*", desc = "nvim: wezterm spawn", for = "windows", orphan = true },
{ run = "%userprofile%/scoop/apps/neovim/current/bin/nvim.exe %s", desc = "nvim: (block)", for = "windows", block = true },
]
[plugin]
prepend_fetchers = [
# git.yazi
{ id = "git", url = "*", run = "git", group = "git" },
{ id = "git", url = "*/", run = "git", group = "git" }
]
prepend_previewers = [
# eza-preview.yazi
{ url = "*/", run = "eza-preview" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment