From d7a1f3104a8f89d4be0b326c4634990bd06d2464 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Sep 2021 15:26:48 +0530 Subject: [PATCH] Add no_op to get_all_actions() --- kitty/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kitty/actions.py b/kitty/actions.py index b36d31432..f4cc58b84 100644 --- a/kitty/actions.py +++ b/kitty/actions.py @@ -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