diff options
author | anekos | 2009-03-31 17:23:50 +0000 |
---|---|---|
committer | anekos | 2009-03-31 17:23:50 +0000 |
commit | 07b029340a121462005ed638f82235d9d2ba8c24 (patch) | |
tree | 0c2740d2b70f8626482045f1d8011260ba70ecef /walk-input.js | |
parent | cecf0f7be18a7d9777f287a0232d6aa7bd6f2384 (diff) | |
download | vimperator-plugins-07b029340a121462005ed638f82235d9d2ba8c24.tar.bz2 |
PLUGIN_INFO に対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@31753 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'walk-input.js')
-rw-r--r-- | walk-input.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/walk-input.js b/walk-input.js index 97391f1..caff76d 100644 --- a/walk-input.js +++ b/walk-input.js @@ -18,6 +18,36 @@ // <textarea name="comment"></textarea> // </html> +// PLUGIN_INFO {{{ +let PLUGIN_INFO = +<VimperatorPlugin> + <name>Walk Input</name> + <description>The focus walks "input" and "textarea" elements.</description> + <version>1.1</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>; +// }}} + (function () { var xpath = '//input[@type="text" or @type="password" or @type="search" or not(@type)] | //textarea'; |