mirror of
https://github.com/wez/wezterm.git
synced 2024-12-19 19:31:49 +03:00
18 lines
417 B
Markdown
18 lines
417 B
Markdown
|
# MoveTabRelative
|
||
|
|
||
|
Move the current tab relative to its peers. The argument specifies an
|
||
|
offset. eg: `-1` moves the tab to the left of the current tab, while `1` moves
|
||
|
the tab to the right.
|
||
|
|
||
|
```lua
|
||
|
local wezterm = require 'wezterm';
|
||
|
return {
|
||
|
keys = {
|
||
|
{key="{", mods="SHIFT|ALT", action=wezterm.action{MoveTabRelative=-1}},
|
||
|
{key="}", mods="SHIFT|ALT", action=wezterm.action{MoveTabRelative=1}},
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
|