You can specify any number of filenames as parameters on commandline. One window will be opened for each file specified. If no file is specified on commandline, editor will be loaded initially empty.
Name of files can be mixed with options (parameter that begin with a dash). Invalid option on commandline will cause editor to abort with error message. Names of options are case sensitive.
Options which require a parameter can be specified in "short form", like -d1
or "long form", like -d 1
, both of these mean option -d
with
parameter 1
.
Use -script
, -eval
and -run
options to run any script besides the init script.
These parameters are run/evaluated in the order they are specified on commandline
and may be specified multiple times.
If these parameters are specified in GUI mode,
they are used in each window opened on program start, in commandline mode (console mode)
they are used after commandline init script.
After these scripts finish execution, the editor terminates.