diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 2e6633c9a..cca5156fa 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -712,9 +712,10 @@ How many steps to zoom out. |<>|Remove chars backward from the cursor to the beginning of the line. |<>|Remove chars from the cursor to the beginning of the word. |<>|Paste the most recently deleted text. -|<>|Scroll the current tab by 'count * dx/dy'. +|<>|Scroll the current tab in the given direction. |<>|Scroll the frame page-wise. |<>|Scroll to a specific percentage of the page. +|<>|Scroll the current tab by 'count * dx/dy' pixels. |<>|Continue the search to the ([count]th) next term. |<>|Continue the search to the ([count]th) previous term. |============== @@ -880,13 +881,13 @@ This acts like readline's yank. [[scroll]] === scroll -Syntax: +:scroll 'dx' 'dy'+ +Syntax: +:scroll 'direction' ['dy']+ -Scroll the current tab by 'count * dx/dy'. +Scroll the current tab in the given direction. ==== positional arguments -* +'dx'+: How much to scroll in x-direction. -* +'dy'+: How much to scroll in x-direction. +* +'direction'+: In which direction to scroll (up/down/left/right/top/bottom). + ==== count multiplier @@ -921,6 +922,19 @@ The percentage can be given either as argument or as count. If no percentage is ==== count Percentage to scroll. +[[scroll-px]] +=== scroll-px +Syntax: +:scroll-px 'dx' 'dy'+ + +Scroll the current tab by 'count * dx/dy' pixels. + +==== positional arguments +* +'dx'+: How much to scroll in x-direction. +* +'dy'+: How much to scroll in x-direction. + +==== count +multiplier + [[search-next]] === search-next Continue the search to the ([count]th) next term.