-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwezterm.lua
72 lines (54 loc) · 1.54 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
local wezterm = require 'wezterm'
return {
term = 'wezterm',
font = wezterm.font_with_fallback({
"Pragmasevka",
"feather",
}),
font_size = 18.0,
bold_brightens_ansi_colors = true,
-- Tab
enable_tab_bar = true,
hide_tab_bar_if_only_one_tab = true, -- Smart tab bar [distraction-free mode]
tab_bar_at_bottom = true,
tab_max_width = 32,
use_fancy_tab_bar = false,
show_tab_index_in_tab_bar = false,
switch_to_last_active_tab_when_closing_tab = true,
show_new_tab_button_in_tab_bar = false,
window_padding = {
left = 10,
right = 10,
top = 5,
bottom = 5,
},
window_decorations = "RESIZE",
-- Initial window size on startup
initial_rows = 22,
initial_cols = 72,
adjust_window_size_when_changing_font_size = true,
--Scrollback config
enable_scroll_bar = false,
--scrollback_lines = 5000, -- How many lines of scrollback you want to retain per tab (default is 3500)
default_cursor_style = "BlinkingBlock",
enable_wayland = true,
use_ime = false,
default_prog = {"/usr/bin/zsh", "-l"}, -- Spawn a zsh shell in login mode
default_cwd = "$HOME",
warn_about_missing_glyphs = false,
check_for_updates = false,
exit_behavior = "Close",
audible_bell = "Disabled",
color_scheme = 'Catppuccin Mocha',
window_background_opacity = 0.88,
keys = {
{
key = 'RightArrow',mods = 'CTRL',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain'},
},
{
key = 'DownArrow',mods = 'CTRL',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain'},
}
},
}