aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/nvim_terminal_emulator.txt
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-11 04:27:50 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-15 15:10:02 +0100
commit9fcd444036e687a3c5c9aa75fa29b6251b3ad431 (patch)
treea13e600a19081542277cdeb35d1de186197d9a90 /runtime/doc/nvim_terminal_emulator.txt
parentac4db4b814dae6cd9004276d1330702663256491 (diff)
downloadrneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.tar.gz
rneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.tar.bz2
rneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.zip
Add TermClose event
A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
Diffstat (limited to 'runtime/doc/nvim_terminal_emulator.txt')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index 701c6dc274..6ef3aaebaa 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -105,6 +105,8 @@ The configuration variables are only processed when the terminal starts, which
is why it needs to be done with the |TermOpen| autocmd or setting global
variables before the terminal is started.
+There is also a corresponding |TermClose| event.
+
The terminal cursor can be highlighted via |hl-TermCursor| and
|hl-TermCursorNC|.