1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-19 19:31:49 +03:00
wezterm/docs/config/lua/keyassignment/Multiple.md

22 lines
432 B
Markdown
Raw Normal View History

# 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`:
```lua
return {
keys = {
{key="LeftArrow", action={Multiple={
{SendKey={key="l"}},
{SendKey={key="e"}},
{SendKey={key="f"}},
{SendKey={key="t"}},
}}}
}
}
```