Make mode a kwarg-only argument for :bind.
This commit is contained in:
parent
1d6661f90b
commit
3579caf1ff
@ -131,7 +131,7 @@ class KeyConfigParser(QObject):
|
|||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
||||||
@cmdutils.register(instance='key-config', maxsplit=1)
|
@cmdutils.register(instance='key-config', maxsplit=1)
|
||||||
def bind(self, key, command, mode=None):
|
def bind(self, key, command, *, mode=None):
|
||||||
"""Bind a key to a command.
|
"""Bind a key to a command.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user