From bec8b3d180ff0595a7ff64cbbf2c3fe8762d3697 Mon Sep 17 00:00:00 2001
From: anekos
Date: Sun, 19 Sep 2010 01:06:48 +0000
Subject: home を開くサブコマンド
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38493 d0d07461-0603-4401-acd4-de1884942a52
---
twittperator.js | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
(limited to 'twittperator.js')
diff --git a/twittperator.js b/twittperator.js
index cd76fa3..7189704 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -28,7 +28,7 @@ let PLUGIN_INFO =
Twittperator
Twitter Client using ChirpStream
OAuth対応Twitterクライアント
- 1.6.0
+ 1.7.0
2.3
2.4
teramako
@@ -1756,6 +1756,8 @@ let PLUGIN_INFO =
completer(function(s) ["@" + s.user.screen_name + "#" + s.id, s]),
name_id_text:
completer(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + removeNewLine(s.text), s]),
+ screenName:
+ completer(function(s) [s.user.screen_name, s]),
};
})(); // }}}
@@ -1869,6 +1871,13 @@ let PLUGIN_INFO =
context.completions = [[setting.trackWords, "Global variable"]];
}
}),
+ SubCommand({
+ command: ["home"],
+ description: "Open user home.",
+ action: function(arg) liberator.open("http://twitter.com/" + arg, liberator.NEW_TAB),
+ timelineCompleter: true,
+ completer: Completers.screenName(rejectMine)
+ }),
]; // }}}
function findSubCommand(s) { // {{{
--
cgit v1.2.3