diff options
author | teramako | 2011-07-21 21:55:17 +0900 |
---|---|---|
committer | teramako | 2011-07-21 21:55:17 +0900 |
commit | 5758f556b54ccf110dc9fdea67ff6f0b19fab54d (patch) | |
tree | 88fa66e8b6d769f22c2b9d77a4901e8a0697217b /google-plus-commando.js | |
parent | 0cc570d53e1027585b435dd5fbf791379f1d2dc4 (diff) | |
download | vimperator-plugins-5758f556b54ccf110dc9fdea67ff6f0b19fab54d.tar.bz2 |
add extended hint 'G'
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r-- | google-plus-commando.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js index b5ec8b3..e701c33 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -679,6 +679,15 @@ let INFO = true ); + hints.addMode("G", "Google+ Post", + function action(elm) { + var src = elm.src; + commandline.open("", "googleplus -i " + src + " ", modes.EX); + }, + function getPath() { + return util.makeXPath(["img"]); + }); + })(); // }}} |