docs: update keyassignment reference for more ergnomic wezterm.action syntax

This commit is contained in:
Wez Furlong committed 2022-06-25 06:58:10 -07:00
1 parent 3556c15f35
commit 1f9f5c9fc0
63 files changed
+242 -167

No files matched your search

@@ -6,11 +6,13 @@ default assignments and cause the key press to be propagated through
to the tab for processing.
```lua
local wezterm = require 'wezterm'
return {
keys = {
-- Turn off the default CMD-m Hide action, allowing CMD-m to
-- be potentially recognized and handled by the tab
{key="m", mods="CMD", action="DisableDefaultAssignment"},
{key="m", mods="CMD", action=wezterm.action.DisableDefaultAssignment},
}
}
```