From 4d2fa4d196b598bd96f4e4270e0317d4ef02d975 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 24 Jan 2022 13:27:49 +0100 Subject: [PATCH] wezterm: font size reset and window padding --- .config/wezterm/wezterm.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 833a4b1..744aee6 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -3,8 +3,6 @@ local wezterm = require 'wezterm'; local editPanes = {}; local editMarker = ":nvim"; -local padding = 8; - -- Window titles are a perfectly fine IPC mechanism 😁 wezterm.on("update-right-status", function(window, pane) @@ -121,13 +119,13 @@ return { font_size = 13.0, line_height = 1.0, - initial_cols = 100, - initial_rows = 55, + initial_cols = 110, + initial_rows = 49, window_padding = { - left = padding, - right = padding, - top = padding, - bottom = padding, + left = 10, + right = 10, + top = 0, + bottom = 0, }, enable_tab_bar = false, @@ -161,6 +159,7 @@ return { {key="k", mods="LEADER", action=wezterm.action{CloseCurrentTab={confirm=true}}}, {key="l", mods="LEADER", action="ShowLauncher"}, + {key="0", mods="CTRL", action="ResetFontSize"}, {key="-", mods="CTRL", action="DecreaseFontSize"}, {key="=", mods="CTRL", action="IncreaseFontSize"}, {key="Enter", mods="ALT", action="ToggleFullScreen"},