diff --git a/qutebrowser/keyinput/keyutils.py b/qutebrowser/keyinput/keyutils.py index 77a45a7fe..31c9507b3 100644 --- a/qutebrowser/keyinput/keyutils.py +++ b/qutebrowser/keyinput/keyutils.py @@ -183,7 +183,13 @@ def key_with_modifiers_to_string(key, modifiers): parts = [] parts.append(key_string) - return normalize_keystr('+'.join(parts)) + normalized = normalize_keystr('+'.join(parts)) + if len(normalized) > 1: + # "special" binding + return '<{}>'.format(normalized) + else: + # "normal" binding + return normalized class KeyParseError(Exception):