From f768885c23b0e051559544ae9e0e084fd1e6dec6 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Fri, 6 Jun 2014 02:41:33 +0200 Subject: [PATCH] Updated :shellcmd examples. --- doc/vimb.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/vimb.1 b/doc/vimb.1 index e9b8913..c673ff1 100644 --- a/doc/vimb.1 +++ b/doc/vimb.1 @@ -539,10 +539,12 @@ Runs given shell \fICMD\fP syncron and print the output into inputbox. Follwing pattern in \fICMD\fP are expanded, '~username', '~/', '$VAR' and '${VAR}'. A '\\' before these patterns disables the expansion. -Example: :sh! echo "$VIMB_URI" >> myhistory.txt +Example: :sh ls -l $HOME .TP .BI ":sh[ellcmd]! " CMD Like :shellcmd, but asyncron. + +Example: :sh! /bin/sh -c 'echo "`date` $VIMB_URI" >> myhistory.txt' .TP .BI ":s[ave] [" PATH "]" Download current opened page into configured download directory. If \fIPATH\fP -- 2.20.1