Last active
June 13, 2023 15:32
-
-
Save AB9IL/7650164e753d786ef4c7ee066e847ca5 to your computer and use it in GitHub Desktop.
Wezterm Configuration-minimalist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--minimalist Wezterm config | |
--https://gist.github.com/AB9IL/7650164e753d786ef4c7ee066e847ca5 | |
local wezterm = require 'wezterm'; | |
return { | |
default_prog = default_prog, | |
hide_tab_bar_if_only_one_tab = true, | |
exit_behavior = 'Close', | |
term = 'xterm-256color', | |
color_scheme = 'Pro', | |
window_frame = { | |
font = wezterm.font { family = 'Noto Sans', weight = 400 }, | |
}, | |
window_decorations = 'NONE', | |
window_padding = { | |
left = 3, right = 3, | |
top = 3, bottom = 3, | |
}, | |
window_background_opacity = 0.7, | |
inactive_pane_hsb = { | |
saturation = 0.9, | |
brightness = 0.7, | |
}, | |
use_dead_keys = false, | |
scrollback_lines = 3500, | |
font = wezterm.font_with_fallback { | |
{ family = 'BitstreamVeraSansMono', weight = 400 }, | |
{ family = 'Symbols Nerd Font' }, | |
}, | |
font_size = 10.0, | |
line_height = 1.1, | |
disable_default_key_bindings = true, | |
keys = { | |
{ key = 'T', mods = 'CTRL', action = wezterm.action{SpawnTab='CurrentPaneDomain'}}, | |
{ key = '-', mods = 'CTRL', action = wezterm.action.DecreaseFontSize}, | |
{ key = '+', mods = 'CTRL', action = wezterm.action.IncreaseFontSize}, | |
{ key = '0', mods = 'CTRL', action = wezterm.action.ResetFontSize}, | |
{ key = 'N', mods = 'CTRL', action = wezterm.action.SpawnWindow}, | |
{ key = 'P', mods = 'CTRL', action = wezterm.action.ActivateCommandPalette}, | |
{ key = 'V', mods = 'CTRL', action = wezterm.action.PasteFrom('Clipboard')}, | |
{ key = 'C', mods = 'CTRL', action = wezterm.action.CopyTo('Clipboard')}, | |
{ key = 'F11', mods = 'NONE', action = wezterm.action.ToggleFullScreen}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment