Mercurial > vim
comparison runtime/doc/autocmd.txt @ 18450:507348b211b4 v8.1.2219
patch 8.1.2219: no autocommand for open window with terminal
Commit: https://github.com/vim/vim/commit/28ed4dfe1f80905fb399c2cde31ace5ee14d8c67
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 26 16:21:40 2019 +0200
patch 8.1.2219: no autocommand for open window with terminal
Problem: No autocommand for open window with terminal.
Solution: Add TerminalWinOpen. (Christian Brabandt)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Oct 2019 16:30:03 +0200 |
parents | 1e5672da6a69 |
children | ef90e5bbb971 |
comparison
equal
deleted
inserted
replaced
18449:2d1716e5ba53 | 18450:507348b211b4 |
---|---|
266 Buffers | 266 Buffers |
267 |BufAdd| just after adding a buffer to the buffer list | 267 |BufAdd| just after adding a buffer to the buffer list |
268 |BufCreate| just after adding a buffer to the buffer list | 268 |BufCreate| just after adding a buffer to the buffer list |
269 |BufDelete| before deleting a buffer from the buffer list | 269 |BufDelete| before deleting a buffer from the buffer list |
270 |BufWipeout| before completely deleting a buffer | 270 |BufWipeout| before completely deleting a buffer |
271 |TerminalOpen| after a terminal buffer was created | |
272 | 271 |
273 |BufFilePre| before changing the name of the current buffer | 272 |BufFilePre| before changing the name of the current buffer |
274 |BufFilePost| after changing the name of the current buffer | 273 |BufFilePost| after changing the name of the current buffer |
275 | 274 |
276 |BufEnter| after entering a buffer | 275 |BufEnter| after entering a buffer |
299 | 298 |
300 |QuitPre| when using `:quit`, before deciding whether to exit | 299 |QuitPre| when using `:quit`, before deciding whether to exit |
301 |ExitPre| when using a command that may make Vim exit | 300 |ExitPre| when using a command that may make Vim exit |
302 |VimLeavePre| before exiting Vim, before writing the viminfo file | 301 |VimLeavePre| before exiting Vim, before writing the viminfo file |
303 |VimLeave| before exiting Vim, after writing the viminfo file | 302 |VimLeave| before exiting Vim, after writing the viminfo file |
303 | |
304 Terminal | |
305 |TerminalOpen| after a terminal buffer was created | |
306 |TerminalWinOpen| after a terminal buffer was created in a new window | |
304 | 307 |
305 Various | 308 Various |
306 |FileChangedShell| Vim notices that a file changed since editing started | 309 |FileChangedShell| Vim notices that a file changed since editing started |
307 |FileChangedShellPost| After handling a file changed since editing started | 310 |FileChangedShellPost| After handling a file changed since editing started |
308 |FileChangedRO| before making the first change to a read-only file | 311 |FileChangedRO| before making the first change to a read-only file |
1079 *TerminalOpen* | 1082 *TerminalOpen* |
1080 TerminalOpen Just after a terminal buffer was created, with | 1083 TerminalOpen Just after a terminal buffer was created, with |
1081 `:terminal` or |term_start()|. This event is | 1084 `:terminal` or |term_start()|. This event is |
1082 triggered even if the buffer is created | 1085 triggered even if the buffer is created |
1083 without a window, with the ++hidden option. | 1086 without a window, with the ++hidden option. |
1087 *TerminalWinOpen* | |
1088 TerminalWinOpen Just after a terminal buffer was created, with | |
1089 `:terminal` or |term_start()|. This event is | |
1090 triggered only if the buffer is created | |
1091 with a window. Can be used to set window | |
1092 local options for the terminal window. | |
1084 *TermResponse* | 1093 *TermResponse* |
1085 TermResponse After the response to |t_RV| is received from | 1094 TermResponse After the response to |t_RV| is received from |
1086 the terminal. The value of |v:termresponse| | 1095 the terminal. The value of |v:termresponse| |
1087 can be used to do things depending on the | 1096 can be used to do things depending on the |
1088 terminal version. Note that this event may be | 1097 terminal version. Note that this event may be |