45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
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,
|
|
-- font_antialias = "Subpixel",
|
|
dpi = 144.0,
|
|
|
|
-- Don't want tabbar by default
|
|
hide_tab_bar_if_only_one_tab = true,
|
|
|
|
-- Native fullscreen behavior on MacOS
|
|
native_macos_fullscreen_mode = true,
|
|
|
|
-- -- Acceleration
|
|
-- front_end = "WebGpu",
|
|
-- webgpu_power_preference = "HighPerformance",
|
|
|
|
-- Keyboard bindings
|
|
keys = {
|
|
{ key = 'f', mods = 'CMD|CTRL', action = wezterm.action.ToggleFullScreen, },
|
|
},
|
|
|
|
-- Color scheme and cursor
|
|
colors = {
|
|
cursor_bg = "red",
|
|
cursor_fg = "black",
|
|
cursor_border = "grey",
|
|
compose_cursor = "orange",
|
|
|
|
-- 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" },
|
|
|
|
brights = { "#808080", "#f51d5a", "#9EC400", "#E7C547",
|
|
"#7AA6DA", "#B77EE0", "#54AE96", "#ffffff" },
|
|
}
|
|
}
|