...
This commit is contained in:
parent
efc8b898f8
commit
6a42a510bf
@ -105,7 +105,7 @@ def parse_key_action(action):
|
|||||||
if func == 'combine':
|
if func == 'combine':
|
||||||
sep, rest = rest.split(' ', 1)
|
sep, rest = rest.split(' ', 1)
|
||||||
parts = re.split(r'\s*' + re.escape(sep) + r'\s*', rest)
|
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)
|
return KeyAction(func, args)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -210,7 +210,7 @@ color15 #ffffff
|
|||||||
# syntax below:
|
# syntax below:
|
||||||
# map key combine <separator> action1 <separator> action2 <separator> action3 ...
|
# map key combine <separator> action1 <separator> action2 <separator> action3 ...
|
||||||
# For example:
|
# 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
|
# this will create a new window and switch to the next available layout
|
||||||
|
|
||||||
# Clipboard
|
# Clipboard
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user