diff options
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/autocmd.txt | 3 | ||||
-rw-r--r-- | runtime/doc/news.txt | 1 | ||||
-rw-r--r-- | runtime/doc/options.txt | 7 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 1 |
4 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index c094281154..a82bac5de5 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1676,6 +1676,9 @@ To disable autocommands for some time use the 'eventignore' option. Note that this may cause unexpected behavior, make sure you restore 'eventignore' afterwards, using a |:try| block with |:finally|. +To disable autocmds indefinitely in a specific window use the 'eventignorewin' +option. This can only be used to ignore window and buffer related events. + *:noautocmd* *:noa* To disable autocommands for just one command use the ":noautocmd" command modifier. This will set 'eventignore' to "all" for the duration of the diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 92492d0448..cfda05e6f5 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -319,6 +319,7 @@ OPTIONS • 'completeopt' flag "preinsert" highlights text to be inserted. • 'messagesopt' configures |:messages| and |hit-enter| prompt. • 'tabclose' controls which tab page to focus when closing a tab page. +• 'eventignorewin' to persistently ignore events in a window. PERFORMANCE diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 550d3cbb14..4560eff6e8 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2334,6 +2334,13 @@ A jump table for the options with a short description can be found at |Q_op|. set ei=WinEnter,WinLeave < + *'eventignorewin'* *'eiw'* +'eventignorewin' 'eiw' string (default "") + local to window + Similar to 'eventignore' but applies to a particular window and its + buffers, for which window and buffer related autocommands can be + ignored indefinitely without affecting the global 'eventignore'. + *'expandtab'* *'et'* *'noexpandtab'* *'noet'* 'expandtab' 'et' boolean (default off) local to buffer diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index f43ddb57fb..86147cfc2b 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -696,6 +696,7 @@ Short explanation of each option: *option-list* 'errorfile' 'ef' name of the errorfile for the QuickFix mode 'errorformat' 'efm' description of the lines in the error file 'eventignore' 'ei' autocommand events that are ignored +'eventignorewin' 'eiw' autocommand events that are ignored in a window 'expandtab' 'et' use spaces when <Tab> is inserted 'exrc' 'ex' read init files in the current directory 'fileencoding' 'fenc' file encoding for multibyte text |