refs: https://github.com/wez/wezterm/pull/2273 refs: https://github.com/wez/wezterm/issues/2253
439 B
439 B
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.
local wezterm = require 'wezterm'
local act = wezterm.action
return {
keys = {
{ key = '{', mods = 'SHIFT|ALT', action = act.MoveTabRelative(-1) },
{ key = '}', mods = 'SHIFT|ALT', action = act.MoveTabRelative(1) },
},
}