From 3fb372eba48796b5d0a7758f91e168be8e70e183 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Thu, 10 Aug 2023 09:53:56 -0500 Subject: Use Lua autocommand and make TermClose autocommand global --- runtime/doc/various.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/doc/various.txt') diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 52e8f4d86c..33f57580c7 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -249,6 +249,10 @@ gx Opens the current filepath or URL (decided by Fails if changes have been made to the current buffer, unless 'hidden' is set. + If {cmd} is omitted, and the 'shell' job exits with no + error, the buffer is closed automatically + |default-autocmds|. + To enter |Terminal-mode| automatically: > autocmd TermOpen * startinsert < -- cgit