next up previous
Next: 18. Miscellaneous Commands Up: 17. Status and History Previous: 17.1 History

17.2 Status

It is often convenient to save the current state of certain global options between editing sessions. Ved does this with ``status files''. To enable this feature you must first set the ``Status Status_Dir'' RC option (see Section 19.9.

Just setting the directory name isn't enough. To enable the status saving the directory must also exist. You must create the directory with the ``mkdir'' command.

Once the directory is created, the following setting will be saved after saving any file:

The files used to save the status are the same as the associated file, with ``VED-'' prepended. The files are actually specialized RC files and can be read with any editor. We don't recommend that you modify them.

Please note that if you simply view a file, or exit the editor without saving your changes, the status will not be saved. The status is saved after a successful save.

The status file is read after a successful reading of a file. If you specify multiple files on a command line, the status file is only read for the first filename.


next up previous
Next: 18. Miscellaneous Commands Up: 17. Status and History Previous: 17.1 History
2004-05-02