summaryrefslogtreecommitdiffstats
path: root/runtime/doc/motion.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-15 22:13:37 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-15 22:13:37 +0200
commit44cc4cf72fdd12cd9a779031d443aac4254d51ae (patch)
treee0d017be95b6445a127a1105f39041374a5a7162 /runtime/doc/motion.txt
parent67418d97b457d2e27fe342472d3c9fd342ffc47f (diff)
patch 8.0.1201: "yL" is affected by 'scrolloff'v8.0.1201
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) Solution: Don't use 'scrolloff' when an operator is pending.
Diffstat (limited to 'runtime/doc/motion.txt')
-rw-r--r--runtime/doc/motion.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index 673d1c572a..85d0c4ace8 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1317,7 +1317,10 @@ the current line is included. You can then use "%" to go to the matching line.
H To line [count] from top (Home) of window (default:
first line on the window) on the first non-blank
character |linewise|. See also 'startofline' option.
- Cursor is adjusted for 'scrolloff' option.
+ Cursor is adjusted for 'scrolloff' option, unless an
+ operator is pending, in which case the text may
+ scroll. E.g. "yH" yanks from the first visible line
+ until the cursor line (inclusive).
*M*
M To Middle line of window, on the first non-blank
@@ -1327,7 +1330,10 @@ M To Middle line of window, on the first non-blank
L To line [count] from bottom of window (default: Last
line on the window) on the first non-blank character
|linewise|. See also 'startofline' option.
- Cursor is adjusted for 'scrolloff' option.
+ Cursor is adjusted for 'scrolloff' option, unless an
+ operator is pending, in which case the text may
+ scroll. E.g. "yL" yanks from the cursor to the last
+ visible line.
<LeftMouse> Moves to the position on the screen where the mouse
click is |exclusive|. See also |<LeftMouse>|. If the