aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2018-09-14 13:16:31 -0400
committerJustin M. Keyes <justinkz@gmail.com>2018-09-14 19:16:30 +0200
commitc03e8307d2eff687034b71d59c859e5c267661c8 (patch)
tree9dcb536c40d82d9e1ba6fe99004dd4b2678b271a /runtime
parent1bc44a805a2c9213ebe2c0603dfc714c306f50ac (diff)
downloadrneovim-c03e8307d2eff687034b71d59c859e5c267661c8.tar.gz
rneovim-c03e8307d2eff687034b71d59c859e5c267661c8.tar.bz2
rneovim-c03e8307d2eff687034b71d59c859e5c267661c8.zip
vim-patch:8.0.1201: "yL" is affected by 'scrolloff' (#8997)
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) Solution: Don't use 'scrolloff' when an operator is pending. https://github.com/vim/vim/commit/44cc4cf72fdd12cd9a779031d443aac4254d51ae
Diffstat (limited to 'runtime')
-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 6f3a585ff3..92af525ecf 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1271,7 +1271,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
@@ -1281,7 +1284,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