mirror of
https://github.com/wez/wezterm.git
synced 2024-12-20 11:52:18 +03:00
809bb53387
This makes the individual functions a bit easier to discover, and a lot easier to link to.
18 lines
443 B
Markdown
18 lines
443 B
Markdown
# ActivateTabRelative
|
|
|
|
Activate a tab relative to the current tab. The argument value specifies an
|
|
offset. eg: `-1` activates the tab to the left of the current tab, while `1`
|
|
activates the tab to the right.
|
|
|
|
```lua
|
|
local wezterm = require 'wezterm';
|
|
return {
|
|
keys = {
|
|
{key="{", mods="SHIFT|ALT", action=wezterm.action{ActivateTabRelative=-1}},
|
|
{key="}", mods="SHIFT|ALT", action=wezterm.action{ActivateTabRelative=1}},
|
|
}
|
|
}
|
|
```
|
|
|
|
|