diff options
author | nicm <nicm> | 2022-12-16 08:13:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-12-16 08:13:40 +0000 |
commit | 3b3f42053a5f11af5285392a5a072facbc16f4a9 (patch) | |
tree | f25bf77a7a4d0c46aa701fe6b23439fa1effc913 /tmux.1 | |
parent | 7e497c7f2303b29b0f44fe360a78c44ca86b87f9 (diff) |
Add send-keys -K to handle keys directly as if typed (so look up in key
table). GitHub issue 3361.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -3212,13 +3212,14 @@ lists only the first matching key. lists the command for keys that do not have a note rather than skipping them. .Tg send .It Xo Ic send-keys -.Op Fl FHlMRX +.Op Fl FHKlMRX +.Op Fl c Ar target-client .Op Fl N Ar repeat-count .Op Fl t Ar target-pane .Ar key Ar ... .Xc .D1 Pq alias: Ic send -Send a key or keys to a window. +Send a key or keys to a window or client. Each argument .Ar key is the name of the key (such as @@ -3227,6 +3228,12 @@ or .Ql NPage ) to send; if the string is not recognised as a key, it is sent as a series of characters. +If +.Fl K +is given, keys are sent to +.Ar target-client , +so they are looked up in the client's key table, rather than to +.Ar target-pane . All arguments are sent sequentially from first to last. If no keys are given and the command is bound to a key, then that key is used. .Pp |