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.

  • alecsargent@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    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.