wezterm: font size reset and window padding
This commit is contained in:
parent
4540b8a334
commit
4d2fa4d196
1 changed files with 7 additions and 8 deletions
|
@ -3,8 +3,6 @@ local wezterm = require 'wezterm';
|
||||||
local editPanes = {};
|
local editPanes = {};
|
||||||
local editMarker = ":nvim";
|
local editMarker = ":nvim";
|
||||||
|
|
||||||
local padding = 8;
|
|
||||||
|
|
||||||
-- Window titles are a perfectly fine IPC mechanism 😁
|
-- Window titles are a perfectly fine IPC mechanism 😁
|
||||||
|
|
||||||
wezterm.on("update-right-status", function(window, pane)
|
wezterm.on("update-right-status", function(window, pane)
|
||||||
|
@ -121,13 +119,13 @@ return {
|
||||||
font_size = 13.0,
|
font_size = 13.0,
|
||||||
line_height = 1.0,
|
line_height = 1.0,
|
||||||
|
|
||||||
initial_cols = 100,
|
initial_cols = 110,
|
||||||
initial_rows = 55,
|
initial_rows = 49,
|
||||||
window_padding = {
|
window_padding = {
|
||||||
left = padding,
|
left = 10,
|
||||||
right = padding,
|
right = 10,
|
||||||
top = padding,
|
top = 0,
|
||||||
bottom = padding,
|
bottom = 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
enable_tab_bar = false,
|
enable_tab_bar = false,
|
||||||
|
@ -161,6 +159,7 @@ return {
|
||||||
{key="k", mods="LEADER", action=wezterm.action{CloseCurrentTab={confirm=true}}},
|
{key="k", mods="LEADER", action=wezterm.action{CloseCurrentTab={confirm=true}}},
|
||||||
{key="l", mods="LEADER", action="ShowLauncher"},
|
{key="l", mods="LEADER", action="ShowLauncher"},
|
||||||
|
|
||||||
|
{key="0", mods="CTRL", action="ResetFontSize"},
|
||||||
{key="-", mods="CTRL", action="DecreaseFontSize"},
|
{key="-", mods="CTRL", action="DecreaseFontSize"},
|
||||||
{key="=", mods="CTRL", action="IncreaseFontSize"},
|
{key="=", mods="CTRL", action="IncreaseFontSize"},
|
||||||
{key="Enter", mods="ALT", action="ToggleFullScreen"},
|
{key="Enter", mods="ALT", action="ToggleFullScreen"},
|
||||||
|
|
Loading…
Reference in a new issue