feat(wezterm): add togglable fullscreen

This commit is contained in:
Price Hiller 2022-07-08 21:42:33 -05:00
parent 5f5afe0e10
commit ea97c365c8
2 changed files with 4 additions and 0 deletions

View File

@ -57,7 +57,10 @@ return {
{ key = "=", mods = "CTRL", action = "IncreaseFontSize" },
{ key = "-", mods = "CTRL", action = "DecreaseFontSize" },
{ key = "0", mods = "CTRL", action = "ResetFontAndWindowSize" },
-- NOTE: Leader dependent binds
{ key = "h", mods = "LEADER", action = wezterm.action({ EmitEvent = "trigger-nvim-with-scrollback" }) },
{ key = "f", mods = "LEADER", action = wezterm.action.ToggleFullScreen },
-- NOTE: Quick bindings for in termal use
{ key = "w", mods = "LEADER", action = { SendString = "wgrep\x0D" } },

View File

@ -3,4 +3,5 @@ return {
window_close_confirmation = "NeverPrompt",
exit_behavior = "Close",
scrollback_lines = 20000,
native_macos_fullscreen_mode = true,
}