From 7a2cb682ba4586c34be2ab80964b720b146f32b5 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 21 May 2024 13:50:28 +0300 Subject: [PATCH] wezterm: tab management --- gui/.config/wezterm/keybinds.lua | 1 + gui/.config/wezterm/wezterm.lua | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/.config/wezterm/keybinds.lua b/gui/.config/wezterm/keybinds.lua index 14fe638..7860639 100644 --- a/gui/.config/wezterm/keybinds.lua +++ b/gui/.config/wezterm/keybinds.lua @@ -9,6 +9,7 @@ local keybinds = { { key = 't', mods = 'LEADER', action = act.EmitEvent('override-theme') }, { key = 'r', mods = 'LEADER', action = act.EmitEvent('override-reset') }, -- tabs + { key = 'w', mods = 'LEADER', action = act.ShowTabNavigator }, { key = 'c', mods = 'LEADER', action = act.SpawnTab('DefaultDomain') }, { key = 'n', mods = 'LEADER', action = act.ActivateTabRelative( 1) }, { key = 'p', mods = 'LEADER', action = act.ActivateTabRelative(-1) }, diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index c8ae591..60ba06b 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -28,11 +28,9 @@ cfg.font_size = fn.set_by_os{ } -- visuals -cfg.window_decorations = 'RESIZE' cfg.xcursor_theme = 'Adwaita' cfg.use_fancy_tab_bar = false -cfg.hide_tab_bar_if_only_one_tab = false -cfg.show_new_tab_button_in_tab_bar = false +cfg.enable_tab_bar = false cfg.tab_max_width = 128 cfg.window_padding = { left = '5pt',