-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_wezterm.lua
47 lines (38 loc) · 1.22 KB
/
dot_wezterm.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- 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
config.color_scheme = 'FirefoxDev'
-- Overwrrite the color_scheme with custom colors
config.colors = {
background = "#000000",
foreground = "#8ea0b3",
}
config.font = wezterm.font(
"BerkeleyMono Nerd Font Mono Plus Font Awesome Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Material Design Icons Plus Weather Icons",
{
weight = 'Bold'
})
config.font_size = 16
config.enable_tab_bar = true
config.window_decorations = "TITLE | RESIZE"
config.window_background_opacity = 1.0 -- 0.75
config.macos_window_background_blur = 0 -- 8
config.keys = { -- Make Option-Left equivalent to Alt-b which many line editors interpret as backward-word
{
key = "LeftArrow",
mods = "OPT",
action = wezterm.action {
SendString = "\x1bb"
}
}, -- Make Option-Right equivalent to Alt-f; forward-word
{
key = "RightArrow",
mods = "OPT",
action = wezterm.action {
SendString = "\x1bf"
}
}}
-- and finally, return the configuration to wezterm
return config