From 95ed7d48c84198da0ec4b1b9b5de9358a47da753 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 23 Jun 2017 15:36:52 +0000 Subject: Add user-keys option to allow user-defined keys to be set, from Dan Aloni. --- tmux.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 27833560..8cf1628c 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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 -- cgit