Update code after refactor, and add migration
This commit is contained in:
parent
a7b10a090f
commit
dfada850e0
@ -1354,4 +1354,6 @@ CHANGED_KEY_COMMANDS = [
|
||||
(re.compile(r'^scroll 0 -50$'), r'scroll up'),
|
||||
(re.compile(r'^scroll 50 0$'), r'scroll right'),
|
||||
(re.compile(r'^scroll ([-\d]+ [-\d]+)$'), r'scroll-px \1'),
|
||||
|
||||
(re.compile(r'^search$'), r'search ;; clear-keychain'),
|
||||
]
|
||||
|
@ -321,4 +321,4 @@ class ModeManager(QObject):
|
||||
@cmdutils.register(instance='mode-manager', scope='window', hide=True)
|
||||
def clear_keychain(self):
|
||||
"""Clear the currently entered key chain."""
|
||||
self._handlers[self.mode].__self__.clear_keystring()
|
||||
self._parsers[self.mode].clear_keystring()
|
||||
|
Loading…
Reference in New Issue
Block a user