Support multiple commands
This commit is contained in:
parent
88ea6e62b1
commit
8fee32e6c4
1
TODO
1
TODO
@ -47,7 +47,6 @@ Hiding scrollbars
|
||||
:bind
|
||||
Ctrl+A/X to increase/decrease last number in URL
|
||||
position remembering
|
||||
multiple commands with ;
|
||||
|
||||
Other stuff
|
||||
===========
|
||||
|
@ -155,6 +155,10 @@ class CommandParser(QObject):
|
||||
arguments.
|
||||
|
||||
"""
|
||||
if ';;' in text:
|
||||
for sub in text.split(';;'):
|
||||
self.run(sub, count, ignore_exc)
|
||||
return
|
||||
try:
|
||||
self._parse(text)
|
||||
self._check()
|
||||
|
@ -75,6 +75,7 @@ wiki = ${wikipedia}
|
||||
# For simple keys (no @ signs), a capital letter means the key is pressed with
|
||||
# Shift. For modifier keys (with @ signs), you need to explicitely add "Shift-"
|
||||
# to match a key pressed with shift.
|
||||
# You can bind multiple commands by separating them with ";;".
|
||||
o = open
|
||||
go = opencur
|
||||
O = tabopen
|
||||
|
Loading…
Reference in New Issue
Block a user