31 lines
819 B
Lua
31 lines
819 B
Lua
-- Pull in the wezterm API
|
|
local wezterm = require("wezterm")
|
|
|
|
-- This will hold the configuration.
|
|
local config = wezterm.config_builder()
|
|
|
|
-- This is where you actually apply your config choices
|
|
|
|
-- For example, changing the color scheme:
|
|
config.color_scheme = "Tokyo Night Storm"
|
|
|
|
config.font = wezterm.font("Iosevka Nerd Font")
|
|
|
|
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
|