feat(wezterm): bind to rename tab

main
sgoudham 10 months ago
parent 06509ff3af
commit 618a571f77
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -34,6 +34,20 @@ return {
{ key = "n", mods = "ALT|SHIFT", action = act({ SpawnTab = "CurrentPaneDomain" }) },
{ key = "m", mods = "ALT|SHIFT", action = act({ SpawnTab = "DefaultDomain" }) },
-- Interactively Rename Tab
{
key = "E",
mods = "ALT|SHIFT",
action = act.PromptInputLine({
description = "New Tab Name",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end),
}),
},
-- Open Links Via Keyboard
{
key = "o",
@ -60,5 +74,5 @@ return {
mods = "CTRL",
action = act.OpenLinkAtMouseCursor,
},
}
},
}
Loading…
Cancel
Save