dotfiles/.vscode/extensions/vscodevim.vim-0.1.10/node_modules/copy-paste/platform/darwin.js
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00

9 lines
359 B
JavaScript

exports.copy = { command: "pbcopy", args: [] };
exports.paste = { command: "pbpaste", args: [] };
exports.paste.full_command = exports.paste.command;
exports.encode = function(str) { return new Buffer(str, "utf8"); };
exports.decode = function(chunks) {
if(!Array.isArray(chunks)) { chunks = [ chunks ]; }
return Buffer.concat(chunks).toString("utf8");
};