From 31cfad9f0cf0bee62a9e7faf957532715c9b35cd Mon Sep 17 00:00:00 2001
From: anekos
Date: Thu, 4 Mar 2010 11:26:54 +0000
Subject: ドキュメント追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36930 d0d07461-0603-4401-acd4-de1884942a52
---
feedSomeKeys_3.js | 275 +++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 187 insertions(+), 88 deletions(-)
(limited to 'feedSomeKeys_3.js')
diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js
index 71f002a..7dd29cd 100755
--- a/feedSomeKeys_3.js
+++ b/feedSomeKeys_3.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
- Feed key events directly into web contents.
-
- Define one mapping.
-
- If -urls=urlpattern is given,
- the mappings becomes effective mappings only on the page specifed by urlpattern.
-
- Two or more mappings are defined at once.
- mapping-pair is a pair of key names separated by ",".
- e.g. "<Leader><S-j>,j"
- If -urls=urlpattern is given, - the mappings becomes effective mappings only on the page specifed by urlpattern. -
- - -
- Remove the mappings matched with
- Remove the mappings. -
-- If you wish to remove url-local mappings, give -urls=urlpattern. -
-- event-name-list option follows a list of below values. -
If you input directly these commands in vimperator commandline, remove the ":lazy".
-
-:command! -nargs=+ lazy autocmd VimperatorEnter .* <args>
-:lazy fmaps -u='mail\.google\.com/mail' c / j k n p o u e x s r a # [ ] ? gi gs gt gd ga gc
-:lazy fmaps -u='mail\.google\.com/mail/.*/[0-9a-f]+$' c / j,n k,p n,j p,k o u e x s r a # [ ] ? gi gs gt gd ga gc
-:lazy fmaps -u='www\.google\.co\.jp/reader' -events=vkeypress j k n p m s v A r S N P X O gh ga gs gt gu u / ? J K
-:lazy fmaps -u='(fastladder|livedoor)\.com/reader' j k s a p o v c i,p <Space> <S-Space> z b < > q w e,g
-:lazy fmaps -u='https?://www\.rememberthemilk\.com/home/' j k m i c t ? d F,f G,g S,s L,l Y,y H,h M,m <Del> <C-S-Left> <C-S-Right>
-:lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/list' o j k
-:lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/detail' u
-
-;
+let INFO = <>
+ + Feed key events directly into web contents. +
++ Define one mapping. +
++ If -urls=urlpattern is given, + the mappings becomes effective mappings only on the page specifed by urlpattern. +
++ Two or more mappings are defined at once. + mapping-pair is a pair of key names separated by ",". +
e.g. "<Leader><S-j>,j"
+ ++ If -urls=urlpattern is given, + the mappings becomes effective mappings only on the page specifed by urlpattern. +
+
+ Remove the mappings matched with
+ Remove the mappings. +
++ If you wish to remove url-local mappings, give -urls=urlpattern. +
++ The value of urlpattern should be regular expression. +
++ eventnamelist is a list of below values. +
"v-" values use virtual key code.
+The default value of this option is "keypress".
+ +If you input directly these commands in vimperator commandline, remove the ":lazy".
+
+ :command! -nargs=+ lazy autocmd VimperatorEnter .* <args>
+ :lazy fmaps -u='mail\.google\.com/mail' c / j k n p o u e x s r a # [ ] ? gi gs gt gd ga gc
+ :lazy fmaps -u='mail\.google\.com/mail/.*/[0-9a-f]+$' c / j,n k,p n,j p,k o u e x s r a # [ ] ? gi gs gt gd ga gc
+ :lazy fmaps -u='www\.google\.co\.jp/reader' -events=vkeypress j k n p m s v A r S N P X O gh ga gs gt gu u / ? J K
+ :lazy fmaps -u='(fastladder|livedoor)\.com/reader' j k s a p o v c i,p <Space> <S-Space> z b < > q w e,g
+ :lazy fmaps -u='https?://www\.rememberthemilk\.com/home/' j k m i c t ? d F,f G,g S,s L,l Y,y H,h M,m <Del> <C-S-Left> <C-S-Right>
+ :lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/list' o j k
+ :lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/detail' u
+
+ + Web コンテンツに直接キーイベントを送ります。 +
++ マッピングを一つ定義します。 +
++ -urls=urlpattern が与えられたとき、 + そのマッピングは urlpattern で指定されたページのみで有効になります。 +
++ 一度に複数のマッピングを定義できます。 + mapping-pair は、"," で区切られたキー名の組です。 +
例: "<Leader><S-j>,j"
+ ++ -urls=urlpattern が与えられたとき、 + そのマッピングは urlpattern で指定されたページのみで有効になります。 +
+
+
+ マッピングを削除します。 +
+
+ urlpattern 付きのマッピングを削除するときは、
+ urlpattern の値は正規表現でなければいけません。 +
++ eventnamelist は以下の値のリストです。 +
"v-" のものは、仮想キーコードでイベントを発行します。
+このオプションのデフォルト値は "keypress" です。
+ +コマンドラインで直接に入力するときは、":lazy" を除いてください。
+
+ :command! -nargs=+ lazy autocmd VimperatorEnter .* <args>
+ :lazy fmaps -u='mail\.google\.com/mail' c / j k n p o u e x s r a # [ ] ? gi gs gt gd ga gc
+ :lazy fmaps -u='mail\.google\.com/mail/.*/[0-9a-f]+$' c / j,n k,p n,j p,k o u e x s r a # [ ] ? gi gs gt gd ga gc
+ :lazy fmaps -u='www\.google\.co\.jp/reader' -events=vkeypress j k n p m s v A r S N P X O gh ga gs gt gu u / ? J K
+ :lazy fmaps -u='(fastladder|livedoor)\.com/reader' j k s a p o v c i,p <Space> <S-Space> z b < > q w e,g
+ :lazy fmaps -u='https?://www\.rememberthemilk\.com/home/' j k m i c t ? d F,f G,g S,s L,l Y,y H,h M,m <Del> <C-S-Left> <C-S-Right>
+ :lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/list' o j k
+ :lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/detail' u
+
+