Created
August 29, 2025 01:35
-
-
Save pierodev0/53bd01d36171e28f47ddcb94ab9b2615 to your computer and use it in GitHub Desktop.
My config yazi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Reference: https://github.com/sxyazi/yazi/blob/shipped/yazi-config/preset/yazi-default.toml | |
| [opener] | |
| edit = [ | |
| { run = '${EDITOR:-vi} "$@"', desc = "$EDITOR", block = true, for = "unix" }, | |
| { run = 'code "$@"', orphan = true, desc = "Code", for = "unix" }, | |
| { run = 'nvim "$@"', block = true, desc = "Neovim", for = "unix" }, | |
| ] | |
| # Keep other opener configurations from the default | |
| open = [{ run = 'xdg-open "$1"', desc = "Open", for = "linux" }] | |
| reveal = [ | |
| { run = 'xdg-open "$(dirname "$1")"', desc = "Reveal", for = "linux" }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment