2017-06-03 15:27:30 -04:00
|
|
|
.Dd January 8, 2015
|
2016-01-01 10:01:39 -05:00
|
|
|
.Dt EDITOR 5
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm editor
|
|
|
|
.Nd editor configuration
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm /etc/editor
|
|
|
|
.Nm ~/.editor
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Xr editor 1
|
|
|
|
loads these files on startup and executes the commands therein as described in
|
2017-02-15 16:56:28 -05:00
|
|
|
.Xr editor 1 .
|
|
|
|
Only commands applicable as global configuration are executed to avoid
|
|
|
|
undesirable side effects.
|
|
|
|
For instance,
|
2016-01-01 10:01:39 -05:00
|
|
|
.Sy popen
|
2017-02-15 16:56:28 -05:00
|
|
|
isn't executed as that would open another file than the current one.
|
|
|
|
Unknown commands are silently ignored.
|
2016-01-01 10:01:39 -05:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width "$HOME/.editor" -compact
|
|
|
|
.It Pa /etc/editor
|
|
|
|
Global configuration.
|
|
|
|
.It Pa ~/.editor
|
|
|
|
User configuration.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr editor 1
|