comparison runtime/doc/motion.txt @ 12646:b908a3682f6e v8.0.1201

patch 8.0.1201: "yL" is affected by 'scrolloff' commit https://github.com/vim/vim/commit/44cc4cf72fdd12cd9a779031d443aac4254d51ae Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 15 22:13:37 2017 +0200 patch 8.0.1201: "yL" is affected by 'scrolloff' Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) Solution: Don't use 'scrolloff' when an operator is pending.
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2017 22:15:05 +0200
parents d0a20101ecb2
children 3b26420fc639
comparison
equal deleted inserted replaced
12645:8ae2050dcae9 12646:b908a3682f6e
1315 1315
1316 *H* 1316 *H*
1317 H To line [count] from top (Home) of window (default: 1317 H To line [count] from top (Home) of window (default:
1318 first line on the window) on the first non-blank 1318 first line on the window) on the first non-blank
1319 character |linewise|. See also 'startofline' option. 1319 character |linewise|. See also 'startofline' option.
1320 Cursor is adjusted for 'scrolloff' option. 1320 Cursor is adjusted for 'scrolloff' option, unless an
1321 operator is pending, in which case the text may
1322 scroll. E.g. "yH" yanks from the first visible line
1323 until the cursor line (inclusive).
1321 1324
1322 *M* 1325 *M*
1323 M To Middle line of window, on the first non-blank 1326 M To Middle line of window, on the first non-blank
1324 character |linewise|. See also 'startofline' option. 1327 character |linewise|. See also 'startofline' option.
1325 1328
1326 *L* 1329 *L*
1327 L To line [count] from bottom of window (default: Last 1330 L To line [count] from bottom of window (default: Last
1328 line on the window) on the first non-blank character 1331 line on the window) on the first non-blank character
1329 |linewise|. See also 'startofline' option. 1332 |linewise|. See also 'startofline' option.
1330 Cursor is adjusted for 'scrolloff' option. 1333 Cursor is adjusted for 'scrolloff' option, unless an
1334 operator is pending, in which case the text may
1335 scroll. E.g. "yL" yanks from the cursor to the last
1336 visible line.
1331 1337
1332 <LeftMouse> Moves to the position on the screen where the mouse 1338 <LeftMouse> Moves to the position on the screen where the mouse
1333 click is |exclusive|. See also |<LeftMouse>|. If the 1339 click is |exclusive|. See also |<LeftMouse>|. If the
1334 position is in a status line, that window is made the 1340 position is in a status line, that window is made the
1335 active window and the cursor is not moved. {not in Vi} 1341 active window and the cursor is not moved. {not in Vi}