1.3. Editing options

medit has some editing options which can be set in the file text, or in the Preferences dialog for sets of files or for given syntax highlighting language.

To set the options in the document text, place the following on the first, second or the last line of the document:

-%- options -%-

where options is the option string

key: value; key: value; ...

(the latter is the format used also in the Preferences dialog).

Values can be strings, integer numbers, or boolean values. Boolean values may be specified using yes/no, true/false, 1/0. The following options are available:

medit tries to understand modelines of Vim, Emacs, and Kate text editors, so chances are it will correctly pick up the conventional settings from source files.



[2] This is not an indentation offset, this is the visual width of a Tab character.