aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2017-06-21 16:59:52 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-09-12 15:52:54 -0700
commite9cf515888705640ebd754483349f2bf84c32255 (patch)
treea8709dfdb9e5e6090b47fc601e6bc21350f78fac /runtime
parent426399c2c4dd325bf00ffe1f410c1b9fd5053692 (diff)
downloadrneovim-e9cf515888705640ebd754483349f2bf84c32255.tar.gz
rneovim-e9cf515888705640ebd754483349f2bf84c32255.tar.bz2
rneovim-e9cf515888705640ebd754483349f2bf84c32255.zip
UIAttach, UIDetach
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt25
-rw-r--r--runtime/doc/deprecated.txt2
-rw-r--r--runtime/doc/vim_diff.txt2
3 files changed, 14 insertions, 15 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 6b39f1a103..0fab2bd24f 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -280,8 +280,8 @@ Name triggered by ~
Startup and exit
|VimEnter| after doing all the startup stuff
-|GUIEnter| after starting the GUI successfully
-|GUIFailed| after starting the GUI failed
+|UIAttach| after a new UI attaches
+|UIDetach| after a UI detaches
|TermResponse| after the terminal response to t_RV is received
|QuitPre| when using `:quit`, before deciding whether to exit
|ExitPre| when using a command that may make Vim exit
@@ -805,19 +805,14 @@ FuncUndefined When a user function is used but it isn't
NOTE: When writing Vim scripts a better
alternative is to use an autoloaded function.
See |autoload-functions|.
- *GUIEnter*
-GUIEnter After starting the GUI successfully, and after
- opening the window. It is triggered before
- VimEnter when using gvim. Can be used to
- position the window from a gvimrc file: >
- :autocmd GUIEnter * winpos 100 50
-< *GUIFailed*
-GUIFailed After starting the GUI failed. Vim may
- continue to run in the terminal, if possible
- (only on Unix and alikes, when connecting the
- X server fails). You may want to quit Vim: >
- :autocmd GUIFailed * qall
-< *InsertChange*
+ {Nvim} *UIAttach*
+UIAttach After a new UI connects to nvim and successfully
+ calls |nvim_ui_attach|. Sets chan in |v:event| with
+ the channel id or 0 if using the internal UI.
+ {Nvim} *UIDetach*
+UIDetach After a UI detaches from nvim. Sets chan in |v:event|
+ with the channel id or 0 if using the internal UI.
+ *InsertChange*
InsertChange When typing <Insert> while in Insert or
Replace mode. The |v:insertmode| variable
indicates the new mode.
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt
index 27e60be368..c26ddf8fe8 100644
--- a/runtime/doc/deprecated.txt
+++ b/runtime/doc/deprecated.txt
@@ -28,6 +28,8 @@ Environment Variables ~
Events ~
*EncodingChanged* Never fired; 'encoding' is always "utf-8".
*FileEncoding* Never fired; equivalent to |EncodingChanged|.
+*GUIEnter* Never fired; Use |UIAttach| instead.
+*GUIFailed* Never fired.
Keycodes ~
*<MouseDown>* Use <ScrollWheelUp> instead.
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 7381ae4e2b..b96e9892a2 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -154,6 +154,8 @@ Events:
|TermClose|
|TermOpen|
|TextYankPost|
+ |UIAttach|
+ |UIDetach|
|VimResume|
|VimSuspend|