-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwezterm.lua
More file actions
44 lines (40 loc) · 1018 Bytes
/
Copy pathwezterm.lua
File metadata and controls
44 lines (40 loc) · 1018 Bytes
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
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.hide_tab_bar_if_only_one_tab = true
config.font = wezterm.font 'Jetbrains Mono'
config.font_size = 18.0
config.colors = {
cursor_fg = 'black',
cursor_bg = 'white',
selection_fg = 'black',
selection_bg = 'white',
foreground = '#ffffff',
background = '#000000',
ansi = {
'#000000',
'#cc6666',
'#66cc99',
'#cc9966',
'#6699cc',
'#cc6699',
'#66cccc',
'#cccccc',
},
brights = {
'#999999',
'#ff9999',
'#99ffcc',
'#ffcc99',
'#99ccff',
'#ff99cc',
'#99ffff',
'#ffffff',
}
}
local act = wezterm.action
config.keys = {
{ key = 'DownArrow', mods = 'CTRL', action = act.SpawnTab 'CurrentPaneDomain'},
{ key = 'LeftArrow', mods = 'CTRL', action = act.ActivateTabRelative(-1)},
{ key = 'RightArrow', mods = 'CTRL', action = act.ActivateTabRelative(1)},
}
return config