-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwezterm.lua
82 lines (81 loc) · 2.13 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
local wezterm = require 'wezterm'
local act = wezterm.action
return {
default_prog = {'wsl.exe', '-u', 'kai', '--cd', '~'},
font = wezterm.font("Comic Code"),
font_rules = {
{
intensity = "Bold",
font = wezterm.font ("Comic Code", {weight = 'Bold'}),
}
},
freetype_load_target = "Normal",
freetype_load_flags = "NO_HINTING",
font_size = 10,
cell_width = 0.95,
line_height = 1.2,
color_scheme = "Gruvbox Dark (Gogh)",
window_background_opacity = 0.95,
hide_tab_bar_if_only_one_tab = true,
use_fancy_tab_bar = false,
tab_bar_at_bottom = true,
default_cursor_style = "SteadyUnderline",
keys = {
{
key = 'b',
mods = 'CTRL',
action = act.SplitPane {
direction = 'Right',
size = { Percent = 50 },
},
},
{
key = 'b',
mods = 'CTRL|SHIFT',
action = act.SplitPane {
direction = 'Down',
size = { Percent = 50 },
},
},
{
key = 'LeftArrow',
mods = 'CTRL|SHIFT',
action = act.ActivatePaneDirection 'Left',
},
{
key = 'RightArrow',
mods = 'CTRL|SHIFT',
action = act.ActivatePaneDirection 'Right',
},
{
key = 'UpArrow',
mods = 'CTRL|SHIFT',
action = act.ActivatePaneDirection 'Up',
},
{
key = 'DownArrow',
mods = 'CTRL|SHIFT',
action = act.ActivatePaneDirection 'Down',
},
{
key = tostring(1),
mods = "CTRL",
action = act.ActivateTab(0),
},
{
key = "RightArrow",
mods = "CTRL",
action = act.ActivateTabRelative(1),
},
{
key = "LeftArrow",
mods = "CTRL",
action = act.ActivateTabRelative(-1),
},
{
key = "w",
mods = "CTRL",
action = act.CloseCurrentTab { confirm = true }
}
}
}