Skip to content

Commit 9eca100

Browse files
authored
Merge pull request #255 from mnishz/motion_for_Vim_8.1
Update motion from Vim 8.0 to 8.1
2 parents e9d5db7 + 54a4576 commit 9eca100

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

doc/motion.jax

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 8.0. Last change: 2017 Mar 12
1+
*motion.txt* For Vim バージョン 8.1. Last change: 2017 Oct 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1319,8 +1319,10 @@ count を使うと、可能な限り前/後にジャンプできます。つ
13191319
H スクリーンの最上行から [count] 行目(デフォルト: スク
13201320
リーンの最上行)の最初の非空白文字に移動します(行単位
13211321
|linewise|)。'startofline' オプションも参照してくださ
1322-
い。カーソル位置は 'scrolloff' オプションに合うように
1323-
調整されます。
1322+
い。テキストがスクロールするようなオペレータ待機モード
1323+
でない限り、カーソル位置は 'scrolloff' オプションに合
1324+
うように調整されます。例えば、"yH" は画面上に見えてい
1325+
る先頭の行からカーソル行までを (含めて) ヤンクします。
13241326

13251327
*M*
13261328
M スクリーンの中央の最初の非空白文字に移動します(行単位
@@ -1331,8 +1333,10 @@ M スクリーンの中央の最初の非空白文字に移動します(行単
13311333
L スクリーンの最下行から [count] 行目(デフォルト: スク
13321334
リーンの最下行)の最初の非空白文字に移動します(行単位
13331335
|linewise|)。'startofline' オプションも参照してくださ
1334-
い。カーソル位置は 'scrolloff' オプションに合うように
1335-
調整されます。
1336+
い。テキストがスクロールするようなオペレータ待機モード
1337+
でない限り、カーソル位置は 'scrolloff' オプションに合
1338+
うように調整されます。例えば、"yL" はカーソル行から画
1339+
面上に見えている最後の行までを (含めて) ヤンクします。
13361340

13371341
<LeftMouse> スクリーン上でマウスがクリックされた場所に移動します
13381342
|exclusive|。参照 |<LeftMouse>|。もしその位置がステー

en/motion.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 8.0. Last change: 2017 Mar 12
1+
*motion.txt* For Vim version 8.1. Last change: 2017 Oct 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1317,7 +1317,10 @@ the current line is included. You can then use "%" to go to the matching line.
13171317
H To line [count] from top (Home) of window (default:
13181318
first line on the window) on the first non-blank
13191319
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).
13211324

13221325
*M*
13231326
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
13271330
L To line [count] from bottom of window (default: Last
13281331
line on the window) on the first non-blank character
13291332
|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.
13311337

13321338
<LeftMouse> Moves to the position on the screen where the mouse
13331339
click is |exclusive|. See also |<LeftMouse>|. If the

0 commit comments

Comments
 (0)