wezterm: update config

This commit is contained in:
Gabriel Arazas 2023-07-25 18:25:22 +08:00
parent d56e7c9552
commit 827a7c4118
2 changed files with 5 additions and 7 deletions

View File

@ -48,6 +48,10 @@ function module.apply_to_config(config)
config.color_schemes[light_scheme_metadata.name] = light_scheme
config.color_scheme = scheme_for_appearance()
config.command_palette_fg_color = config.color_schemes[config.color_scheme].foreground
config.command_palette_bg_color = config.color_schemes[config.color_scheme].background
config.command_palette_font_size = config.font_size
-- Disable some annoying mouse thingies.
config.hide_mouse_cursor_when_typing = false
config.pane_focus_follows_mouse = true

View File

@ -109,6 +109,7 @@ function module.apply_to_config(config)
{ key = "r", mods = keymod, action = act.ReloadConfiguration },
{ key = "t", mods = keymod, action = act.ShowDebugOverlay },
{ key = "p", mods = keymod, action = act.ActivateCommandPalette },
-- Selection
{ key = "Space", mods = "LEADER", action = act.QuickSelect },
@ -151,13 +152,6 @@ function module.apply_to_config(config)
},
},
{
key = "p",
action = act.Search {
Regex = "legacyPackages[[:alpha:][:digit:]]+"
},
},
{ key = "Space", action = act.QuickSelect },
{ key = "s", action = act.QuickSelect },
{ key = "f", action = act.Search { CaseSensitiveString = "" } },