From e985d558197a9c6636ab7ea2ebf8571c7f29e963 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 11 Oct 2008 05:56:28 +0000 Subject: [PATCH] Add NEWS and help entries for updated :au that I thought I'd added before, but apparantly "failed an up-to-date check" on --- NEWS | 1 + locale/en-US/autocommands.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/NEWS b/NEWS index f5686204..4aa8882b 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ special versions for the old behavior * IMPORTANT: renamed Startup and Quit autocmd events to VimperatorEnter and VimperatorLeave respectively + * add interpolation for items such as to autocommands * add -nargs, -bang, and -count attribute support to :command * much improved completion support, including javascript, option, and search keyword * add / and / command-line mappings for diff --git a/locale/en-US/autocommands.txt b/locale/en-US/autocommands.txt index ce5419ed..f160728d 100644 --- a/locale/en-US/autocommands.txt +++ b/locale/en-US/autocommands.txt @@ -34,8 +34,20 @@ Available {events}: {pat} is a regular expression, use .* if you want to match all URLs. Note: This differs from Vim which uses a glob rather than a regexp for {pat}. +The following keywords are available where relevant: + +`--------------------`---------------------------------------- + The URL against which the event was selected. + 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*. +-------------------------------------------------------------- + Warning: Autocommand events are, in general, currently only fired when Vimperator commands are executed. + ________________________________________________________________________________