-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.wezterm.lua
More file actions
35 lines (28 loc) · 929 Bytes
/
.wezterm.lua
File metadata and controls
35 lines (28 loc) · 929 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
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices.
-- For example, changing the initial geometry for new windows:
config.initial_cols = 120
config.initial_rows = 28
-- or, changing the font size and color scheme.
config.font_size = 14
config.color_scheme = 'AdventureTime'
config.keys = {
{
key = 'd',
mods = 'CMD',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
-- CTRL+SHIFT+ALT " SplitVertical={domain="CurrentPaneDomain"}
-- CTRL+SHIFT+ALT % SplitHorizontal={domain="CurrentPaneDomain"}
},
{
key = 'd',
mods = 'CMD|SHIFT',
-- action = wezterm.action.SplitVertical
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
}
}
-- Finally, return the configuration to wezterm:
return config