summaryrefslogtreecommitdiff
path: root/src/fileio.c
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 /src/fileio.c
parent0a0f641b9841189ba4180758109d04d0a26e50e3 (diff)
downloadvim-git-c917da4b3e8801a255dbefea8e4ed19c1c716dd8.tar.gz
patch 7.4.2075v7.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 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index e9dca0c0a..0a84576e5 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -7706,6 +7706,7 @@ static struct event_name
{"StdinReadPre", EVENT_STDINREADPRE},
{"SwapExists", EVENT_SWAPEXISTS},
{"Syntax", EVENT_SYNTAX},
+ {"TabNew", EVENT_TABNEW},
{"TabEnter", EVENT_TABENTER},
{"TabLeave", EVENT_TABLEAVE},
{"TermChanged", EVENT_TERMCHANGED},
@@ -7716,6 +7717,7 @@ static struct event_name
{"VimEnter", EVENT_VIMENTER},
{"VimLeave", EVENT_VIMLEAVE},
{"VimLeavePre", EVENT_VIMLEAVEPRE},
+ {"WinNew", EVENT_WINNEW},
{"WinEnter", EVENT_WINENTER},
{"WinLeave", EVENT_WINLEAVE},
{"VimResized", EVENT_VIMRESIZED},