From 7351df249f6ef296acb5be63af5d5538d7ea10d2 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 8 Sep 2024 12:22:14 +0800 Subject: [PATCH] wezterm: update config --- wezterm/config/appearance.lua | 6 +++--- wezterm/config/keys.lua | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wezterm/config/appearance.lua b/wezterm/config/appearance.lua index 8b188fa..9d7ce59 100644 --- a/wezterm/config/appearance.lua +++ b/wezterm/config/appearance.lua @@ -6,9 +6,9 @@ local wezterm = require("wezterm") local xdg_data_home = os.getenv("XDG_DATA_HOME") or "~/.local/share" local theme_dir = xdg_data_home .. "/base16/bark-on-a-tree" local light_scheme, light_scheme_metadata = - wezterm.color.load_base16_scheme(theme_dir .. "/albino-bark-on-a-tree.yaml") + wezterm.color.load_base16_scheme(theme_dir .. "/albino-bark-on-a-tree.yaml") local dark_theme, dark_theme_metadata = - wezterm.color.load_base16_scheme(theme_dir .. "/bark-on-a-tree.yaml") + wezterm.color.load_base16_scheme(theme_dir .. "/bark-on-a-tree.yaml") local function scheme_for_appearance() -- We're just following the default XDG appearance spec. @@ -62,7 +62,7 @@ function module.apply_to_config(config) -- Disable some more annoyances. config.enable_tab_bar = true config.enable_scroll_bar = false - config.tab_bar_at_bottom = true + config.tab_bar_at_bottom = false config.window_decorations = "RESIZE" -- Configuring the appearance of the tab bar. diff --git a/wezterm/config/keys.lua b/wezterm/config/keys.lua index 2f03b80..f854a60 100644 --- a/wezterm/config/keys.lua +++ b/wezterm/config/keys.lua @@ -78,6 +78,7 @@ function module.apply_to_config(config) { key = "DownArrow", mods = keymod, action = act.ActivatePaneDirection("Down") }, { key = "UpArrow", mods = keymod, action = act.ActivatePaneDirection("Up") }, { key = "RightArrow", mods = keymod, action = act.ActivatePaneDirection("Right") }, + { key = "^", mods = keymod, action = act.ActivateLastTab }, -- More pane-related niceties. { key = "f", mods = "LEADER", action = act.TogglePaneZoomState },