parent
3a88b70eca
commit
84d2e9adc6
@ -1438,6 +1438,8 @@ Syntax: +:scroll 'direction'+
|
|||||||
|
|
||||||
Scroll the current tab in the given direction.
|
Scroll the current tab in the given direction.
|
||||||
|
|
||||||
|
Note you can use `:run-with-count` to have a keybinding with a bigger scroll increment.
|
||||||
|
|
||||||
==== positional arguments
|
==== positional arguments
|
||||||
* +'direction'+: In which direction to scroll (up/down/left/right/top/bottom).
|
* +'direction'+: In which direction to scroll (up/down/left/right/top/bottom).
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|<<ui-user-stylesheet,user-stylesheet>>|User stylesheet to use (absolute filename or filename relative to the config directory). Will expand environment variables.
|
|<<ui-user-stylesheet,user-stylesheet>>|User stylesheet to use (absolute filename or filename relative to the config directory). Will expand environment variables.
|
||||||
|<<ui-hide-scrollbar,hide-scrollbar>>|Hide the main scrollbar.
|
|<<ui-hide-scrollbar,hide-scrollbar>>|Hide the main scrollbar.
|
||||||
|<<ui-css-media-type,css-media-type>>|Set the CSS media type.
|
|<<ui-css-media-type,css-media-type>>|Set the CSS media type.
|
||||||
|<<ui-smooth-scrolling,smooth-scrolling>>|Whether to enable smooth scrolling for webpages.
|
|<<ui-smooth-scrolling,smooth-scrolling>>|Whether to enable smooth scrolling for webpages. Note smooth scrolling does not work with the :scroll-px command.
|
||||||
|<<ui-remove-finished-downloads,remove-finished-downloads>>|Number of milliseconds to wait before removing finished downloads. Will not be removed if value is -1.
|
|<<ui-remove-finished-downloads,remove-finished-downloads>>|Number of milliseconds to wait before removing finished downloads. Will not be removed if value is -1.
|
||||||
|<<ui-hide-statusbar,hide-statusbar>>|Whether to hide the statusbar unless a message is shown.
|
|<<ui-hide-statusbar,hide-statusbar>>|Whether to hide the statusbar unless a message is shown.
|
||||||
|<<ui-statusbar-padding,statusbar-padding>>|Padding for statusbar (top, bottom, left, right).
|
|<<ui-statusbar-padding,statusbar-padding>>|Padding for statusbar (top, bottom, left, right).
|
||||||
@ -655,7 +655,7 @@ This setting is only available with the QtWebKit backend.
|
|||||||
|
|
||||||
[[ui-smooth-scrolling]]
|
[[ui-smooth-scrolling]]
|
||||||
=== smooth-scrolling
|
=== smooth-scrolling
|
||||||
Whether to enable smooth scrolling for webpages.
|
Whether to enable smooth scrolling for webpages. Note smooth scrolling does not work with the :scroll-px command.
|
||||||
|
|
||||||
Valid values:
|
Valid values:
|
||||||
|
|
||||||
|
@ -595,6 +595,9 @@ class CommandDispatcher:
|
|||||||
def scroll(self, direction: typing.Union[str, int], count=1):
|
def scroll(self, direction: typing.Union[str, int], count=1):
|
||||||
"""Scroll the current tab in the given direction.
|
"""Scroll the current tab in the given direction.
|
||||||
|
|
||||||
|
Note you can use `:run-with-count` to have a keybinding with a bigger
|
||||||
|
scroll increment.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
direction: In which direction to scroll
|
direction: In which direction to scroll
|
||||||
(up/down/left/right/top/bottom).
|
(up/down/left/right/top/bottom).
|
||||||
|
@ -351,7 +351,8 @@ def data(readonly=False):
|
|||||||
|
|
||||||
('smooth-scrolling',
|
('smooth-scrolling',
|
||||||
SettingValue(typ.Bool(), 'false'),
|
SettingValue(typ.Bool(), 'false'),
|
||||||
"Whether to enable smooth scrolling for webpages."),
|
"Whether to enable smooth scrolling for web pages. Note smooth "
|
||||||
|
"scrolling does not work with the :scroll-px command."),
|
||||||
|
|
||||||
('remove-finished-downloads',
|
('remove-finished-downloads',
|
||||||
SettingValue(typ.Int(minval=-1), '-1'),
|
SettingValue(typ.Int(minval=-1), '-1'),
|
||||||
|
Loading…
Reference in New Issue
Block a user