Skip to content

Commit 190277d

Browse files
authored
Merge pull request #1729 from vim-jp/hh-update-options
Update options.{txt,jax}
2 parents 8362642 + 8a53db3 commit 190277d

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

doc/options.jax

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

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -7811,7 +7811,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
78117811
文字に移動する。オフのときは、カーソルは (可能ならば) 同じ列に置かれる。
78127812
適用されるコマンド:
78137813
- CTRL-D, CTRL-U, CTRL-B, CTRL-F, "G", "H", "M", "L", "gg"
7814-
- 行単位で行うときの "d", "<<", ">>"
7814+
- 行単位で行うときの "d", "<<", "==", ">>"
7815+
(|operator-resulting-pos|)
78157816
- カウントを指定したときの "%"
78167817
- バッファ変更コマンド (CTRL-^, :bnext, :bNext 等)
78177818
- 行番号のみの Ex コマンド (例えば ":25" や ":+")。
@@ -8478,8 +8479,11 @@ Note 1番目の形式では、行全体がオプション指定に使われる
84788479
ウィンドウについてローカル
84798480
ターミナルウィンドウ内で CTRL-W コマンドを開始するキー。他のキーはウィ
84808481
ンドウ内で動作しているジョブに送られる。
8481-
<> 表記法を使うことができる。例えば: >
8482-
:set termwinkey=<C-L>
8482+
キーは、単一文字、|key-notation| (例: <Up>、<C-F>)、またはキャレットで
8483+
始まる文字 (例: `^F` は CTRL-F) で指定できる: >
8484+
:set twk=X
8485+
:set twk=^I
8486+
:set twk=<C-L>
84838487
< この文字列は 1 つのキーストロークでなければならないが、マルチバイトで
84848488
も良い。
84858489
未設定の場合は CTRL-W が使用されるため、CTRL-W : でコマンドラインに移
@@ -9366,7 +9370,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
93669370
CTRL-C, <CR> や Enter などのいくつかのキーは機能しない。
93679371
<Esc> も使用できるが、2 回続けて押すと、フェイルセーフ対策としてコマン
93689372
ドラインが終了する。
9369-
このオプションは数値オプションだが、次のように特殊キーも設定できる。 >
9373+
'wc' は数値オプションだが、数値、単一文字、|key-notation| (例: <Up>、
9374+
<C-F>)、またはキャレットで始まる文字 (例: `^F` は CTRL-F) で指定でき
9375+
る: >
9376+
:set wc=27
9377+
:set wc=X
9378+
:set wc=^I
93709379
:set wc=<Tab>
93719380
< NOTE: このオプションは 'compatible' がオンになるとViの既定値に設定され、
93729381
'compatible' がオフになるとVimの既定値に設定されるので注意。

en/options.txt

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Oct 02
1+
*options.txt* For Vim version 9.1. Last change: 2024 Oct 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7789,7 +7789,8 @@ A jump table for the options with a short description can be found at |Q_op|.
77897789
non-blank of the line. When off the cursor is kept in the same column
77907790
(if possible). This applies to the commands:
77917791
- CTRL-D, CTRL-U, CTRL-B, CTRL-F, "G", "H", "M", "L", "gg"
7792-
- "d", "<<" and ">>" with a linewise operator
7792+
- "d", "<<", "==" and ">>" with a linewise operator
7793+
(|operator-resulting-pos|)
77937794
- "%" with a count
77947795
- buffer changing commands (CTRL-^, :bnext, :bNext, etc.)
77957796
- Ex commands that only has a line number, e.g., ":25" or ":+".
@@ -8432,8 +8433,11 @@ A jump table for the options with a short description can be found at |Q_op|.
84328433
local to window
84338434
The key that starts a CTRL-W command in a terminal window. Other keys
84348435
are sent to the job running in the window.
8435-
The <> notation can be used, e.g.: >
8436-
:set termwinkey=<C-L>
8436+
The key can be specified as a single character, a |key-notation| (e.g.
8437+
<Up>, <C-F>) or a letter preceded with a caret (e.g. `^F` is CTRL-F): >
8438+
:set twk=X
8439+
:set twk=^I
8440+
:set twk=<C-L>
84378441
< The string must be one key stroke but can be multiple bytes.
84388442
When not set CTRL-W is used, so that CTRL-W : gets you to the command
84398443
line. If 'termwinkey' is set to CTRL-L then CTRL-L : gets you to the
@@ -9330,7 +9334,12 @@ A jump table for the options with a short description can be found at |Q_op|.
93309334
Some keys will not work, such as CTRL-C, <CR> and Enter.
93319335
<Esc> can be used, but hitting it twice in a row will still exit
93329336
command-line as a failsafe measure.
9333-
Although 'wc' is a number option, you can set it to a special key: >
9337+
Although 'wc' is a number option, it can be specified as a number, a
9338+
single character, a |key-notation| (e.g. <Up>, <C-F>) or a letter
9339+
preceded with a caret (e.g. `^F` is CTRL-F): >
9340+
:set wc=27
9341+
:set wc=X
9342+
:set wc=^I
93349343
:set wc=<Tab>
93359344
< NOTE: This option is set to the Vi default value when 'compatible' is
93369345
set and to the Vim default value when 'compatible' is reset.

0 commit comments

Comments
 (0)