-- Pull in the wezterm API local wezterm = require("wezterm") local act = wezterm.action -- This will hold the configuration. local config = wezterm.config_builder() -- For example, changing the color scheme: config.color_scheme = "tokyonight_night" config.alternate_buffer_wheel_scroll_speed = 10 -- Change mouse scroll amount config.mouse_bindings = { { event = { Down = { streak = 1, button = { WheelUp = 1 } } }, mods = "NONE", action = act.ScrollByLine(-10), }, { event = { Down = { streak = 1, button = { WheelDown = 1 } } }, mods = "NONE", action = act.ScrollByLine(10), }, } config.font = wezterm.font({ family = "Iosevka Nerd Font", weight = "Regular", style = "Italic" }) config.font_size = 11 config.use_fancy_tab_bar = false config.hide_tab_bar_if_only_one_tab = true config.window_padding = { left = 0, right = 0, top = 0, bottom = 0, } config.keys = { { key = "v", mods = "CTRL", action = wezterm.action.PasteFrom("Clipboard") }, { key = "c", mods = "CTRL", action = wezterm.action.CopyTo("ClipboardAndPrimarySelection") }, { key = "C", mods = "CTRL", action = wezterm.action.SendString("\x03") }, } -- and finally, return the configuration to wezterm return config