aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-06-23 15:36:52 +0000
committernicm <nicm>2017-06-23 15:36:52 +0000
commit95ed7d48c84198da0ec4b1b9b5de9358a47da753 (patch)
tree5b6515359ef39b43aae547292172ce20a17e160b /tmux.1
parenta67df177634f5ff3f6a24598d4016f61a794af62 (diff)
downloadrtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.tar.gz
rtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.tar.bz2
rtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.zip
Add user-keys option to allow user-defined keys to be set, from Dan
Aloni.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 12 insertions, 0 deletions
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