DOKK / manpages / debian 10 / medit / medit.1.en
MEDIT(1) General Commands Manual MEDIT(1)

medit - text editor

medit [OPTION]... [FILES]

medit is a text editor.

run new instance of medit. By default medit opens FILES (or creates a new document if none are given) in an existing instance of application

load and save session. By default medit does it when -n is not used. If this option is not given on command line then medit uses the corresponding preferences setting.

use existing instance with process id PID.

use instance name NAME. If an instance with this name is already running, then it will send files given on the command line to that instance and exit.

use provided character encoding to open the file

open file and position cursor on line LINE. Alternatively line number may be specified with filename, e.g. medit foo.txt:12

automatically reload opened file if it was modified on disk by another program.

open file in a new window.

open file in a new tab.

write debug output into FILE. This option is only useful on Windows.

show debug output in a log window. This option is only useful on Windows.

enable debug output for DOMAINS (if medit was compiled with --enable-debug option).

default window size and position.

show summary of options.

show program version.

list of files to open. Filenames may include line numbers after colon, e.g. /tmp/file.txt:200. Trailing colon is ignored.

if set, it is used as --pid argument. When medit spawns a process (e.g. a DVI viewer) it sets MEDIT_PID to its own process id, so the child process may in turn simply use 'medit filename' to open a file (e.g. for inverse DVI search).

http://mooedit.sourceforge.net/contact.html

Written and maintained by Yevgen Muntyan <emuntyan@users.sourceforge.net>

September 2010