-
Notifications
You must be signed in to change notification settings - Fork 2
/
wezterm.lua
124 lines (123 loc) · 3.34 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
local wezterm = require("wezterm")
return {
color_scheme = "Everforest Dark Medium (Gogh)",
default_prog = { "pwsh" },
enable_tab_bar = false,
font = wezterm.font("Cascadia Code NF"),
keys = {
{
action = wezterm.action.ActivatePaneDirection("Down"),
key = "DownArrow",
mods = "ALT",
},
{
action = wezterm.action.ActivatePaneDirection("Left"),
key = "LeftArrow",
mods = "ALT",
},
{
action = wezterm.action.ActivatePaneDirection("Right"),
key = "RightArrow",
mods = "ALT",
},
{
action = wezterm.action.ActivatePaneDirection("Up"),
key = "UpArrow",
mods = "ALT",
},
{
action = wezterm.action.ActivateTabRelative(-1),
key = "Tab",
mods = "CTRL|SHIFT",
},
{
action = wezterm.action.ActivateTabRelative(1),
key = "Tab",
mods = "CTRL",
},
{
action = wezterm.action.AdjustPaneSize({ "Down", 10 }),
key = "DownArrow",
mods = "ALT|SHIFT",
},
{
action = wezterm.action.AdjustPaneSize({ "Left", 10 }),
key = "LeftArrow",
mods = "ALT|SHIFT",
},
{
action = wezterm.action.AdjustPaneSize({ "Right", 10 }),
key = "RightArrow",
mods = "ALT|SHIFT",
},
{
action = wezterm.action.AdjustPaneSize({ "Up", 10 }),
key = "UpArrow",
mods = "ALT|SHIFT",
},
{
action = wezterm.action.CloseCurrentPane({ confirm = false }),
key = "w",
mods = "CTRL",
},
{
action = wezterm.action.CopyTo("Clipboard"),
key = "C",
mods = "CTRL",
},
{
action = wezterm.action.PasteFrom("Clipboard"),
key = "v",
mods = "CTRL",
},
{
action = wezterm.action.ScrollByLine(-10),
key = "UpArrow",
mods = "SHIFT",
},
{
action = wezterm.action.ScrollByLine(10),
key = "DownArrow",
mods = "SHIFT",
},
{
action = wezterm.action.ScrollByPage(-1),
key = "PageUp",
},
{
action = wezterm.action.ScrollByPage(1),
key = "PageDown",
},
{
action = wezterm.action.ScrollToBottom,
key = "End",
mods = "CTRL",
},
{
action = wezterm.action.ScrollToTop,
key = "Home",
mods = "CTRL",
},
{
action = wezterm.action.SpawnCommandInNewTab({ args = { "nvim", wezterm.config_dir .. "/wezterm.lua" } }),
key = ",",
mods = "CTRL",
},
{
action = wezterm.action.SpawnTab("CurrentPaneDomain"),
key = "t",
mods = "CTRL",
},
{
action = wezterm.action.SplitHorizontal,
key = "RightArrow",
mods = "CTRL|ALT",
},
{
action = wezterm.action.SplitVertical,
key = "DownArrow",
mods = "CTRL|ALT",
},
},
max_fps = 144,
}