aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorrover <pathfinder2013@126.com>2017-01-08 21:05:41 +0800
committerrover <pathfinder2013@126.com>2017-01-08 22:46:08 +0800
commitc2344f3d31fe6a006027dbf88873ee0916b73028 (patch)
tree00c08ee4d4a79beebe324e0da25c8caa1533d8b0 /runtime/doc/autocmd.txt
parent888cdce3aa70c5800916b0d54ab40e8ac01d704a (diff)
downloadrneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.tar.gz
rneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.tar.bz2
rneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.zip
vim-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) https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 65e091edf5..1edb377013 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -294,6 +294,7 @@ 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
|WinEnter| after entering another window
|WinLeave| before leaving a window
|TabEnter| after entering another tab page