Documentation
¶
Overview ¶
Package extedit resolves the user's terminal editor and builds the command that opens a file in it, so every TUI that hands a file to $EDITOR picks the same editor and parses the variable the same way.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command resolves the user's terminal editor for opening a file: $VISUAL, then $EDITOR, then the first of vim/vi/nano found on PATH. It returns the resolved binary and any leading arguments (the file path is appended by the caller). The binary is "" when nothing suitable is found, so the caller can surface a status hint rather than launching an empty command.
Types ¶
This section is empty.