diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-06-10 22:52:47 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-06-10 22:53:30 +0200 |
commit | 20dd1149b734c82ebc804c5c4d4d9487ddb37be3 (patch) | |
tree | 63ac3acd42bd760529a980caace3a497fb6bcac8 /doc/vimb.1.txt | |
parent | 0c6d80946e62174fa5c4cbec897afe1ffa3c967e (diff) |
Added new command :shellcmd to run shell commands (#25).
This is the first test for this way of working with vimb. There might be
security issues related to this and we should check if the uri is always
proper escaped.
Diffstat (limited to 'doc/vimb.1.txt')
-rw-r--r-- | doc/vimb.1.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/vimb.1.txt b/doc/vimb.1.txt index cdf8d35..a494846 100644 --- a/doc/vimb.1.txt +++ b/doc/vimb.1.txt @@ -332,6 +332,14 @@ Format: Example: ":run set input-bg-normal=#ff0 | set input-fg-normal=#f0f | 5pagedown" .TP +.BI "shellcmd " CMD +Runs given shell \fICMD\fP syncron and print the output into inputbox. The +\fICMD\fP can contain multiple '%' chars that are expanded to the current +opened uri. + +Example: +`:shellcmd echo "`date` %" >> myhistory.txt' +.TP .BI [ N "]search-forward, [" N "]search-backward" Search in current page forward or backward. .TP |