Skip to content

Commit 457eccb

Browse files
Jedrzej OrbikJedrzej Orbik
authored andcommitted
Update macos wezterm config
1 parent 28b4a26 commit 457eccb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.wezterm.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if wezterm.target_triple == 'aarch64-apple-darwin' then
3737
harfbuzz_features = { 'ss07', 'calt', 'liga=0' },
3838
}
3939
config.font_size = 12
40+
config.native_macos_fullscreen_mode = true
4041
else
4142
-- disable the window title bar
4243
config.window_decorations = "NONE"
@@ -68,6 +69,11 @@ config.keys = {
6869
{ key = "LeftArrow", mods = "OPT", action = wezterm.action { SendString = "\x1bb" } },
6970
-- Make Option-Right equivalent to Alt-f; forward-word
7071
{ key = "RightArrow", mods = "OPT", action = wezterm.action { SendString = "\x1bf" } },
72+
{
73+
key = 'f',
74+
mods = 'CMD|CTRL',
75+
action = wezterm.action.ToggleFullScreen,
76+
},
7177
}
7278
config.mouse_bindings = {
7379
-- Change the default click behavior so that it only selects
@@ -89,8 +95,6 @@ config.mouse_bindings = {
8995
mods = 'CMD',
9096
action = act.OpenLinkAtMouseCursor,
9197
},
92-
-- NOTE that binding only the 'Up' event can give unexpected behaviors.
93-
-- Read more below on the gotcha of binding an 'Up' event only.
9498
}
9599

96100
-- and finally, return the configuration to wezterm

0 commit comments

Comments
 (0)