From c60d09f3b21673afccc7b1ca32fb1343cefe81aa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 29 Jun 2021 12:28:44 +0530 Subject: [PATCH] Mark combine as an action --- kitty/boss.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/kitty/boss.py b/kitty/boss.py index eec3a2c88..68e099ab0 100755 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -783,6 +783,17 @@ class Boss: return False def combine(self, *actions: KeyAction) -> None: + ''' + @ac:misc: Combine multiple actions and map to a single keypress + + The syntax is:: + + map key combine action1 action2 action3 ... + + For example:: + + map kitty_mod+e combine : new_window : next_layout + ''' for key_action in actions: self.dispatch_action(key_action)