aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-05 09:45:14 +0200
committerGitHub <noreply@github.com>2018-09-05 09:45:14 +0200
commit55a721512b695db47c6c0a792b767a1c850b01fc (patch)
treefa3f76da5189581a12ecacc7a8e42b4640ebeac5 /runtime
parentbfe82d465035a1b792c4a17d7f7a759b61205e15 (diff)
parent958467456930badcaf218b6fac56b105ac7655c8 (diff)
downloadrneovim-55a721512b695db47c6c0a792b767a1c850b01fc.tar.gz
rneovim-55a721512b695db47c6c0a792b767a1c850b01fc.tar.bz2
rneovim-55a721512b695db47c6c0a792b767a1c850b01fc.zip
Merge #8953 from janlazo/vim-8.0.1190
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 24bcb13e6e..2f9d8aa7f7 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -274,7 +274,8 @@ Name triggered by ~
|GUIEnter| after starting the GUI successfully
|GUIFailed| after starting the GUI failed
|TermResponse| after the terminal response to |t_RV| is received
-|QuitPre| when using `:quit`, before deciding whether to quit
+|QuitPre| when using `:quit`, before deciding whether to exit
+|ExitPre| when using a command that may make Vim exit
|VimLeavePre| before exiting Nvim, before writing the shada file
|VimLeave| before exiting Nvim, after writing the shada file
|VimResume| after Nvim is resumed
@@ -646,6 +647,11 @@ FileChangedRO Before making the first change to a read-only
*E881*
If the number of lines changes saving for undo
may fail and the change will be aborted.
+ *ExitPre*
+ExitPre When using `:quit`, `:wq` in a way it makes
+ Vim exit, or using `:qall`, just after
+ |QuitPre|. Can be used to close any
+ non-essential window.
*FileChangedShell*
FileChangedShell When Vim notices that the modification time of
a file has changed since editing started.
@@ -862,6 +868,7 @@ QuitPre When using `:quit`, `:wq` or `:qall`, before
or quits Vim. Can be used to close any
non-essential window if the current window is
the last ordinary window.
+ Also see |ExitPre|.
*RemoteReply*
RemoteReply When a reply from a Vim that functions as
server was received |server2client()|. The