Blacklist command-accept, hide repeat-command
prompt-accept was blacklisted instead of command-accept.
This commit is contained in:
parent
ee4b24a5dc
commit
cafe7181c7
@ -288,7 +288,7 @@ class CommandRunner(QObject):
|
|||||||
|
|
||||||
mode_manager = objreg.get('mode-manager', scope='window',
|
mode_manager = objreg.get('mode-manager', scope='window',
|
||||||
window=self._win_id)
|
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']:
|
'repeat-command']:
|
||||||
last_command[mode_manager.mode] = (
|
last_command[mode_manager.mode] = (
|
||||||
self._parse_count(text)[1],
|
self._parse_count(text)[1],
|
||||||
|
@ -219,7 +219,7 @@ def debug_set_fake_clipboard(s=None):
|
|||||||
utils.fake_clipboard = s
|
utils.fake_clipboard = s
|
||||||
|
|
||||||
|
|
||||||
@cmdutils.register()
|
@cmdutils.register(hide=True)
|
||||||
@cmdutils.argument('win_id', win_id=True)
|
@cmdutils.argument('win_id', win_id=True)
|
||||||
@cmdutils.argument('count', count=True)
|
@cmdutils.argument('count', count=True)
|
||||||
def repeat_command(win_id, count=None):
|
def repeat_command(win_id, count=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user