how to set micro as editor in yazi file manager?
ive set micro as my editor in yazi but when i hit Enter it opens a new document instead of editing the one ive selected. in my TOML i have this under opener.
[opener]
edit = [
{ run = 'micro "$@"', desc = "$EDITOR", block = true, for = "unix" },
{ run = "code %s", desc = "code", for = "windows", orphan = true },
{ run = "code -w %s", desc = "code (block)", for = "windows", block = true },
]
any help would be great.
2 replies
That is the old string format, use
"micro %s". I would recommend setting Micro as your editor with environment variables and using"${EDITOR:-vi} %s". And also check the full new default TOML file in their repo. It was easier for me redoing my configuration from the new default rather than to edit my old one bit by bit.Excellent. I wasn't aware they changed formats. I'll give that a try Soon.