From 5039b2b527ba65d855c04492cd5c55c0cb30ba7a Mon Sep 17 00:00:00 2001
From: anekos
Date: Mon, 1 Mar 2010 19:36:44 +0000
Subject: ドキュメント追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36898 d0d07461-0603-4401-acd4-de1884942a52
---
feedSomeKeys_3.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 53 insertions(+), 4 deletions(-)
(limited to 'feedSomeKeys_3.js')
diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js
index 7523859..899c82b 100755
--- a/feedSomeKeys_3.js
+++ b/feedSomeKeys_3.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
feedSomeKeys 3
feed some defined key events into the Web content
キーイベントをWebコンテンツ側に送る
- 1.0.4
+ 1.0.5
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
@@ -48,15 +48,37 @@ let PLUGIN_INFO =
2.3
||
+command! -nargs=+ lazy autocmd VimperatorEnter .*
+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 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
+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
+||<
]]>
||
+command! -nargs=+ lazy autocmd VimperatorEnter .*
+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 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
+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
+||<
]]>
;
// }}}
// INFO {{{
let INFO =
-
@@ -64,14 +86,41 @@ let INFO =
New BSD License
+ Feed key events directly into web contents.
-
:fmap
:fmap -events=event-name-list lhs rhs
-
+
+ Define one mapping.
+
+ -
+ :fmaps
+ :fmaps -events=event-name-list mapping-pair ....
+
+
+ Two or more mappings are defined at once.
+ mapping-pair is a pair of key names separated by ",".
+ e.g. "<Leader><S-j>,j"
+
+
+
+ event-name
+
+ event-name-list option follows a list of below values.
+
+ - keypress
+ - keydown
+ - keyup
+ - vkeypress
+ - vkeydown
+ - vkeyup
+
+ "v-" values use virtual key code.
+
fmaps examples for .vimperatorrc
If you input directly these commands in vimperator commandline, remove the ":lazy".
--
cgit v1.2.3