"$schema" = "https://yazi-rs.github.io/schemas/yazi.json" [manager] ratio = [1, 4, 3] sort_by = "natural" sort_dir_first = true [opener] folder = [ { run = 'hyprctl dispatch exec "[float; size 60% 60%; center 1] nemo" "$1"', orphan = true, desc = "nemo", for = "linux" }, { run = '''fish -c "nvim "$1""''', block = true, desc = "neovim", for = "linux" }, { run = 'kitty --detach nvim "$@"', orphan = true, desc = "neovim (detached)", for = "linux" }, { run = '''fish -c "lazygit -p "$1""''', block = true, desc = "lazygit", for = "linux" }, { run = 'codium "$@"', orphan = true, desc = "vscodium", for = "linux" }, { run = 'kitty "$@"', orphan = true, desc = "kitty", for = "linux" }, { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, ] text = [ { run = '$EDITOR "$@"', block = true, desc = "$EDITOR", for = "linux" }, { run = 'nvim "$@"', block = true, desc = "neovim", for = "linux" }, { run = 'kitty --detach nvim "$@"', block = true, desc = "neovim (detached)", for = "linux" }, { run = 'codium "$@"', orphan = true, desc = "vscodium", for = "linux" }, { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, ] document = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, { run = 'zathura "$@"', orphan = true, desc = "zathura", for = "linux" }, { run = 'libreoffice "$@"', orphan = true, desc = "libreoffice", for = "linux" }, ] image = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, { run = 'qimgv "$@"', orphan = true, desc = "qimgv", for = "linux" }, { run = 'krita "$@"', orphan = true, desc = "krita", for = "linux" }, { run = 'satty --filename "$@"', orphan = true, desc = "satty", for = "linux" }, ] video = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, { run = 'mpv "$@"', orphan = true, desc = "mpv", for = "linux" }, { run = 'vlc "$@"', orphan = true, desc = "vlc", for = "linux" }, ] audio = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, { run = 'mpv "$@"', orphan = true, desc = "mpv", for = "linux" }, { run = 'vlc "$@"', orphan = true, desc = "vlc", for = "linux" }, ] fallback = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, ] [open] rules = [ { name = "*/", use = "folder" }, { mime = "text/*", use = "text" }, { mime = "image/*", use = "image" }, { mime = "video/*", use = "video" }, { mime = "application/octet-stream", use = "video" }, { mime = "audio/*", use = "audio" }, { mime = "inode/x-empty", use = "text" }, { mime = "application/json", use = "text" }, { mime = "application/zip", use = "archive" }, { mime = "application/gzip", use = "archive" }, { mime = "application/x-bzip", use = "archive" }, { mime = "application/x-bzip2", use = "archive" }, { mime = "application/x-tar", use = "archive" }, { mime = "application/x-7z-compressed", use = "archive" }, { mime = "application/x-rar", use = "archive" }, { mime = "application/pdf", use = "document" }, { mime = "application/epub+zip", use = "document" }, { mime = "application/x-mobipocket-ebook", use = "document" }, { mime = "*", use = "fallback" }, ] [[plugin.prepend_fetchers]] id = "git" name = "*" run = "git" [[plugin.prepend_fetchers]] id = "git" name = "*/" run = "git"