Mercurial > vim
comparison runtime/doc/autocmd.txt @ 34132:8f94a72dfbed v9.1.0029
patch 9.1.0029: Cannot act on various terminal response codes
Commit: https://github.com/vim/vim/commit/d7d560374b836e62e180914b6e85f0eb20557a54
Author: Danek Duvall <duvall@comfychair.org>
Date: Sun Jan 14 20:19:59 2024 +0100
patch 9.1.0029: Cannot act on various terminal response codes
Problem: Cannot act on various terminal response codes
Solution: Add the TerminalResponseAll autocommand
(Danek Duvall)
closes: #13829
Signed-off-by: Danek Duvall <duvall@comfychair.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 14 Jan 2024 20:30:04 +0100 |
parents | 4635e43f2c6f |
children | cdf7e0cff487 |
comparison
equal
deleted
inserted
replaced
34131:34602eacaa8c | 34132:8f94a72dfbed |
---|---|
1 *autocmd.txt* For Vim version 9.1. Last change: 2023 May 20 | 1 *autocmd.txt* For Vim version 9.1. Last change: 2024 Jan 14 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
338 Startup and exit | 338 Startup and exit |
339 |VimEnter| after doing all the startup stuff | 339 |VimEnter| after doing all the startup stuff |
340 |GUIEnter| after starting the GUI successfully | 340 |GUIEnter| after starting the GUI successfully |
341 |GUIFailed| after starting the GUI failed | 341 |GUIFailed| after starting the GUI failed |
342 |TermResponse| after the terminal response to |t_RV| is received | 342 |TermResponse| after the terminal response to |t_RV| is received |
343 |TermResponseAll| after the terminal response to |t_RV| and others is received | |
343 | 344 |
344 |QuitPre| when using `:quit`, before deciding whether to exit | 345 |QuitPre| when using `:quit`, before deciding whether to exit |
345 |ExitPre| when using a command that may make Vim exit | 346 |ExitPre| when using a command that may make Vim exit |
346 |VimLeavePre| before exiting Vim, before writing the viminfo file | 347 |VimLeavePre| before exiting Vim, before writing the viminfo file |
347 |VimLeave| before exiting Vim, after writing the viminfo file | 348 |VimLeave| before exiting Vim, after writing the viminfo file |
1218 can be used to do things depending on the | 1219 can be used to do things depending on the |
1219 terminal version. Note that this event may be | 1220 terminal version. Note that this event may be |
1220 triggered halfway executing another event, | 1221 triggered halfway executing another event, |
1221 especially if file I/O, a shell command or | 1222 especially if file I/O, a shell command or |
1222 anything else that takes time is involved. | 1223 anything else that takes time is involved. |
1224 *TermResponseAll* | |
1225 TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|, | |
1226 |t_RB|, |t_RF|, or |t_u7| are received from | |
1227 the terminal. The value of |v:termresponse|, | |
1228 |v:termblinkresp|, |v:termstyleresp|, | |
1229 |v:termrbgresp|, |v:termrfgresp|, and | |
1230 |v:termu7resp|, correspondingly, can be used. | |
1231 <amatch> will be set to any of: | |
1232 "version", | |
1233 "cursorblink", | |
1234 "cursorshape", | |
1235 "background", | |
1236 "foreground", | |
1237 "ambiguouswidth" | |
1238 Note that this event may be triggered halfway | |
1239 executing another event, especially if file I/O, | |
1240 a shell command or anything else that takes time | |
1241 is involved. | |
1223 *TextChanged* | 1242 *TextChanged* |
1224 TextChanged After a change was made to the text in the | 1243 TextChanged After a change was made to the text in the |
1225 current buffer in Normal mode. That is after | 1244 current buffer in Normal mode. That is after |
1226 |b:changedtick| has changed (also when that | 1245 |b:changedtick| has changed (also when that |
1227 happened before the TextChanged autocommand | 1246 happened before the TextChanged autocommand |