Add user-keys option to allow user-defined keys to be set, from Dan

Aloni.
This commit is contained in:
nicm
2017-06-23 15:36:52 +00:00
parent a67df17763
commit 95ed7d48c8
6 changed files with 50 additions and 3 deletions

12
tmux.1
View File

@ -2863,6 +2863,18 @@ removed from the session environment (as if
was given to the
.Ic set-environment
command).
.It Ic user-keys[] Ar key
Set list of user-defined key escape sequences.
Each item is associated with a key named
.Ql User0,
.Ql User1,
and so on.
.Pp
For example:
.Bd -literal -offset indent
set -s user-keys[0] '\e[5;30012~'
bind User0 resize-pane -L 3
.Ed
.It Xo Ic visual-activity
.Op Ic on | off
.Xc