2020-10-10 18:40:14 +03:00
|
|
|
# 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 = {
|
2021-12-23 19:32:49 +03:00
|
|
|
{key="{", mods="ALT", action=wezterm.action{ActivateTabRelative=-1}},
|
|
|
|
{key="}", mods="ALT", action=wezterm.action{ActivateTabRelative=1}},
|
2020-10-10 18:40:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2021-12-23 19:32:49 +03:00
|
|
|
See also [ActivateTabRelativeNoWrap](ActivateTabRelativeNoWrap.md)
|
|
|
|
|
2020-10-10 18:40:14 +03:00
|
|
|
|