-
Notifications
You must be signed in to change notification settings - Fork 1
/
wezterm.ubuntu.lua
52 lines (40 loc) · 1.5 KB
/
wezterm.ubuntu.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
-- Pull in the wezterm API
local wezterm = require("wezterm")
local config = wezterm.config_builder()
local act = wezterm.action
local mux = wezterm.mux
wezterm.on("gui-startup", function()
local tab, pane, window = mux.spawn_window({})
window:gui_window():maximize()
end)
config.color_scheme = "zenbones"
config.font = wezterm.font("EnvyCodeR Nerd Font", { weight = "Regular", stretch = "Normal", style = "Normal" })
config.font_size = 11.
config.use_fancy_tab_bar = true
config.hide_tab_bar_if_only_one_tab = true
config.use_dead_keys = false
config.scrollback_lines = 5000
-- config.disable_default_key_bindings = true
config.keys = {
{ key = "LeftArrow", mods = "SUPER|SHIFT", action = act.ActivateTabRelative(-1) },
{ key = "RightArrow", mods = "SUPER|SHIFT", action = act.ActivateTabRelative(1) },
{ key = "LeftArrow", mods = "SUPER", action = act.ActivatePaneDirection("Left") },
{ key = "RightArrow", mods = "SUPER", action = act.ActivatePaneDirection("Right") },
{ key = "UpArrow", mods = "SUPER", action = act.ActivatePaneDirection("Up") },
{ key = "DownArrow", mods = "SUPER", action = act.ActivatePaneDirection("Down") },
{ key = "LeftArrow", mods = "CTRL|SHIFT", action = act.SwitchWorkspaceRelative(-1) },
{ key = "RightArrow", mods = "CTRL|SHIFT", action = act.SwitchWorkspaceRelative(1) },
}
config.ssh_domains = {
{
name = "raspi",
remote_address = "192.168.68.103",
username = "pi",
},
{
name = "storm",
remote_address = "192.168.68.106",
username = "aldi",
},
}
return config