aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 8880b625e9..f06c062ee3 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -276,6 +276,21 @@ g8 Print the hex values of the bytes used in the
< The screen is not redrawn then, thus you have to use
CTRL-L or ":redraw!" if the command did display
something.
+ *:!start*
+:!start {cmd} (Windows only). Special-case of |:!| which works
+ asynchronously, for running a program that does not
+ affect the files you are editing.
+ Optional arguments (can only use one at a time):
+ /min window will be minimized
+ /b no console window will be opened
+ Note: If the process requires input, /b will get an
+ EOF error because its input stream (stdin) would be
+ redirected to \\.\NUL (stdout and stderr too).
+
+ Programs begun with :!start do not get passed Vim's
+ open file handles, which means they do not have to be
+ closed before Vim. To avoid this special treatment,
+ use ":! start".
*:!!*
:!! Repeat last ":!{cmd}".