1
0
Fork 0

wezterm: tab management

This commit is contained in:
Von Random 2024-05-21 13:50:28 +03:00
parent 8eefec7bb8
commit 7a2cb682ba
2 changed files with 2 additions and 3 deletions

View file

@ -9,6 +9,7 @@ local keybinds = {
{ key = 't', mods = 'LEADER', action = act.EmitEvent('override-theme') }, { key = 't', mods = 'LEADER', action = act.EmitEvent('override-theme') },
{ key = 'r', mods = 'LEADER', action = act.EmitEvent('override-reset') }, { key = 'r', mods = 'LEADER', action = act.EmitEvent('override-reset') },
-- tabs -- tabs
{ key = 'w', mods = 'LEADER', action = act.ShowTabNavigator },
{ key = 'c', mods = 'LEADER', action = act.SpawnTab('DefaultDomain') }, { key = 'c', mods = 'LEADER', action = act.SpawnTab('DefaultDomain') },
{ key = 'n', mods = 'LEADER', action = act.ActivateTabRelative( 1) }, { key = 'n', mods = 'LEADER', action = act.ActivateTabRelative( 1) },
{ key = 'p', mods = 'LEADER', action = act.ActivateTabRelative(-1) }, { key = 'p', mods = 'LEADER', action = act.ActivateTabRelative(-1) },

View file

@ -28,11 +28,9 @@ cfg.font_size = fn.set_by_os{
} }
-- visuals -- visuals
cfg.window_decorations = 'RESIZE'
cfg.xcursor_theme = 'Adwaita' cfg.xcursor_theme = 'Adwaita'
cfg.use_fancy_tab_bar = false cfg.use_fancy_tab_bar = false
cfg.hide_tab_bar_if_only_one_tab = false cfg.enable_tab_bar = false
cfg.show_new_tab_button_in_tab_bar = false
cfg.tab_max_width = 128 cfg.tab_max_width = 128
cfg.window_padding = { cfg.window_padding = {
left = '5pt', left = '5pt',