Make :unbind work correctly

This commit is contained in:
Florian Bruhin 2017-12-29 16:05:16 +01:00
parent 81e9060239
commit a145497c65

View File

@ -109,7 +109,7 @@ class ConfigCommands:
available modes. available modes.
default: If given, restore a default binding. default: If given, restore a default binding.
""" """
seq = keyutils.KeySequence(key) seq = keyutils.KeySequence.parse(key)
if command is None: if command is None:
if default: if default:
# :bind --default: Restore default # :bind --default: Restore default