diff --git a/plugin/local/code/vimer.js b/plugin/local/code/vimer.js index 69bca8a0..0f23e298 100644 --- a/plugin/local/code/vimer.js +++ b/plugin/local/code/vimer.js @@ -27,7 +27,7 @@ Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb, tar }, [""]) Volcanos(chat.ONFIGURE, {help: "索引导航", create: function(can, target, zone, path) { - can.isCmdMode()? can.onappend._action(can, can.base.Obj(can._msg.Option(ice.MSG_ACTION)).concat(window.webview? ["日志", "编辑器", "浏览器"]: []), target): can.onmotion.hidden(can, target.parentNode) + can.isCmdMode()? can.onappend._action(can, can.base.Obj(can._msg.Option(ice.MSG_ACTION)).concat(window.webview? ["日志", "录屏", "编辑器", "浏览器"]: []), target): can.onmotion.hidden(can, target.parentNode) }, recent: function(can, target, zone, path) { var total = 0 can.runAction(can.request({}), code.FAVOR, ["_vimer"], function(msg) { @@ -324,6 +324,9 @@ Volcanos(chat.ONACTION, {help: "控件交互", "日志": function(event, can) { window.opencmd("cd ~/contexts; tail -f var/log/bench.log") }, + "录屏": function(event, can) { + window.openapp("QuickTime Player") + }, "编辑器": function(event, can) { window.opencmd("cd ~/contexts; vim +"+can.Option(nfs.LINE)+" "+can.Option(nfs.PATH)+can.Option(nfs.FILE)) },