2022-08-03 17:39:55 +00:00
|
|
|
local wezterm = require 'wezterm';
|
|
|
|
|
|
|
|
return {
|
|
|
|
-- On MacOS, wezTerm hangs when reloading config
|
|
|
|
automatically_reload_config = false,
|
|
|
|
|
|
|
|
-- MacBook Pro setting with proper DPI
|
|
|
|
font = wezterm.font("Iosevka Term"),
|
|
|
|
font_size = 18,
|
2023-08-27 03:54:52 +00:00
|
|
|
-- font_antialias = "Subpixel",
|
2022-08-03 17:39:55 +00:00
|
|
|
dpi = 144.0,
|
|
|
|
|
|
|
|
-- Don't want tabbar by default
|
|
|
|
hide_tab_bar_if_only_one_tab = true,
|
|
|
|
|
2022-09-25 16:49:52 +00:00
|
|
|
-- Native fullscreen behavior on MacOS
|
|
|
|
native_macos_fullscreen_mode = true,
|
|
|
|
|
2023-08-27 03:54:52 +00:00
|
|
|
-- -- Acceleration
|
|
|
|
-- front_end = "WebGpu",
|
|
|
|
-- webgpu_power_preference = "HighPerformance",
|
|
|
|
|
2022-09-25 16:49:52 +00:00
|
|
|
-- Keyboard bindings
|
|
|
|
keys = {
|
|
|
|
{ key = 'f', mods = 'CMD|CTRL', action = wezterm.action.ToggleFullScreen, },
|
|
|
|
},
|
|
|
|
|
2022-08-03 17:39:55 +00:00
|
|
|
-- Color scheme and cursor
|
|
|
|
colors = {
|
|
|
|
cursor_bg = "red",
|
|
|
|
cursor_fg = "black",
|
|
|
|
cursor_border = "grey",
|
2023-08-27 03:54:52 +00:00
|
|
|
compose_cursor = "orange",
|
2022-08-03 17:39:55 +00:00
|
|
|
|
|
|
|
-- Color scheme
|
|
|
|
-- Molokini (https://github.com/asolkar/vim-color-molokini/blob/master/colors/molokini.vim)
|
|
|
|
-- Order: black, red, green, yellow, blue, magenta, cyan, white
|
|
|
|
ansi = { "#000000", "#F92672", "#A6E22E", "#FFDF5F",
|
|
|
|
"#66D9EF", "#7070F0", "#A1FFA4", "#ffffff" },
|
|
|
|
|
2023-08-27 03:54:52 +00:00
|
|
|
brights = { "#808080", "#f51d5a", "#9EC400", "#E7C547",
|
|
|
|
"#7AA6DA", "#B77EE0", "#54AE96", "#ffffff" },
|
2022-08-03 17:39:55 +00:00
|
|
|
}
|
|
|
|
}
|