forked from thoughtbot/dotfiles
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wezterm.lua
50 lines (47 loc) · 1.07 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
local wezterm = require 'wezterm'
local config = {}
local act = wezterm.action
if wezterm.config_builder then
config = wezterm.config_builder()
end
config.color_scheme = 'iceberg-dark'
config.font = wezterm.font_with_fallback {
'HackGen35 Console NF',
'Menlo Regular'
}
config.font_size = 14
config.hide_tab_bar_if_only_one_tab = true
config.adjust_window_size_when_changing_font_size = false
config.send_composed_key_when_left_alt_is_pressed = true
config.enable_scroll_bar = true
config.scrollback_lines = 3500
config.initial_rows = 30
config.initial_cols = 120
config.line_height = 0.9
config.cell_width = 0.9
config.keys = {
{
key = 'LeftArrow',
mods = 'OPT',
action = act.SendKey {
key = 'b',
mods = 'ALT',
},
},
{
key = 'RightArrow',
mods = 'OPT',
action = act.SendKey { key = 'f', mods = 'ALT' },
},
{
key = "UpArrow",
mods = "OPT",
action = wezterm.action.SendKey { key = "e", mods = "CTRL" }
},
{
key = "DownArrow",
mods = "OPT",
action = act.SendKey { key = "a", mods = "CTRL" }
}
}
return config