1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-27 08:05:55 +01:00

add DownloadPost autocmd event

This commit is contained in:
Doug Kearns
2008-10-15 01:52:59 +00:00
parent 50a5eeea56
commit 7770adb4af
4 changed files with 41 additions and 19 deletions

View File

@@ -22,6 +22,7 @@ Available {events}:
`--------------------`----------------------------------------
*BookmarkAdd* Triggered after a page is bookmarked
*DOMLoad* Triggered when a page's DOM content has fully loaded
*DownloadPost* Triggered when a download has completed
*LocationChange* Triggered when changing tabs or when navigating to a new location
*PageLoadPre* Triggered after a page load is initiated.
*PageLoad* Triggered when a page gets (re)loaded/opened
@@ -36,18 +37,17 @@ differs from Vim which uses a glob rather than a regexp for {pat}.
The following keywords are available where relevant:
`--------------------`----------------------------------------
<url> The URL against which the event was selected.
<title> The page or bookmark title.
<tab> The index tab in which the event occurred.
<tags> The tags applied to <url>. Only for *BookmarkAdd*.
<keyword> The keywords applied to the bookmark. Only for *BookmarkAdd*.
<icon> The icon associated with <url>. Only for *BookmarkAdd*.
`-----------`-------------------------------------------------
*<url>* The URL against which the event was selected.
*<title>* The page, bookmark or download title.
*<tab>* The index tab in which the event occurred.
*<tags>* The tags applied to <url>. Only for *BookmarkAdd*.
*<keyword>* The keywords applied to the bookmark. Only for *BookmarkAdd*.
*<icon>* The icon associated with <url>. Only for *BookmarkAdd*.
*<size>* The size of a downloaded file.
*<file>* The target destination of a download.
--------------------------------------------------------------
Warning: Autocommand events are, in general, currently only fired when
Vimperator commands are executed.
________________________________________________________________________________