2023-03-22 16:36:03 +03:00
|
|
|
# `DisableDefaultAssignment`
|
2020-10-10 18:40:14 +03:00
|
|
|
|
|
|
|
Has no special meaning of its own; this action will undo the registration
|
|
|
|
of a default assignment if that key/mouse/modifier combination is one of the
|
|
|
|
default assignments and cause the key press to be propagated through
|
|
|
|
to the tab for processing.
|
|
|
|
|
|
|
|
```lua
|
2023-03-20 04:26:21 +03:00
|
|
|
config.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 = wezterm.action.DisableDefaultAssignment,
|
2022-07-19 17:54:31 +03:00
|
|
|
},
|
2020-10-10 18:40:14 +03:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|