-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wezterm.lua
34 lines (29 loc) · 883 Bytes
/
.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
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- Preferences
-- Split Vertically
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '"',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
}
-- Split Horizontally
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '%',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
}
-- Font & Color Scheme
config.color_scheme = 'Gruvbox Dark (Gogh)'
config.font = wezterm.font('FiraCode Nerd Font', { weight = 'Bold', italic = false })
config.font_size = 9.0
-- and finally, return the configuration to wezterm
return config