feat: wezTerm session_manager

This commit is contained in:
2025-04-06 09:40:51 +02:00
parent 9a6396a898
commit 8cbca7179d
7 changed files with 370 additions and 17 deletions

View File

@ -54,8 +54,12 @@ return {
mods = "LEADER",
action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
},
-- session manager
{ key = "s", mods = "LEADER", action = act({ EmitEvent = "save_session" }) },
{ key = "l", mods = "LEADER", action = act({ EmitEvent = "load_session" }) },
{ key = "r", mods = "LEADER", action = act({ EmitEvent = "restore_session" }) },
},
key_tables = {
resize_pane = {
{ key = "LeftArrow", action = act.AdjustPaneSize({ "Left", 5 }) },