From 61472845d74b4ce7078c1b9f0bfadd26cd333a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Mon, 14 Nov 2011 13:39:50 +0100 Subject: [PATCH] Clearly document the //'scroll' behaviour. --- common/locale/en-US/buffer.xml | 10 +++++----- common/locale/en-US/options.xml | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/locale/en-US/buffer.xml b/common/locale/en-US/buffer.xml index e3721d96..42462c72 100644 --- a/common/locale/en-US/buffer.xml +++ b/common/locale/en-US/buffer.xml @@ -203,8 +203,8 @@

Scroll window downwards by the amount specified in the - scroll option. With count, scroll as if - scroll were set to count. + scroll option. With count, set the scroll + option to count before executing the command.

@@ -215,9 +215,9 @@ count<C-u>

- Scroll window upwards by the amount specified in the - scroll option. With count, scroll as if - scroll were set to count. + Scroll window upwards by the amount specified in the scroll + option. With count, set the scroll option to + count before executing the command.

diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 3a1367c2..1fffc67c 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1466,8 +1466,9 @@ Number of lines to scroll with and commands. The number of lines scrolled defaults to half the window size. When a count is specified to the or - commands, that value is used instead. When the - value is 0, it defaults to half the window height. + commands, set this option to count before + executing the command. Setting this to 0 restores the + default behaviour.