gurayyarar/SnipCommand

Copy and Paste is not working on OSX

mzlamal opened this issue · 3 comments

there is no way how to paste (at least I didn't find it) any text to this app on OSX. The regular CMD+V does nothing.

index 1df59d2..8eb1cb5 100644
--- a/public/menu.js
+++ b/public/menu.js
@@ -16,6 +16,44 @@ const template = [
         ]
     },
     {
+    label: "Edit",
+        submenu: [
+            {
+                label: "Undo",
+                accelerator: "CmdOrCtrl+Z",
+                selector: "undo:"
+            },
+            {
+                label: "Redo",
+                accelerator: "Shift+CmdOrCtrl+Z",
+                selector: "redo:"
+            },
+            {
+            type: "separator"
+            },
+            {
+                label: "Cut",
+                accelerator: "CmdOrCtrl+X",
+                selector: "cut:"
+            },
+            {
+                label: "Copy",
+                accelerator: "CmdOrCtrl+C",
+                selector: "copy:"
+            },
+            {
+                label: "Paste",
+                accelerator: "CmdOrCtrl+V",
+                selector: "paste:"
+            },
+            {
+                label: "Select All",
+                accelerator: "CmdOrCtrl+A",
+                selector: "selectAll:"
+            }
+        ]
+    },
+    {
         label: "View",
         submenu: [
             {role: "reload"},

This is wonderful application and when are you releasing the above patch and i see alot of value with this feature