-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.wezterm.lua
55 lines (52 loc) · 1.41 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
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- How many lines of scrollback you want to retain per tab
config.scrollback_lines = 25500
-- This is where you actually apply your config choices
config.color_scheme = 'Tokyo Night Storm'
config.enable_scroll_bar = true
-- config.colors = { scrollbar_thumb = '#ffffff' }
config.audible_bell = 'Disabled'
-- and finally, return the configuration to wezterm
config.term = 'wezterm'
config.initial_rows = 500
config.initial_cols = 500
config.keys = {
{
key = 'r',
mods = 'CTRL|SHIFT',
action = wezterm.action.ActivateTabRelative(-1),
},
{
key = 't',
mods = 'CTRL',
action = wezterm.action.ActivateTabRelative(1),
},
-- This will create a new split and run your default program inside it
{
key = 'h',
mods = 'CTRL|SHIFT',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
{
key = 'j',
mods = 'CTRL|SHIFT',
action = wezterm.action.ActivatePaneDirection 'Next'
},
}
-- for i = 1, 8 do
-- table.insert(config.keys {
-- key = tostring(i),
-- mods = 'CRTL|SHIFT',
-- action = wezterm.action.ActivateTab(i),
-- })
-- end
--
return config