Add user options, prefixed with @. May be set to any arbitrary string.

This commit is contained in:
Nicholas Marriott
2013-02-13 09:54:24 +00:00
parent 0f31d231db
commit caa29af2a9
3 changed files with 146 additions and 23 deletions

13
tmux.1
View File

@ -1943,6 +1943,19 @@ All window options are documented with the
.Ic set-window-option
command.
.Pp
.Nm
also supports user options which are prefixed with a
.Ql \&@ .
User options may have any name, so long as it is prefixed with
.Ql \&@,
and be set to any string.
For example
.Bd -literal -offset indent
$ tmux setw -q @foo "abc123"
$ tmux showw -v @foo
abc123
.Ed
.Pp
Commands which set options are as follows:
.Bl -tag -width Ds
.It Xo Ic set-option