Skip to content

Commit 7ebdd16

Browse files
authored
Merge pull request #996 from tsuyoshicho/update/20211228/motion
2 parents d3eab00 + 401077a commit 7ebdd16

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

doc/motion.jax

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 8.2. Last change: 2021 Dec 04
1+
*motion.txt* For Vim バージョン 8.2. Last change: 2021 Dec 13
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1026,12 +1026,10 @@ Note: 矩形ビジュアルモードを使っているのでない限り、テ
10261026
*CTRL-O*
10271027
CTRL-O ジャンプリストの中の [count] だけ古いカーソル位置に移
10281028
動します(移動コマンドではありません)。
1029-
{|+jumplist| 機能なしのときは使用できない}
10301029

10311030
<Tab> or *CTRL-I* *<Tab>*
10321031
CTRL-I ジャンプリストの中の [count] だけ新しいカーソル位置に
10331032
移動します(移動コマンドではありません)。
1034-
{|+jumplist| 機能なしのときは使用できない}
10351033

10361034
NOTE: GUI および |modifyOtherKeys| をサポートする端末
10371035
では、CTRL-I<Tab> より前にマッピングされるという条
@@ -1041,18 +1039,15 @@ CTRL-I ジャンプリストの中の [count] だけ新しいカーソル位
10411039
*:ju* *:jumps*
10421040
:ju[mps] ジャンプリストを表示させます(移動コマンドではありませ
10431041
ん)。
1044-
{|+jumplist| 機能なしのときは使用できない}
10451042

10461043
*:cle* *:clearjumps*
10471044
:cle[arjumps] 現在のウィンドウのジャンプリストを空にします。
1048-
{|+jumplist| 機能なしのときは使用できない}
10491045

10501046
*jumplist*
10511047
ジャンプはジャンプリストに覚えておかれ、CTRL-OCTRL-I コマンドで前の古い位
10521048
置に移動し、そして再び新しい位置に戻ることができます。このようにしてジャンプリ
10531049
ストの中を上下に移動することができます。ジャンプリストはそれぞれのウィンドウで
10541050
分かれており、エントリの最大の数は50に固定されています。
1055-
{|+jumplist| 機能なしのときは使用できない}
10561051

10571052
例えば、3回ジャンプを行った後ではジャンプリストは次のようになっています:
10581053

@@ -1127,13 +1122,11 @@ g; 変更リスト中の [count] 個前の位置に移動します。
11271122
箇所へ移動します。
11281123
それ以上古い変更が無ければエラーメッセージが表示されま
11291124
す。(移動コマンドではありません)
1130-
{|+jumplist| 機能なしのときは使用できない}
11311125

11321126
*g,* *E663*
11331127
g, 変更リスト中の [count] 個後の位置に移動します。
11341128
|g;| の逆方向で、あとは同様です。
11351129
(移動コマンドではありません)
1136-
{|+jumplist| 機能なしのときは使用できない}
11371130

11381131
count を使うと、可能な限り前/後にジャンプできます。つまり、"999g;" とすると
11391132
履歴に残っている最初の変更箇所へジャンプできます。変更リストのエントリの数は固

en/motion.txt

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 8.2. Last change: 2021 Dec 04
1+
*motion.txt* For Vim version 8.2. Last change: 2021 Dec 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1038,12 +1038,10 @@ commands that start editing a new file.
10381038
*CTRL-O*
10391039
CTRL-O Go to [count] Older cursor position in jump list
10401040
(not a motion command).
1041-
{not available without the |+jumplist| feature}
10421041

10431042
<Tab> or *CTRL-I* *<Tab>*
10441043
CTRL-I Go to [count] newer cursor position in jump list
10451044
(not a motion command).
1046-
{not available without the |+jumplist| feature}
10471045

10481046
NOTE: In the GUI and in a terminal supporting
10491047
|modifyOtherKeys|, CTRL-I can be mapped separately
@@ -1053,18 +1051,15 @@ CTRL-I Go to [count] newer cursor position in jump list
10531051

10541052
*:ju* *:jumps*
10551053
:ju[mps] Print the jump list (not a motion command).
1056-
{not available without the |+jumplist| feature}
10571054

10581055
*:cle* *:clearjumps*
10591056
:cle[arjumps] Clear the jump list of the current window.
1060-
{not available without the |+jumplist| feature}
10611057

10621058
*jumplist*
10631059
Jumps are remembered in a jump list. With the CTRL-O and CTRL-I command you
10641060
can go to cursor positions before older jumps, and back again. Thus you can
10651061
move up and down the list. There is a separate jump list for each window.
10661062
The maximum number of entries is fixed at 100.
1067-
{not available without the |+jumplist| feature}
10681063

10691064
For example, after three jump commands you have this jump list:
10701065

@@ -1141,13 +1136,11 @@ g; Go to [count] older position in change list.
11411136
positions go to the oldest change.
11421137
If there is no older change an error message is given.
11431138
(not a motion command)
1144-
{not available without the |+jumplist| feature}
11451139

11461140
*g,* *E663*
11471141
g, Go to [count] newer cursor position in change list.
11481142
Just like |g;| but in the opposite direction.
11491143
(not a motion command)
1150-
{not available without the |+jumplist| feature}
11511144

11521145
When using a count you jump as far back or forward as possible. Thus you can
11531146
use "999g;" to go to the first change for which the position is still

0 commit comments

Comments
 (0)