File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
- *term.txt* For Vim バージョン 9.0. Last change: 2023 Oct 25
1
+ *term.txt* For Vim バージョン 9.0. Last change: 2023 Nov 04
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -327,11 +327,16 @@ Vim がシーケンス |t_RV| (バージョン要求)への応答を受け取っ
327
327
328
328
XM "\033[?1006;1004;1000%?%p1%{1} %=%th%el%;"
329
329
マウスの有効 / 無効 | t_XM |
330
+ FE "\033[?1004h" フォーカスイベント追跡を有効化 | t_fe |
331
+ FD "\033[?1004l" フォーカスイベント追跡を無効化 | t_fd |
330
332
331
333
"XM" エントリは、SGR スタイルのマウスレポートを有効にするために "1006" を含み
332
334
ます。これは223以上の桁をサポートします。また、フォーカスレポートを有効にする
333
- "1004" も含まれます。t_fe および t_fd エントリは空のままでよいです (どのみち
334
- terminfo/termcap にはエントリがありません)。
335
+ "1004" も含まれます。
336
+ Note: 2023年現在、"1004" は Vim 自体では使用されておらず、代わりに、最新バー
337
+ ジョンで ncurses も使用し始めたように、| t_fe | と | t_fd | エントリによってマウス
338
+ トラッキングとは独立にフォーカスレポートを設定することが推奨されています (その
339
+ 後、terminfo/termcap にも使用されます)。
335
340
336
341
*xterm-kitty* *kitty-terminal*
337
342
Kitty 端末は特別なケースです。主な理由は、他のほとんどの端末とは動作が異なるか
Original file line number Diff line number Diff line change 1
- *term.txt* For Vim version 9.0. Last change: 2023 Oct 25
1
+ *term.txt* For Vim version 9.0. Last change: 2023 Nov 04
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -332,11 +332,16 @@ using the "xterm" workaround. These are the relevant entries (so far):
332
332
333
333
XM "\033[?1006;1004;1000%?%p1%{1} %=%th%el%;"
334
334
mouse enable / disable | t_XM |
335
+ FE "\033[?1004h" enable focus event tracking | t_fe |
336
+ FD "\033[?1004l" disable focus event tracking | t_fd |
335
337
336
338
The "XM" entry includes "1006" to enable SGR style mouse reporting. This
337
339
supports columns above 223. It also includes "1004" which enables focus
338
- reporting. The t_fe and t_fd entries can be left empty (they don't have
339
- entries in terminfo/termcap anyway).
340
+ reporting.
341
+ Note: As of 2023, the "1004" is currently not used by Vim itself, instead
342
+ it is recommended to set focus reporting independently of mouse tracking by
343
+ the | t_fe | and | t_fd | entries, as ncurses also starts to use with the latest
344
+ versions (and will then also end up in terminfo/termcap).
340
345
341
346
*xterm-kitty* *kitty-terminal*
342
347
The Kitty terminal is a special case. Mainly because it works differently
You can’t perform that action at this time.
0 commit comments