1
- *eval.txt* For Vim version 9.1. Last change: 2023 Dec 09
1
+ *eval.txt* For Vim version 9.1. Last change: 2024 Jan 14
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2568,8 +2568,9 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
2568
2568
'c', with only digits and ';' in between.
2569
2569
When this option is set, the TermResponse autocommand event is
2570
2570
fired, so that you can react to the response from the
2571
- terminal. You can use | terminalprops() | to see what Vim
2572
- figured out about the terminal.
2571
+ terminal. The TermResponseAll event is also fired, with
2572
+ <amatch> set to "version". You can use | terminalprops() | to see
2573
+ what Vim figured out about the terminal.
2573
2574
The response from a new xterm is: "<Esc> [> Pp ; Pv ; Pc c". Pp
2574
2575
is the terminal type: 0 for vt100 and 1 for vt220. Pv is the
2575
2576
patch level (since this was introduced in patch 95, it's
@@ -2581,27 +2582,37 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
2581
2582
*v:termblinkresp*
2582
2583
v:termblinkresp The escape sequence returned by the terminal for the | t_RC |
2583
2584
termcap entry. This is used to find out whether the terminal
2584
- cursor is blinking. This is used by | term_getcursor() | .
2585
+ cursor is blinking. This is used by | term_getcursor() | . When
2586
+ this option is set, the TermResponseAll autocommand event is
2587
+ fired, with <amatch> set to "cursorblink".
2585
2588
2586
2589
*v:termstyleresp*
2587
2590
v:termstyleresp The escape sequence returned by the terminal for the | t_RS |
2588
2591
termcap entry. This is used to find out what the shape of the
2589
- cursor is. This is used by | term_getcursor() | .
2592
+ cursor is. This is used by | term_getcursor() | . When this
2593
+ option is set, the TermResponseAll autocommand event is fired,
2594
+ with <amatch> set to "cursorshape".
2590
2595
2591
2596
*v:termrbgresp*
2592
2597
v:termrbgresp The escape sequence returned by the terminal for the | t_RB |
2593
2598
termcap entry. This is used to find out what the terminal
2594
- background color is, see 'background' .
2599
+ background color is; see 'background' . When this option is
2600
+ set, the TermResponseAll autocommand event is fired, with
2601
+ <amatch> set to "background".
2595
2602
2596
2603
*v:termrfgresp*
2597
2604
v:termrfgresp The escape sequence returned by the terminal for the | t_RF |
2598
2605
termcap entry. This is used to find out what the terminal
2599
- foreground color is.
2606
+ foreground color is. When this option is set, the
2607
+ TermResponseAll autocommand event is fired, with <amatch> set
2608
+ to "foreground".
2600
2609
2601
2610
*v:termu7resp*
2602
2611
v:termu7resp The escape sequence returned by the terminal for the | t_u7 |
2603
2612
termcap entry. This is used to find out what the terminal
2604
- does with ambiguous width characters, see 'ambiwidth' .
2613
+ does with ambiguous width characters, see 'ambiwidth' . When
2614
+ this option is set, the TermResponseAll autocommand event is
2615
+ fired, with <amatch> set to "ambiguouswidth".
2605
2616
2606
2617
*v:testing* *testing-variable*
2607
2618
v:testing Must be set before using `test_garbagecollect_now ()` .
0 commit comments