From 6a42a510bffd5170800dd12925d4da89c2fed76f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 20 Oct 2017 12:38:26 +0530 Subject: [PATCH] ... --- kitty/config.py | 2 +- kitty/kitty.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/config.py b/kitty/config.py index 36af997b5..4504ed6ac 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -105,7 +105,7 @@ def parse_key_action(action): if func == 'combine': sep, rest = rest.split(' ', 1) parts = re.split(r'\s*' + re.escape(sep) + r'\s*', rest) - args = tuple(map(parse_key_action, parts)) + args = tuple(map(parse_key_action, filter(None, parts))) return KeyAction(func, args) diff --git a/kitty/kitty.conf b/kitty/kitty.conf index f960ef2f1..5f5958429 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -210,7 +210,7 @@ color15 #ffffff # syntax below: # map key combine action1 action2 action3 ... # For example: -map ctrl+shift+e combine : new_window : next_layout +# map ctrl+shift+e combine : new_window : next_layout # this will create a new window and switch to the next available layout # Clipboard