From 28ec3834327dacb433d1003052856e829f0e831e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 22 Feb 2011 02:46:10 -0500 Subject: [PATCH] Minor help updates. --- common/locale/en-US/autocommands.xml | 12 ++++++++---- common/locale/en-US/eval.xml | 9 +++++++-- common/locale/en-US/gui.xml | 2 +- common/locale/en-US/map.xml | 12 ++++++------ common/locale/en-US/repeat.xml | 3 +-- common/locale/en-US/styling.xml | 7 ++++--- 6 files changed, 27 insertions(+), 18 deletions(-) diff --git a/common/locale/en-US/autocommands.xml b/common/locale/en-US/autocommands.xml index 359aeacc..260eb074 100644 --- a/common/locale/en-US/autocommands.xml +++ b/common/locale/en-US/autocommands.xml @@ -90,16 +90,20 @@

Enable passthrough mode on all Google sites:

-:autocmd LocationChange google\.com -js modes.set(modes.PASS_THROUGH) +:autocmd LocationChange google.com :normal!

Enable passthrough mode on some Google sites:

-:autocmd LocationChange (www|mail)\.google\.com -js modes.set(modes.PASS_THROUGH) +:autocmd LocationChange ^https?://(www|mail)\.google\.com/ :normal! + +

or

+ +:autocmd LocationChange www.google.com,mail.google.com :normal!

Set the filetype to mail when editing email at Gmail:

-:autocmd LocationChange !mail\.google\.com gvim -f -:autocmd LocationChange mail\.google\.com gvim -f -c 'set ft=mail' +:autocmd LocationChange !mail.google.com,* +:autocmd LocationChange mail.google.com gvim -f -c 'set ft=mail' +<line> diff --git a/common/locale/en-US/eval.xml b/common/locale/en-US/eval.xml index 79dd021a..d10fd02f 100644 --- a/common/locale/en-US/eval.xml +++ b/common/locale/en-US/eval.xml @@ -89,7 +89,10 @@ :js :javas :javascript :javascript cmd - :javascript <<endpattern\ncmd\nendpattern + :javascript <<endpattern + cmd + ... +endpattern

Evaluates the given cmd as JavaScript. Behaves exactly as @@ -197,6 +200,7 @@ :if + :if expr

@@ -210,7 +214,7 @@ :endif :en :fi :endif - +

Ends a string of :if/:elseif/:else conditionals. @@ -232,6 +236,7 @@ :else :el + :else

diff --git a/common/locale/en-US/gui.xml b/common/locale/en-US/gui.xml index ed6e13e9..9bb1151c 100644 --- a/common/locale/en-US/gui.xml +++ b/common/locale/en-US/gui.xml @@ -248,7 +248,7 @@ as per &dactyl.host;. The color of the status bar also changes to reflect the current security status of the loaded page.

-
black
+
black
The site's identity is unverified and the connection is unencrypted
red
diff --git a/common/locale/en-US/map.xml b/common/locale/en-US/map.xml index c046d553..f83b99b1 100644 --- a/common/locale/en-US/map.xml +++ b/common/locale/en-US/map.xml @@ -154,23 +154,23 @@ - :unm :unmap :unmap lhs + :unm :unmap :unmap! - :nun :nunmap :nunmap lhs + :nun :nunmap :nunmap! - :vun :vunmap :vunmap lhs + :vun :vunmap :vunmap! - :iu :iunmap :iunmap lhs + :iu :iunmap :iunmap! - :tu :tunmap :tunmap lhs + :tu :tunmap :tunmap! - :cu :cunmap :cunmap lhs + :cu :cunmap :cunmap!

Remove the mapping of lhs (or all mappings if ! is diff --git a/common/locale/en-US/repeat.xml b/common/locale/en-US/repeat.xml index 3170c1c6..b14b8a8a 100644 --- a/common/locale/en-US/repeat.xml +++ b/common/locale/en-US/repeat.xml @@ -110,9 +110,8 @@ s]]> - counts]]> - +

Sleep for count milliseconds before resuming playback.

diff --git a/common/locale/en-US/styling.xml b/common/locale/en-US/styling.xml index ecd89d18..eda39bbf 100644 --- a/common/locale/en-US/styling.xml +++ b/common/locale/en-US/styling.xml @@ -185,15 +185,16 @@ :dels :delstyle + :delstyle! -name=name -index=index filter css

Delete any matching styles. With !, delete all styles. If filter is provided, only matching elements of the filter are disabled. For instance, when run with a filter - mozilla.org, an existing style with a filter - www.google.com,mozilla.org, will result in a style for - www.google.com. + mozilla.org, an existing style with a filter + www.google.com,mozilla.org, will result in a style for + www.google.com.

The available options are: