mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
8.4 KiB
283 lines
8.4 KiB
4 years ago
|
[
|
||
|
{
|
||
|
"Constant" : [
|
||
|
|
||
|
],
|
||
|
"submodules" : [
|
||
|
|
||
|
],
|
||
|
"Function" : [
|
||
|
|
||
|
],
|
||
|
"Variable" : [
|
||
|
|
||
|
],
|
||
|
"stripped_doc" : [
|
||
|
|
||
|
],
|
||
|
"Deprecated" : [
|
||
|
|
||
|
],
|
||
|
"desc" : "Show the content of system clipboard",
|
||
|
"type" : "Module",
|
||
|
"Constructor" : [
|
||
|
|
||
|
],
|
||
|
"doc" : "Show the content of system clipboard\n\nDownload: [https:\/\/github.com\/Hammerspoon\/Spoons\/raw\/master\/Spoons\/ClipShow.spoon.zip](https:\/\/github.com\/Hammerspoon\/Spoons\/raw\/master\/Spoons\/ClipShow.spoon.zip)",
|
||
|
"Method" : [
|
||
|
{
|
||
|
"desc" : "Process the content of system clipboard and show\/hide the canvas",
|
||
|
"def" : "ClipShow:toggleShow()",
|
||
|
"stripped_doc" : [
|
||
|
"Process the content of system clipboard and show\/hide the canvas"
|
||
|
],
|
||
|
"doc" : "Process the content of system clipboard and show\/hide the canvas",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:toggleShow()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "toggleShow",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Open content of the clipboard in default browser with specific refstr.",
|
||
|
"def" : "ClipShow:openInBrowserWithRef(refstr)",
|
||
|
"stripped_doc" : [
|
||
|
"Open content of the clipboard in default browser with specific refstr.",
|
||
|
""
|
||
|
],
|
||
|
"doc" : "Open content of the clipboard in default browser with specific refstr.\n\nParameters:\n * refstr - A optional string specifying which refstr to use. If nil, then open this content in browser directly. The \"refstr\" could be something like this: `https:\/\/www.bing.com\/search?q=`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:openInBrowserWithRef(refstr)",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "openInBrowserWithRef",
|
||
|
"parameters" : [
|
||
|
" * refstr - A optional string specifying which refstr to use. If nil, then open this content in browser directly. The \"refstr\" could be something like this: `https:\/\/www.bing.com\/search?q=`."
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Save clipboard session so we can restore it later",
|
||
|
"def" : "ClipShow:saveToSession()",
|
||
|
"stripped_doc" : [
|
||
|
"Save clipboard session so we can restore it later"
|
||
|
],
|
||
|
"doc" : "Save clipboard session so we can restore it later",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:saveToSession()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "saveToSession",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Restore the lastsession of system clipboard",
|
||
|
"def" : "ClipShow:restoreLastSession()",
|
||
|
"stripped_doc" : [
|
||
|
"Restore the lastsession of system clipboard"
|
||
|
],
|
||
|
"doc" : "Restore the lastsession of system clipboard",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:restoreLastSession()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "restoreLastSession",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Save content of current canvas to a file, the default location is `~\/Desktop\/`.",
|
||
|
"def" : "ClipShow:saveToFile()",
|
||
|
"stripped_doc" : [
|
||
|
"Save content of current canvas to a file, the default location is `~\/Desktop\/`."
|
||
|
],
|
||
|
"doc" : "Save content of current canvas to a file, the default location is `~\/Desktop\/`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:saveToFile()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "saveToFile",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Open local file with specific command.",
|
||
|
"def" : "ClipShow:openWithCommand(command)",
|
||
|
"stripped_doc" : [
|
||
|
"Open local file with specific command.",
|
||
|
""
|
||
|
],
|
||
|
"doc" : "Open local file with specific command.\n\nParameters:\n * command - A string specifying which command to use. The \"command\" is something like this: `\/usr\/local\/bin\/mvim`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:openWithCommand(command)",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "openWithCommand",
|
||
|
"parameters" : [
|
||
|
" * command - A string specifying which command to use. The \"command\" is something like this: `\/usr\/local\/bin\/mvim`."
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"Command" : [
|
||
|
|
||
|
],
|
||
|
"Field" : [
|
||
|
|
||
|
],
|
||
|
"items" : [
|
||
|
{
|
||
|
"desc" : "Open content of the clipboard in default browser with specific refstr.",
|
||
|
"def" : "ClipShow:openInBrowserWithRef(refstr)",
|
||
|
"stripped_doc" : [
|
||
|
"Open content of the clipboard in default browser with specific refstr.",
|
||
|
""
|
||
|
],
|
||
|
"doc" : "Open content of the clipboard in default browser with specific refstr.\n\nParameters:\n * refstr - A optional string specifying which refstr to use. If nil, then open this content in browser directly. The \"refstr\" could be something like this: `https:\/\/www.bing.com\/search?q=`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:openInBrowserWithRef(refstr)",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "openInBrowserWithRef",
|
||
|
"parameters" : [
|
||
|
" * refstr - A optional string specifying which refstr to use. If nil, then open this content in browser directly. The \"refstr\" could be something like this: `https:\/\/www.bing.com\/search?q=`."
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Open local file with specific command.",
|
||
|
"def" : "ClipShow:openWithCommand(command)",
|
||
|
"stripped_doc" : [
|
||
|
"Open local file with specific command.",
|
||
|
""
|
||
|
],
|
||
|
"doc" : "Open local file with specific command.\n\nParameters:\n * command - A string specifying which command to use. The \"command\" is something like this: `\/usr\/local\/bin\/mvim`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:openWithCommand(command)",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "openWithCommand",
|
||
|
"parameters" : [
|
||
|
" * command - A string specifying which command to use. The \"command\" is something like this: `\/usr\/local\/bin\/mvim`."
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Restore the lastsession of system clipboard",
|
||
|
"def" : "ClipShow:restoreLastSession()",
|
||
|
"stripped_doc" : [
|
||
|
"Restore the lastsession of system clipboard"
|
||
|
],
|
||
|
"doc" : "Restore the lastsession of system clipboard",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:restoreLastSession()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "restoreLastSession",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Save content of current canvas to a file, the default location is `~\/Desktop\/`.",
|
||
|
"def" : "ClipShow:saveToFile()",
|
||
|
"stripped_doc" : [
|
||
|
"Save content of current canvas to a file, the default location is `~\/Desktop\/`."
|
||
|
],
|
||
|
"doc" : "Save content of current canvas to a file, the default location is `~\/Desktop\/`.",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:saveToFile()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "saveToFile",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Save clipboard session so we can restore it later",
|
||
|
"def" : "ClipShow:saveToSession()",
|
||
|
"stripped_doc" : [
|
||
|
"Save clipboard session so we can restore it later"
|
||
|
],
|
||
|
"doc" : "Save clipboard session so we can restore it later",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:saveToSession()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "saveToSession",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"desc" : "Process the content of system clipboard and show\/hide the canvas",
|
||
|
"def" : "ClipShow:toggleShow()",
|
||
|
"stripped_doc" : [
|
||
|
"Process the content of system clipboard and show\/hide the canvas"
|
||
|
],
|
||
|
"doc" : "Process the content of system clipboard and show\/hide the canvas",
|
||
|
"notes" : [
|
||
|
|
||
|
],
|
||
|
"signature" : "ClipShow:toggleShow()",
|
||
|
"type" : "Method",
|
||
|
"returns" : [
|
||
|
|
||
|
],
|
||
|
"name" : "toggleShow",
|
||
|
"parameters" : [
|
||
|
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"name" : "ClipShow"
|
||
|
}
|
||
|
]
|