snips/wezterm.lua.mac

41 lines
1.2 KiB
Plaintext
Raw Normal View History

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,
font_antialias = "Subpixel",
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,
-- 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",
compose_curspr = "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" },
bright = { "#808080", "#f51d5a", "#9EC400", "#E7C547",
"#7AA6DA", "#B77EE0", "#54AE96", "#ffffff" },
}
}