Skip to content

Commit ccbfcdf

Browse files
committed
Update motion.{txt,jax}
1 parent 868216b commit ccbfcdf

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

doc/motion.jax

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 9.1. Last change: 2024 Oct 06
1+
*motion.txt* For Vim バージョン 9.1. Last change: 2024 Dec 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -94,6 +94,12 @@
9494
1. 移動コマンドが排他的で移動後の位置が1桁目であれば、移動の最後は一行前の行の
9595
最後に動かされ、移動コマンドは内包的になります。例: "}" は段落の後の最初の
9696
行まで移動しますが "d}" はその行を含めません。
97+
98+
*inclusive-motion-selection-exclusive*
99+
'selection' が "exclusive" で、|Visual| モードがアクティブかつ、内包的な動作が
100+
使用された場合、カーソル位置は右にもう 1 文字調整され、ビジュアル選択が期待さ
101+
れるテキストを含むようになるので操作できるようになる。
102+
97103
*exclusive-linewise*
98104
2. 移動コマンドが排他的で、移動後の位置が1桁目でかつ移動初めの位置がその行の最
99105
初の非空白文字かその手前の位置であれば、移動コマンドは行単位になります。

en/motion.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 9.1. Last change: 2024 Oct 06
1+
*motion.txt* For Vim version 9.1. Last change: 2024 Dec 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -93,6 +93,13 @@ command. There are however, two general exceptions:
9393
end of the motion is moved to the end of the previous line and the motion
9494
becomes inclusive. Example: "}" moves to the first line after a paragraph,
9595
but "d}" will not include that line.
96+
97+
*inclusive-motion-selection-exclusive*
98+
When 'selection' is "exclusive", |Visual| mode is active and an inclusive
99+
motion has been used, the cursor position will be adjusted by another
100+
character to the right, so that visual selction includes the expected text and
101+
can be acted upon.
102+
96103
*exclusive-linewise*
97104
2. If the motion is exclusive, the end of the motion is in column 1 and the
98105
start of the motion was at or before the first non-blank in the line, the

0 commit comments

Comments
 (0)