Add no_op to get_all_actions()

This commit is contained in:
Kovid Goyal 2021-09-06 15:26:48 +05:30
parent 8fb48d7952
commit d7a1f3104a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -63,6 +63,9 @@ def get_all_actions() -> Dict[str, List[Action]]:
seen.add(name)
ans['win'].append(Action(name, 'win', f'Focus the {which} window', ''))
ans['misc'].append(Action('no_op', 'misc', 'Unbind a shortcut',
'Mapping a shortcut to no_op causes kitty to not intercept the key stroke anymore,'
' instead passing it to the program running inside it.'))
return ans