Skip to content

Commit 13fbaa9

Browse files
authored
Merge pull request #1872 from h-east/update-motion
Update motion.{txt,jax}
2 parents 42a35b6 + 656ff56 commit 13fbaa9

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-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 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -94,6 +94,7 @@
9494
1. 移動コマンドが排他的で移動後の位置が1桁目であれば、移動の最後は一行前の行の
9595
最後に動かされ、移動コマンドは内包的になります。例: "}" は段落の後の最初の
9696
行まで移動しますが "d}" はその行を含めません。
97+
9798
*exclusive-linewise*
9899
2. 移動コマンドが排他的で、移動後の位置が1桁目でかつ移動初めの位置がその行の最
99100
初の非空白文字かその手前の位置であれば、移動コマンドは行単位になります。
@@ -125,6 +126,11 @@
125126
endif<CR>
126127
Note ":" を使った全ての移動は、排他的な文字単位になることに注意してください。
127128

129+
*inclusive-motion-selection-exclusive*
130+
'selection' が "exclusive" で、|Visual| モードがアクティブかつ、内包的な動作が
131+
使用された場合、カーソル位置は右にもう 1 文字調整され、ビジュアル選択が期待さ
132+
れるテキストを含むようになるので操作できるようになります。
133+
128134
*forced-motion*
129135
☆移動を行単位、文字単位、ブロック単位にする
130136

en/motion.txt

Lines changed: 7 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 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -122,6 +122,12 @@ This cannot be repeated: >
122122
endif<CR>
123123
Note that when using ":" any motion becomes characterwise exclusive.
124124

125+
*inclusive-motion-selection-exclusive*
126+
When 'selection' is "exclusive", |Visual| mode is active and an inclusive
127+
motion has been used, the cursor position will be adjusted by another
128+
character to the right, so that the Visual selection includes the expected
129+
text and can be acted upon.
130+
125131
*forced-motion*
126132
FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE
127133

0 commit comments

Comments
 (0)