From fd5e611f094538360f5f612e85a789202d31188f Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 21 Jul 2011 22:17:20 +0900 Subject: ドキュメント追加 --- google-plus-commando.js | 89 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 2 deletions(-) diff --git a/google-plus-commando.js b/google-plus-commando.js index d0d2426..f7e6901 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -1,5 +1,6 @@ /* NEW BSD LICENSE {{{ Copyright (c) 2011, anekos. +Copyright (c) 2011, teramako. All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -35,16 +36,100 @@ THE POSSIBILITY OF SUCH DAMAGE. // INFO {{{ let INFO = <> - anekos + teramako New BSD License -

Mappings for Google+

+

Many Mappings and Post command for Google+

require: feedSomeKeys_3.js and x-hint.js and _libly.js

+ + :googleplus-setup + :googleplus -setup + :gp -setup + +

Should setup at first

+
    +
  1. Login to Google+
  2. +
  3. Execute :googleplus -setup
  4. +
+
+
+ + :googleplus-nonargs + :googleplus + :gp + +

when argument is none, select the Google+ tab or open in new tab

+
+
+ + :googleplus :gp + :googleplus -l[link] -i[mage] imageURL -t[o] to message + :gp -l[ink] -i[mage] imageURL -t[o]> to message + +

Post message

+
+
-link
+
+ Add the current URL. If the selections are available, add the selections as relataed page. + And when -image option is not specified and image elements is contained in the selections, + add the URL of the largest image. +
+
-image
+
+ Specify image URL +
+
-to
+
+ Specify the circles. Can set multiple. (Default: Anyone) +
+
+
+
+ + g:gplus_commando_map_ + let g:gplus_commando_map_command = map-keys + +

+ Map map-keys for command. + The possible commands. +

+
next
Go to next entry.
+
prev
Back to previous entry.
+
share
Shate current entry.
+
plusone
+1
+
comment
Comment to current entry.
+
post
Post new entry.
+
yank
Copy the permlink of current entry to clipboard.
+
notification
Open notification box.
+
cancel
Cancel current something.
+
submit
Submit current editing post.
+
unfold
Unfold something on current entry.
+
menu
Open the menu of current entry.
+
+

+

rc file example

+ +let g:gplus_commando_map_next = "j" +let g:gplus_commando_map_prev = "k" +let g:gplus_commando_map_share = "s" +let g:gplus_commando_map_plusone = "p" +let g:gplus_commando_map_comment = "c" +let g:gplus_commando_map_post = "C" +let g:gplus_commando_map_yank = "y" +let g:gplus_commando_map_notification = "n" +let g:gplus_commando_map_submit = "<C-CR>" +let g:gplus_commando_map_cancel = "<Esc>" +let g:gplus_commando_map_unfold = "e" +let g:gplus_commando_map_menu = "m" + +
+
; // }}} -- cgit v1.2.3