colinking/n1-unsubscribe

Missing Custom Keyboard Shortcut / Hotkey

grand-lotus-iroh opened this issue · 3 comments

Would be pretty nice if I could crack SHIFT + ? and KABOOM!

Right now, if I click at very bottom "Edit custom shortcuts" I'm prompted to open "keymap.json" file and make changes inside of editor.

Hey, I'm having trouble finding documentation on how to add keyboard shortcuts to a plugin and my issue is just getting buried. Are there any plugins you use that have shortcuts?

I've been looking through the Nylas source at package-with-keymaps-manifest, the N1 Keymaps themselves, N1 Recent Commit History, and Atom's Keymaps

Update: the package now has a shortcut key, but it only tells you that it was pressed right now. To make it doing anything substantial the package has to be rewritten quite a bit. Hopefully I'll have time this week to release it!

It is mapped to mod+alt+u (i.e. on a mac CMD + alt + u). You will have to open the developer tools (Developer -> Toggle Developer Tools) then click on the console tab. At the bottom you should see a red error message increment whenever you press the shortcut

NOTE TO SELF: update my open issue: nylas/nylas-mail#2304

I just made a pre-release if you want to try out the new shortcut feature! Let me know what you think: https://github.com/colinking/n1-unsubscribe/blob/master/dist/n1-unsubscribe.zip?raw=true

See the README for more info: