summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-19 22:31:36 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-19 22:31:36 +0200
commitc917da4b3e8801a255dbefea8e4ed19c1c716dd8 (patch)
tree4c4ca7b3b658f666aa781e2f9e51e9dafc57f6d6 /runtime
parent0a0f641b9841189ba4180758109d04d0a26e50e3 (diff)
downloadvim-c917da4b3e8801a255dbefea8e4ed19c1c716dd8.zip
patch 7.4.2075
Problem: No autocommand event to initialize a window or tab page. Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index d33d6f28b..c924af32d 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -293,6 +293,8 @@ Name triggered by ~
|CursorMoved| the cursor was moved in Normal mode
|CursorMovedI| the cursor was moved in Insert mode
+|WinNew| after creating a new window
+|TabNew| after creating a new window
|WinEnter| after entering another window
|WinLeave| before leaving a window
|TabEnter| after entering another tab page
@@ -309,6 +311,9 @@ Name triggered by ~
|TextChanged| after a change was made to the text in Normal mode
|TextChangedI| after a change was made to the text in Insert mode
+|TextChanged| after a change was made to the text in Normal mode
+|TextChangedI| after a change was made to the text in Insert mode
+
|ColorScheme| after loading a color scheme
|RemoteReply| a reply from a server Vim was received
@@ -882,6 +887,10 @@ TabEnter Just after entering a tab page. |tab-page|
TabLeave Just before leaving a tab page. |tab-page|
A WinLeave event will have been triggered
first.
+ *TabNew*
+TabNew When a tab page was created. |tab-page|
+ A WinEnter event will have been triggered
+ first, TabEnter follows.
*TermChanged*
TermChanged After the value of 'term' has changed. Useful
for re-loading the syntax file to update the