aboutsummaryrefslogtreecommitdiffstats
path: root/walk-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'walk-input.js')
-rw-r--r--walk-input.js67
1 files changed, 40 insertions, 27 deletions
diff --git a/walk-input.js b/walk-input.js
index c74a84a..d28b495 100644
--- a/walk-input.js
+++ b/walk-input.js
@@ -19,33 +19,46 @@
// </html>
// PLUGIN_INFO {{{
-let PLUGIN_INFO =
-<VimperatorPlugin>
- <name>Walk Input</name>
- <description>The focus walks "input" and "textarea" elements.</description>
- <version>1.2</version>
- <author mail="tekezo@pqrs.org">Takayama Fumihiko</author>
- <license>BSD</license>
- <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/walk-input.js</updateURL>
- <minVersion>2.0</minVersion>
- <maxVersion>2.1pre</maxVersion>
- <detail><![CDATA[
- The focus walks <input> & <textarea> elements.
- If you type M-i first, the focus moves to "<input name='search' />".
- Then if you type M-i once more, the focus moves to "<input name='name' />".
-
- >||
- <html>
- <input name="search" />
- <a href="xxx">xxx</a>
- <a href="yyy">yyy</a>
- <a href="zzz">zzz</a>
- <input name="name" />
- <textarea name="comment"></textarea>
- </html>
- ||<
- ]]></detail>
-</VimperatorPlugin>;
+let INFO =
+<plugin name="Walk-Input" version="1.1"
+ href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/walk-input.js"
+ summary="The focus walks 'input' and 'textarea' element."
+ xmlns="http://vimperator.org/namespaces/liberator">
+ <author email="tekezo@pqrs.org">Takayama Fumihiko</author>
+ <license>BSD</license>
+ <project name="Vimperator" minVersion="2.2"/>
+ <p>
+ The focus walks &lt;input&gt; &amp; &lt;textarea&gt; element.
+ If you type <k name="M-i"/> first, the focus moves to "&lt;input name='search' /&gt;".
+ Then if you type <k name="M-i"/> once more, the focus moves to "&lt;input name='name' /&gt;".
+ </p>
+ <code><![CDATA[
+<html>
+ <input name="search" />
+ <a href="xxx">xxx</a>
+ <a href="yyy">yyy</a>
+ <a href="zzz">zzz</a>
+ <input name="name" />
+ <textarea name="comment"></textarea>
+</html>
+ ]]></code>
+ <item>
+ <tags><![CDATA[i_<M-i> i_<A-i> <M-i> <A-i>]]></tags>
+ <spec>&lt;M-i&gt;</spec>
+ <spec>&lt;A-i&gt;</spec>
+ <description>
+ <p>Move focus forward</p>
+ </description>
+ </item>
+ <item>
+ <tags><![CDATA[i_<M-S-i> i_<A-S-i> <M-S-i> <A-S-i>]]></tags>
+ <spec>&lt;M-S-i&gt;</spec>
+ <spec>&lt;A-S-i&gt;</spec>
+ <description>
+ <p>Move focus backward</p>
+ </description>
+ </item>
+</plugin>;
// }}}
(function () {