You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.2 KiB
Lua

local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- JellyBeans is not recognized
-- config.color_scheme = 'JellyBeans'
config.adjust_window_size_when_changing_font_size = false
-- Set the default starting directory when opening the terminal
-- config.default_cwd
-- The scroll bar is disabled by default but sometimes when you have really
-- long output I like it.
config.enable_scroll_bar = true
-- whether or not the tab bar is shown
config.enable_tab_bar = true
-- hide the tab bar in windows that have only one tab
config.hide_tab_bar_if_only_one_tab = true
config.font = wezterm.font('JetBrains Mono', { weight = 'Bold' })
config.font_size = 14
config.launch_menu = {
{
args = { 'lazydocker' },
}
}
config.keys = {
{
key = 'Enter',
mods = 'CMD',
action = wezterm.action.ToggleFullScreen,
},
}
config.native_macos_fullscreen_mode = true
config.scrollback_lines = 10000
config.tab_bar_at_bottom = true
-- config.initial_cols = 90
-- config.initial_rows = 24
config.window_padding = {
left = 0,
-- this becomes the width of the scrollbar
right = 0,
top = 0,
bottom = -8,
}
config.set_environment_variables = {
NERD_FONTS = "1",
}
return config