From e8d5fb5cca1c95e5ddce7576cf53139f09480208 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Feb 2018 07:51:14 +0100 Subject: [PATCH] Normalize keybinding with :bind --- qutebrowser/config/configcommands.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/qutebrowser/config/configcommands.py b/qutebrowser/config/configcommands.py index 7322b3878..43b9641fd 100644 --- a/qutebrowser/config/configcommands.py +++ b/qutebrowser/config/configcommands.py @@ -154,17 +154,13 @@ class ConfigCommands: return # No --default -> print binding - #if utils.is_special_key(key): - # # self._keyconfig.get_command does this, but we also need it - # # normalized for the output below - # key = utils.normalize_keystr(key) with self._handle_config_error(): cmd = self._keyconfig.get_command(seq, mode) if cmd is None: - message.info("{} is unbound in {} mode".format(key, mode)) + message.info("{} is unbound in {} mode".format(seq, mode)) else: message.info("{} is bound to '{}' in {} mode".format( - key, cmd, mode)) + seq, cmd, mode)) return with self._handle_config_error():