Nudge new users towards using this style:
```lua
local config = {}
config.color_scheme = 'Batman'
return config
```
and surface how to write lua modules closer to the main section
on config files. In that lua modules section, nudge towards using
a convention similar to that of the plugin spec described in
this commit: e4ae8a844d
19 lines
316 B
Markdown
19 lines
316 B
Markdown
# ToggleFullScreen
|
|
|
|
Toggles full screen mode for the current window.
|
|
|
|
```lua
|
|
local wezterm = require 'wezterm'
|
|
|
|
config.keys = {
|
|
{
|
|
key = 'n',
|
|
mods = 'SHIFT|CTRL',
|
|
action = wezterm.action.ToggleFullScreen,
|
|
},
|
|
}
|
|
```
|
|
|
|
See also: [native_macos_fullscreen_mode](../config/native_macos_fullscreen_mode.md).
|
|
|