aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-02-04 13:30:41 +0000
committeranekos2009-02-04 13:30:41 +0000
commit87273259825c1d137bc1e280867a7853302c299b (patch)
tree1533d7342eb72cae48a232fbac4ae24cfd1d9b7a
parentf4761cd19f9de338d73e788abb6c80896588db2f (diff)
downloadvimperator-plugins-87273259825c1d137bc1e280867a7853302c299b.tar.bz2
PLUGIN_INFO 修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29543 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--applauncher.js32
-rw-r--r--auto_source.js20
-rw-r--r--autoproxychanger.js67
-rw-r--r--clock.js38
4 files changed, 87 insertions, 70 deletions
diff --git a/applauncher.js b/applauncher.js
index 1e64d1b..ae28700 100644
--- a/applauncher.js
+++ b/applauncher.js
@@ -11,23 +11,25 @@ var PLUGIN_INFO =
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/applauncher.js</updateURL>
<detail lang='ja'><![CDATA[
== Commands ==
- :applaunch [name]
- :runapp [name]
+ :applaunch [name]:
+ :runapp [name]:
[name] で指定されたアプリケーションを起動します。
== .vimperatorrc example ==
- js <<EOM
- liberator.globalVariables.applauncher_list = [
- [ 'name', 'application path', ['arguments', '%URL%', '%SEL%']],
- [ 'Internet Explorer', 'C:\\Program Files\\Internet Explorer\\iexplore.exe', '%URL%'],
- [ 'Internet Explorer(Search)', 'C:\\Program Files\\Internet Explorer\\iexplore.exe', '%SEL%'],
- ];
- liberator.globalVariables.applauncher_charset = 'Shift_JIS';
- EOM
- %URL% は実行時に選択中のリンクURL、もしくは開いているページのURLに置き換えられます。
- %SEL% は選択中の文字列に置き換えられます。
- %TITLE% はページのタイトルに置き換えられます。
- 引数を複数指定する場合は配列形式で指定してください。
- applauncher_charset を指定すると、渡される文字列が指定の文字セットに変換されます。
+ >||
+ js <<EOM
+ liberator.globalVariables.applauncher_list = [
+ [ 'name', 'application path', ['arguments', '%URL%', '%SEL%']],
+ [ 'Internet Explorer', 'C:\\Program Files\\Internet Explorer\\iexplore.exe', '%URL%'],
+ [ 'Internet Explorer(Search)', 'C:\\Program Files\\Internet Explorer\\iexplore.exe', '%SEL%'],
+ ];
+ liberator.globalVariables.applauncher_charset = 'Shift_JIS';
+ EOM
+ ||<
+ %URL% は実行時に選択中のリンクURL、もしくは開いているページのURLに置き換えられます。
+ %SEL% は選択中の文字列に置き換えられます。
+ %TITLE% はページのタイトルに置き換えられます。
+ 引数を複数指定する場合は配列形式で指定してください。
+ applauncher_charset を指定すると、渡される文字列が指定の文字セットに変換されます。
]]></detail>
</VimperatorPlugin>
diff --git a/auto_source.js b/auto_source.js
index 3038c98..df82079 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -14,20 +14,20 @@ var PLUGIN_INFO =
<detail><![CDATA[
== Commands ==
Start watching:
- :aso taro.js
- :autoso[urce] taro.js
+ - :aso taro.js
+ - :autoso[urce] taro.js
Stop watching:
- :aso! taro.js
- :autoso[urce]! taro.js
+ - :aso! taro.js
+ - :autoso[urce]! taro.js
]]></detail>
<detail lang="ja"><![CDATA[
== Commands ==
- 監視を開始:
- :aso taro.js
- :autoso[urce] taro.js
- 監視を中止:
- :aso! taro.js
- :autoso[urce]! taro.js
+ 監視を開始:
+ - :aso taro.js
+ - :autoso[urce] taro.js
+ 監視を中止:
+ - :aso! taro.js
+ - :autoso[urce]! taro.js
]]></detail>
</VimperatorPlugin>;
diff --git a/autoproxychanger.js b/autoproxychanger.js
index f367b9b..47c78f3 100644
--- a/autoproxychanger.js
+++ b/autoproxychanger.js
@@ -3,45 +3,52 @@ var PLUGIN_INFO =
<name>autoproxychanger</name>
<description>setting proxy</description>
<description lang="ja">proxyの設定・自動切り替え</description>
- <version>0.1.2</version>
+ <version>0.1.3</version>
<author homepage="http://d.hatena.ne.jp/pekepekesamurai/">pekepeke</author>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/autoproxychanger.js</updateURL>
<detail><![CDATA[
-Usage:
-:proxy [setting_name] -> set proxy setting to setting_name
-:proxy! -> set proxy setting to default setting
-:toggleautoproxy -> proxy autochanger on/off toggle
+ == Usage ==
+ :proxy [setting_name]:
+ set proxy setting to setting_name
+ :proxy!:
+ set proxy setting to default setting
+ :toggleautoproxy:
+ proxy autochanger on/off toggle
-The proxy_settings is a string variable which can set on
-vimperatorrc as following.
+ The proxy_settings is a string variable which can set on
+ vimperatorrc as following.
-let autochanger_proxy_settings = "[{ name:'disable', usage: 'direct connection', proxy:{type:0} }]"
-let autochanger_proxy_enabled = "true"
+ >||
+ let autochanger_proxy_settings = "[{ name:'disable', usage: 'direct connection', proxy:{type:0} }]"
+ let autochanger_proxy_enabled = "true"
+ ||<
-or your can set it using inline JavaScript.
+ or your can set it using inline JavaScript.
-liberator.globalVariables.autochanger_proxy_enabled = true;
-liberator.globalVariables.autochanger_proxy_settings = [{
- name : 'disable',
- usage : 'direct connection',
- proxy :{
- type :0,
- },
- },{
- name : 'http',
- usage : 'localhost proxy',
- proxy :{
- type : 1,
- http : 'localhost',
- http_port : 8080,
- },
- url : /http:\/\/www.nicovideo.jp/,
- run : 'java.exe',
- args : ['C:\Personal\Apps\Internet\NicoCacheNl\NicoCache_nl.jar'],
- }];
-EOM
+ >||
+ liberator.globalVariables.autochanger_proxy_enabled = true;
+ liberator.globalVariables.autochanger_proxy_settings = [{
+ name : 'disable',
+ usage : 'direct connection',
+ proxy :{
+ type :0,
+ },
+ },{
+ name : 'http',
+ usage : 'localhost proxy',
+ proxy :{
+ type : 1,
+ http : 'localhost',
+ http_port : 8080,
+ },
+ url : /http:\/\/www.nicovideo.jp/,
+ run : 'java.exe',
+ args : ['C:\Personal\Apps\Internet\NicoCacheNl\NicoCache_nl.jar'],
+ }];
+ EOM
+ ||<
]]></detail>
</VimperatorPlugin>;
diff --git a/clock.js b/clock.js
index 0454daa..7e19497 100644
--- a/clock.js
+++ b/clock.js
@@ -5,7 +5,7 @@ let PLUGIN_INFO =
<description lang="ja">とけい</description>
<author mail="janus_wel@fb3.so-net.ne.jp" homepage="http://d.hatena.ne.jp/janus_wel">janus_wel</author>
<license document="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
-<version>0.15</version>
+<version>0.15.1</version>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/clock.js</updateURL>
@@ -27,25 +27,29 @@ refer:
http://d.hatena.ne.jp/janus_wel/20081128/1227849365
== EX-COMMANDS ==
-:clockhide
+:clockhide:
hide clock
-:clockappear
+:clockappear:
appear clock
-:clockstop
+:clockstop:
stop clock
-:clockstart
+:clockstart:
start clock
-:clockjustify
+:clockjustify:
justify clock position
== EXAMPLE ==
in .vimperatorrc
- let clock_format='(%t %d)'
+>||
+let clock_format='(%t %d)'
+||<
this exapmple show clock like below
- (20:34 12/12)
+>||
+(20:34 12/12)
+||<
]]></detail>
<detail lang="ja"><![CDATA[
@@ -66,25 +70,29 @@ clock_format: 時計の書式。設定なしの場合 '[%t]' として扱われ
http://d.hatena.ne.jp/janus_wel/20081128/1227849365
== EX-COMMANDS ==
-:clockhide
+:clockhide:
時計を隠します。
-:clockappear
+:clockappear:
時計を出します。
-:clockstop
+:clockstop:
時計を止めます。
-:clockstart
+:clockstart:
時計を動かします。
-:clockjustify
+:clockjustify:
時計の位置を調節します。
== EXAMPLE ==
.vimperatorrc に、
- let clock_format='(%t %d)'
+>||
+let clock_format='(%t %d)'
+||<
と書くと以下のように表示されます。
- (20:34 12/12)
+>||
+(20:34 12/12)
+||<
]]></detail>
</VimperatorPlugin>;