nova-plugin icon indicating copy to clipboard operation
nova-plugin copied to clipboard

Ctrl E overrides a standard macOS keyboard shortcut

Open chriskrycho opened this issue 4 years ago • 2 comments
trafficstars

Describe the bug ControlE is a standard macOS keyboard navigation shortcut for "go to end of line," built into every text view on the system by default. (You can find the full list here.) Overriding it for this extension breaks muscle memory for any long-term Mac user who has internalized those shortcuts.

To Reproduce In any editor view, with this extension installed, hit ^E. It will expand Emmet shortcuts (or try to, and fail, in non-Emmet contexts!), and the cursor will stay where it is.

Expected behavior Go to end of line, as would be the behavior without the extension installed.

Screenshots N/A.

Environment (please complete the following information):

  • Nova version: v5 build 245280
  • Emmet extension version: 1.3.2

Additional context While this may be a common shortcut for this extension in other editors, it would be better to follow macOS system guidelines for how to treat native text fields and how to build shortcuts. That goes extra for Nova, which exists in no small part to be especially Mac native!

chriskrycho avatar Mar 19 '21 15:03 chriskrycho

I also find it extremely annoying. ^E works in the terminal where Command+right arrow doesn't. Having to use ^E just in Nova messes with my muscle memory. I believe ^E also works in many linux apps.

davidbdyer avatar Oct 19 '21 03:10 davidbdyer