local wezterm = require("wezterm") local config = {} config.color_scheme = "Batman" local workspace_switcher = wezterm.plugin.require("https://github.com/MLFlexer/smart_workspace_switcher.wezterm") workspace_switcher.zoxide_path = "/opt/homebrew/bin/zoxide" workspace_switcher.apply_to_config(config) config.leader = { key = "x", mods = "CTRL", timeout_milliseconds = 1000 } config.keys = { -- ... -- your other keybindings { key = "s", mods = "LEADER", action = workspace_switcher.switch_workspace(), }, { key = "S", mods = "LEADER", action = workspace_switcher.switch_to_prev_workspace(), }, { key = "m", mods = "CMD", action = wezterm.action.DisableDefaultAssignment, }, } return config