Blacklist command-accept, hide repeat-command

prompt-accept was blacklisted instead of command-accept.
This commit is contained in:
Jan Verbeek 2016-07-12 16:48:33 +02:00
parent ee4b24a5dc
commit cafe7181c7
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ class CommandRunner(QObject):
mode_manager = objreg.get('mode-manager', scope='window',
window=self._win_id)
if result.cmdline[0] not in ['leave-mode', 'prompt-accept',
if result.cmdline[0] not in ['leave-mode', 'command-accept',
'repeat-command']:
last_command[mode_manager.mode] = (
self._parse_count(text)[1],

View File

@ -219,7 +219,7 @@ def debug_set_fake_clipboard(s=None):
utils.fake_clipboard = s
@cmdutils.register()
@cmdutils.register(hide=True)
@cmdutils.argument('win_id', win_id=True)
@cmdutils.argument('count', count=True)
def repeat_command(win_id, count=None):