aboutsummaryrefslogtreecommitdiffstats
path: root/google-plus-commando.js
diff options
context:
space:
mode:
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r--google-plus-commando.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js
index 65b485b..b6e93fe 100644
--- a/google-plus-commando.js
+++ b/google-plus-commando.js
@@ -676,6 +676,15 @@ let g:gplus_commando_map_menu = "m"
true
);
+ hints.addMode("G", "Google+ Post",
+ function action(elm) {
+ var src = elm.src;
+ commandline.open("", "googleplus -i " + src + " ", modes.EX);
+ },
+ function getXPath() {
+ return util.makeXPath(["img"]);
+ });
+
/**
* Google+のページから必要データを保存する
* @return {Boolean}