Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions doc/options.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim バージョン 9.1. Last change: 2024 Oct 02
*options.txt* For Vim バージョン 9.1. Last change: 2024 Oct 06


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -7811,7 +7811,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
文字に移動する。オフのときは、カーソルは (可能ならば) 同じ列に置かれる。
適用されるコマンド:
- CTRL-D, CTRL-U, CTRL-B, CTRL-F, "G", "H", "M", "L", "gg"
- 行単位で行うときの "d", "<<", ">>"
- 行単位で行うときの "d", "<<", "==", ">>"
(|operator-resulting-pos|)
- カウントを指定したときの "%"
- バッファ変更コマンド (CTRL-^, :bnext, :bNext 等)
- 行番号のみの Ex コマンド (例えば ":25" や ":+")。
Expand Down Expand Up @@ -8478,8 +8479,11 @@ Note 1番目の形式では、行全体がオプション指定に使われる
ウィンドウについてローカル
ターミナルウィンドウ内で CTRL-W コマンドを開始するキー。他のキーはウィ
ンドウ内で動作しているジョブに送られる。
<> 表記法を使うことができる。例えば: >
:set termwinkey=<C-L>
キーは、単一文字、|key-notation| (例: <Up>、<C-F>)、またはキャレットで
始まる文字 (例: `^F` は CTRL-F) で指定できる: >
:set twk=X
:set twk=^I
:set twk=<C-L>
< この文字列は 1 つのキーストロークでなければならないが、マルチバイトで
も良い。
未設定の場合は CTRL-W が使用されるため、CTRL-W : でコマンドラインに移
Expand Down Expand Up @@ -9366,7 +9370,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
CTRL-C, <CR> や Enter などのいくつかのキーは機能しない。
<Esc> も使用できるが、2 回続けて押すと、フェイルセーフ対策としてコマン
ドラインが終了する。
このオプションは数値オプションだが、次のように特殊キーも設定できる。 >
'wc' は数値オプションだが、数値、単一文字、|key-notation| (例: <Up>、
<C-F>)、またはキャレットで始まる文字 (例: `^F` は CTRL-F) で指定でき
る: >
:set wc=27
:set wc=X
:set wc=^I
:set wc=<Tab>
< NOTE: このオプションは 'compatible' がオンになるとViの既定値に設定され、
'compatible' がオフになるとVimの既定値に設定されるので注意。
Expand Down
19 changes: 14 additions & 5 deletions en/options.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2024 Oct 02
*options.txt* For Vim version 9.1. Last change: 2024 Oct 06


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