Edit page MedicalRecords
[wiki.git] / wezterm
1 local wezterm = require 'wezterm';
2
3 return {
4   automatically_reload_config = true,
5   enable_scroll_bar = true,
6
7   -- color_scheme = "Batman",
8   -- font = wezterm.font("Lucida Console", {}),
9   -- font = wezterm.font("Noto Sans Mono", {}),
10   font_size = 9.0,
11   harfbuzz_features = {"calt=0", "clig=0", "liga=0"},
12
13   audible_bell = "Disabled",
14   visual_bell = {
15     fade_in_duration_ms = 0,
16     fade_out_duration_ms = 50,
17     target = "BackgroundColor",
18     -- target = "CursorColor",
19   },
20   colors = {
21     cursor_bg = "yellow",
22     cursor_fg = "black",
23     visual_bell = "#661111",
24     split = "#888888",
25   },
26   window_background_opacity = 1.0,
27   window_background_gradient = {
28     orientation = "Vertical",
29     colors = {
30       "#222244",
31       "#111133",
32       "#110808"
33     },
34     -- preset = "Warm",
35     interpolation = "Linear",
36     blend = "Rgb",
37     noise = 64,
38     -- segment_size = 50,
39     -- segment_smoothness = 0.0,
40   },
41   inactive_pane_hsb = {
42     saturation = 0.7,
43     brightness = 1.0,
44   },
45
46   default_prog = {os.getenv("HOME") .. "/bin/zsh"},
47   keys = {
48     -- {key="r", mods="CMD|SHIFT", action="ReloadConfiguration"},
49     {mods="CTRL|SHIFT", key="d", action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}},
50     {mods="CTRL|SHIFT", key="r", action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}},
51     {mods="CTRL|SHIFT", key="w", action=wezterm.action{CloseCurrentPane={confirm=true}}},
52     {mods="CTRL|SHIFT", key="f", action="ToggleFullScreen"},
53   },
54
55   ssh_domains = {
56     {
57       name = "desk",
58       remote_address = "binnocenti-z2.spacex.corp",
59       remote_wezterm_path = "/home/binnocenti/bin/wezterm",
60       username = "binnocenti",
61     }
62   },
63   tls_clients = {
64     {
65       name = "desktls",
66       remote_address = "binnocenti-z2.spacex.corp:8080",
67       bootstrap_via_ssh = "binnocenti@binnocenti-z2.spacex.corp",
68     }
69   },
70 }