Rename scrollpercent{x,y}
This commit is contained in:
parent
981aab8e7d
commit
b83bf4e238
@ -133,8 +133,8 @@ class QuteBrowser(QApplication):
|
|||||||
'forward': self.mainwindow.tabs.cur_forward,
|
'forward': self.mainwindow.tabs.cur_forward,
|
||||||
'print': self.mainwindow.tabs.cur_print,
|
'print': self.mainwindow.tabs.cur_print,
|
||||||
'scroll': self.mainwindow.tabs.cur_scroll,
|
'scroll': self.mainwindow.tabs.cur_scroll,
|
||||||
'scrollpercentx': self.mainwindow.tabs.cur_scroll_percent_x,
|
'scroll_perc_y': self.mainwindow.tabs.cur_scroll_percent_x,
|
||||||
'scrollpercenty': self.mainwindow.tabs.cur_scroll_percent_y,
|
'scroll_perc_y': self.mainwindow.tabs.cur_scroll_percent_y,
|
||||||
'undo': self.mainwindow.tabs.undo_close,
|
'undo': self.mainwindow.tabs.undo_close,
|
||||||
'pyeval': self.pyeval,
|
'pyeval': self.pyeval,
|
||||||
}
|
}
|
||||||
|
@ -81,15 +81,17 @@ class Undo(Command):
|
|||||||
nargs = 0
|
nargs = 0
|
||||||
desc = 'Undo closing a tab'
|
desc = 'Undo closing a tab'
|
||||||
|
|
||||||
class ScrollPercentX(Command):
|
class ScrollPercX(Command):
|
||||||
nargs = '?'
|
nargs = '?'
|
||||||
count = True
|
count = True
|
||||||
hide = True
|
hide = True
|
||||||
|
name = 'scroll_perc_x'
|
||||||
|
|
||||||
class ScrollPercentY(Command):
|
class ScrollPercY(Command):
|
||||||
nargs = '?'
|
nargs = '?'
|
||||||
count = True
|
count = True
|
||||||
hide = True
|
hide = True
|
||||||
|
name = 'scroll_perc_y'
|
||||||
|
|
||||||
class PyEval(Command):
|
class PyEval(Command):
|
||||||
nargs = 1
|
nargs = 1
|
||||||
|
@ -19,8 +19,8 @@ default_config = {
|
|||||||
'k': 'scroll 0 -50',
|
'k': 'scroll 0 -50',
|
||||||
'l': 'scroll 50 0',
|
'l': 'scroll 50 0',
|
||||||
'u': 'undo',
|
'u': 'undo',
|
||||||
'gg': 'scrollpercenty 0',
|
'gg': 'scroll_perc_y 0',
|
||||||
'G': 'scrollpercenty',
|
'G': 'scroll_perc_y',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user