1- *autocmd.txt* For Vim version 7.4. Last change: 2016 Jun 09
1+ *autocmd.txt* For Vim version 7.4. Last change: 2016 Jul 19
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -294,7 +294,8 @@ Name triggered by ~
294294| CursorMovedI | the cursor was moved in Insert mode
295295
296296| WinNew | after creating a new window
297- | TabNew | after creating a new window
297+ | TabNew | after creating a new tab page
298+ | TabClosed | after closing a tab page
298299| WinEnter | after entering another window
299300| WinLeave | before leaving a window
300301| TabEnter | after entering another tab page
@@ -311,9 +312,6 @@ Name triggered by ~
311312| TextChanged | after a change was made to the text in Normal mode
312313| TextChangedI | after a change was made to the text in Insert mode
313314
314- | TextChanged | after a change was made to the text in Normal mode
315- | TextChangedI | after a change was made to the text in Insert mode
316-
317315| ColorScheme | after loading a color scheme
318316
319317| RemoteReply | a reply from a server Vim was received
@@ -879,6 +877,8 @@ Syntax When the 'syntax' option has been set. The
879877 where this option was set, and <amatch> for
880878 the new value of 'syntax' .
881879 See | :syn-on | .
880+ *TabClosed*
881+ TabClosed After closing a tab page.
882882 *TabEnter*
883883TabEnter Just after entering a tab page. | tab-page |
884884 After triggering the WinEnter and before
@@ -976,6 +976,11 @@ WinLeave Before leaving a window. If the window to be
976976 WinLeave autocommands (but not for ":new").
977977 Not used for ":qa" or ":q" when exiting Vim.
978978
979+ *WinNew*
980+ WinNew When a new window was created. Not done for
981+ the fist window, when Vim has just started.
982+ Before a WinEnter event.
983+
979984==============================================================================
9809856. Patterns *autocmd-patterns* *{pat}*
981986
0 commit comments