mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 14:54:16 +03:00
e0ea0f46a8
refs: https://github.com/wez/wezterm/pull/2273 refs: https://github.com/wez/wezterm/issues/2253
555 B
555 B
Multiple
Since: 20211204-082213-a66c61ee9
Performs a sequence of multiple assignments. This is useful when you want a single key press to trigger multiple actions.
The example below causes LeftArrow
to effectively type left
:
local wezterm = require 'wezterm'
local act = wezterm.action
return {
keys = {
{
key = 'LeftArrow',
action = act.Multiple {
act.SendKey { key = 'l' },
act.SendKey { key = 'e' },
act.SendKey { key = 'f' },
act.SendKey { key = 't' },
},
},
},
}