This commit is contained in:
Kovid Goyal 2017-10-20 12:38:26 +05:30
parent efc8b898f8
commit 6a42a510bf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -210,7 +210,7 @@ color15 #ffffff
# syntax below:
# map key combine <separator> action1 <separator> action2 <separator> 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