diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-19 23:13:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-19 23:13:03 +0200 |
commit | 12c11d553053f5a9eae9eb3c518279b12fa928c2 (patch) | |
tree | 9516b5c3300a1799e1a5657457dedd7e8d526749 /runtime | |
parent | 4f0383bc3fe5af0229fb66b53fe94329af783eff (diff) |
patch 7.4.2077v7.4.2077
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/autocmd.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index c924af32dd..e5fc361f1c 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.4. Last change: 2016 Jun 09 +*autocmd.txt* For Vim version 7.4. Last change: 2016 Jul 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -294,7 +294,8 @@ Name triggered by ~ |CursorMovedI| the cursor was moved in Insert mode |WinNew| after creating a new window -|TabNew| after creating a new window +|TabNew| after creating a new tab page +|TabClosed| after closing a tab page |WinEnter| after entering another window |WinLeave| before leaving a window |TabEnter| after entering another tab page @@ -311,9 +312,6 @@ 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 @@ -879,6 +877,8 @@ Syntax When the 'syntax' option has been set. The where this option was set, and <amatch> for the new value of 'syntax'. See |:syn-on|. + *TabClosed* +TabClosed After closing a tab page. *TabEnter* TabEnter Just after entering a tab page. |tab-page| After triggering the WinEnter and before @@ -976,6 +976,11 @@ WinLeave Before leaving a window. If the window to be WinLeave autocommands (but not for ":new"). Not used for ":qa" or ":q" when exiting Vim. + *WinNew* +WinNew When a new window was created. Not done for + the fist window, when Vim has just started. + Before a WinEnter event. + ============================================================================== 6. Patterns *autocmd-patterns* *{pat}* |