-
Notifications
You must be signed in to change notification settings - Fork 0
/
wezterm.lua
35 lines (32 loc) · 914 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
35
local wezterm = require("wezterm")
-- local colors = wezterm.color.load_scheme(wezterm.home_dir .. "/.theme/nightfox.nvim/extra/nordfox/wezterm.toml")
local colors = wezterm.color.load_scheme(wezterm.home_dir .. "/.theme/vscode.nvim/extra/wezterm/vscode-dark.toml")
return {
window_decorations = "RESIZE",
font = wezterm.font("JetBrains Mono"),
initial_cols = 160,
initial_rows = 45,
colors = colors,
use_fancy_tab_bar = false,
hide_tab_bar_if_only_one_tab = true,
keys = {
{
key = '"',
mods = "SUPER|SHIFT",
action = wezterm.action.SplitPane({
direction = "Down",
size = { Percent = 30 },
}),
},
{
key = "§",
mods = "SUPER",
action = wezterm.action.PaneSelect({ alphabet = "12345689" }),
},
{
key = "d",
mods = "SUPER",
action = wezterm.action.CloseCurrentPane({ confirm = false }),
},
},
}