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

Ctrl E overrides a standard macOS keyboard shortcut #38

Open
chriskrycho opened this issue Mar 19, 2021 · 1 comment
Open

Ctrl E overrides a standard macOS keyboard shortcut #38

chriskrycho opened this issue Mar 19, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@chriskrycho
Copy link

chriskrycho commented Mar 19, 2021

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 chriskrycho added the bug Something isn't working label Mar 19, 2021
@davidbdyer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants