Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and Paste is not working on OSX #1

Open
mzlamal opened this issue Oct 7, 2020 · 3 comments
Open

Copy and Paste is not working on OSX #1

mzlamal opened this issue Oct 7, 2020 · 3 comments

Comments

@mzlamal
Copy link

mzlamal commented Oct 7, 2020

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.

@mzlamal
Copy link
Author

mzlamal commented Oct 7, 2020

there is guide to enable it - https://pracucci.com/atom-electron-enable-copy-and-paste.html

@mzlamal
Copy link
Author

mzlamal commented Oct 7, 2020

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"},

@kgrvamsi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants