File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *term.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+ *term.txt* For Vim バージョン 9.2. Last change: 2026 Mar 04
22
33
44 VIM リファレンスマニュアル by Bram Moolenaar
@@ -505,6 +505,10 @@ Vim 独自のもの (標準的なコードはないもの):
505505 | xterm-focus-event |
506506 t_fd フォーカスイベント追跡を無効化する *t_fd* *'t_fd'*
507507 | xterm-focus-event |
508+ t_BS 同期更新を開始する *t_BS* *'t_BS'*
509+ 'termsync' を参照
510+ t_ES 同期更新を終了する *t_ES* *'t_ES'*
511+ 'termsync' を参照
508512
509513いくつかのコードは、開始、中間および終了部分を持ちます。開始と終了はオプション
510514termcap で定義され、中間部分はテキストです。
@@ -523,6 +527,10 @@ t_SH は 1 つの引数を取らなければなりません:
523527t_RS は、t_RV に対する応答を受け取った場合のみ送られます。termresponse から
524528Terminal.app が認識され得る場合、Mac OS 上では使われません。
525529
530+ t_BS と t_ES は termcap に格納されないが、起動時に次のデフォルト値に設定される:
531+ t_BS "\033[?2026h"
532+ t_ES "\033[?2026l"
533+
526534 *mouse-reporting*
527535多くの端末はマウスのクリックを報告し、いくつかの端末はマウスの動きやドラッグを
528536報告することができます。Vim はこのためにどんなコードが使われているかを知る必要
Original file line number Diff line number Diff line change 1- *term.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+ *term.txt* For Vim version 9.2. Last change: 2026 Mar 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -510,6 +510,10 @@ Added by Vim (there are no standard codes for these):
510510 | xterm-focus-event |
511511 t_fd disable focus-event tracking *t_fd* *'t_fd'*
512512 | xterm-focus-event |
513+ t_BS begin synchronized update *t_BS* *'t_BS'*
514+ see 'termsync'
515+ t_ES end synchronized update *t_ES* *'t_ES'*
516+ see 'termsync'
513517
514518Some codes have a start, middle and end part. The start and end are defined
515519by the termcap option, the middle part is text.
@@ -528,6 +532,11 @@ t_SH must take one argument:
528532t_RS is sent only if the response to t_RV has been received. It is not used
529533on Mac OS when Terminal.app could be recognized from the termresponse.
530534
535+ The t_BS and t_ES are not stored in the termcap, but are instead set to the
536+ following default values on startup:
537+ t_BS "\033[?2026h"
538+ t_ES "\033[?2026l"
539+
531540 *mouse-reporting*
532541Many terminals can report mouse clicks and some can report mouse movement and
533542dragging. Vim needs to know what codes are being used for this.
You can’t perform that action at this time.
0 commit comments