/*
* Please write the below line into .vimperatorrc.
* let g:twittperator_plugin_copy = 1
*
*/
(function () {
const TW = liberator.plugins.twittperator;
TW.SubCommands.add(
TW.SubCommand({
command: ['copy'],
description: "Copy a tweet",
action: function(arg) {
util.copyToClipboard(arg);
},
timelineComplete: true,
completer: TW.Completers.text(function(s) s.id)
})
);
})();
// vim: set et fdm=syntax fenc= ft=javascript sts=2 sw=2 ts=2 :
>
index : vimperator-plugins | |
| for Vimperator plugins | |
blob: b36633612a9e75f624a68cca7d26bf0347fcbe6f (
plain)