aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2011-04-11 20:28:16 +0900
committeranekos2011-04-11 20:28:16 +0900
commitab2154aaa785975780d274799971d60f42672a88 (patch)
treee7be2df000f1e872d8fa9cf4c6c99c3e508114a6 /twittperator.js
parent8ca54fc5a1c165c67a8c382d39976ad3770647c9 (diff)
downloadvimperator-plugins-ab2154aaa785975780d274799971d60f42672a88.tar.bz2
status サブコマンド追加
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index 086de6e..66f5c0b 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -28,7 +28,7 @@ let PLUGIN_INFO =
<name>Twittperator</name>
<description>Twitter Client using OAuth and Streaming API</description>
<description lang="ja">OAuth/StreamingAPI対応Twitterクライアント</description>
- <version>1.13.3</version>
+ <version>1.14.0</version>
<minVersion>2.3</minVersion>
<maxVersion>3.0</maxVersion>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
@@ -1961,6 +1961,8 @@ let PLUGIN_INFO =
completer(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + removeNewLine(s.text), s]),
screenName:
completer(function(s) [s.user.screen_name, s]),
+ statusPage:
+ completer(function(s) [s.user.screen_name + '/status/' + s.id , s]),
hashtag:
function(filter) {
return makeTimelineCompleter(function(context, args){
@@ -2117,6 +2119,13 @@ let PLUGIN_INFO =
completer: Completers.screenName(rejectMine)
}),
SubCommand({
+ command: ["status"],
+ description: "Open status page.",
+ action: function(arg) liberator.open("http://twitter.com/" + arg, liberator.NEW_TAB),
+ timelineCompleter: true,
+ completer: Completers.statusPage(function (s) s.id)
+ }),
+ SubCommand({
command: ["thread"],
description: "Show tweets thread.",
action: function(arg) {