diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-03 20:40:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-03 20:40:20 +0200 |
commit | 606cb8b08ed510962fcdc8ef1abcc1fe35fbffef (patch) | |
tree | 1de16674e2bd1fd2293dd1f3025a6074d2ce35f7 /runtime | |
parent | dddab90d22d5f8be9c6751505339397ca5742831 (diff) | |
download | vim-git-606cb8b08ed510962fcdc8ef1abcc1fe35fbffef.tar.gz |
patch 8.0.1789: BufWinEnter does not work well for a terminal windowv8.0.1789
Problem: BufWinEnter does not work well for a terminal window.
Solution: Do not trigger BufWinEnter when opening a terminal window.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/autocmd.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index c3f04cc7a..14cf6c42a 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -469,6 +469,9 @@ BufWinEnter After a buffer is displayed in a window. This existing buffer. But it does happen for a ":split" with the name of the current buffer, since it reloads that buffer. + Does not happen for a terminal window, because + it starts in Terminal-Job mode and Normal mode + commands won't work. Use |TerminalOpen| instead. *BufWinLeave* BufWinLeave Before a buffer is removed from a window. Not when it's still visible in another window. |