-
Notifications
You must be signed in to change notification settings - Fork 0
/
wezterm.lua
62 lines (56 loc) · 1.44 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
local wezterm = require("wezterm")
local config = wezterm.config_builder()
config.color_scheme = "Catppuccin Mocha"
config.font_size = 19
config.font = wezterm.font("JetBrainsMono Nerd Font")
config.window_close_confirmation = "NeverPrompt"
config.window_decorations = "RESIZE"
config.automatically_reload_config = false
config.swallow_mouse_click_on_window_focus = true
config.window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
}
config.adjust_window_size_when_changing_font_size = false
config.keys = {
{
key = "F11",
action = wezterm.action.ToggleFullScreen,
},
{
key = "+",
mods = "CTRL",
action = wezterm.action.IncreaseFontSize,
},
{
key = "-",
mods = "CTRL",
action = wezterm.action.DecreaseFontSize,
},
{
key = "=",
mods = "CTRL",
action = wezterm.action.ResetFontSize,
},
{ key = "LeftArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bb" }) },
{ key = "RightArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bf" }) },
{
key = "\\",
mods = "CTRL",
action = wezterm.action.ActivateCopyMode,
},
{
key = "Backspace",
mods = "CTRL",
action = wezterm.action.SendKey({ mods = "CTRL", key = "w" }),
},
}
config.char_select_font_size = 13
config.char_select_fg_color = "#cdd6f4"
config.char_select_bg_color = "#1e1e2e"
config.selection_word_boundary = " \t\n{}[]()\"'`,;:@│┃*…$"
config.audible_bell = "Disabled"
config.hide_tab_bar_if_only_one_tab = true
return config