edit
MIME-type aware file editor launcher
TLDR
Edit a file using mailcap configuration
$ edit [filename]
Using run-mailcap directly$ run-mailcap --action=edit [filename]
SYNOPSIS
edit filename
DESCRIPTION
edit is an alias for run-mailcap's edit action. It opens files in the appropriate editor based on MIME type configuration in mailcap files.
The actual editor used depends on the file type and system mailcap configuration.
PARAMETERS
filename
File to edit
CONFIGURATION
/etc/mailcap
System-wide MIME type to application mappings.~/.mailcap
User-specific MIME type overrides.
CAVEATS
Debian/Ubuntu specific. The editor used depends on mailcap configuration and MIME type detection.
SEE ALSO
run-mailcap(1), sensible-editor(1), view(1)
