1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:42:27 +01:00

Add :yank command.

This commit is contained in:
Kris Maglione
2010-10-14 18:31:12 -04:00
parent 6cd4f05790
commit 9f9021e68e
7 changed files with 42 additions and 8 deletions

View File

@@ -621,7 +621,7 @@ const Dactyl = Module("dactyl", {
let br = <>
</>;
dactyl.clipboardWrite(<>
return <>
<item>
<tags>{template.map(obj.names, tag, " ")}</tags>
<spec>{spec((obj.specs || obj.names)[0])}</spec>{
@@ -633,7 +633,7 @@ const Dactyl = Module("dactyl", {
extraHelp ? br+extraHelp : "" }{
!(extraHelp || obj.description) ? br+<p>Sorry, no help available.</p> : "" }
</description>
</item></>.toXMLString().replace(/^ {12}/gm, ""), true);
</item></>.toXMLString().replace(/^ {12}/gm, "");
},
/**