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

Disable Keyboard-Shortcuts in Edit-Mode #34

Open
kuranai opened this issue Jan 3, 2019 · 1 comment
Open

Disable Keyboard-Shortcuts in Edit-Mode #34

kuranai opened this issue Jan 3, 2019 · 1 comment

Comments

@kuranai
Copy link

kuranai commented Jan 3, 2019

Hi,

would it be possible, to deactivate the shortcuts, when in edit-mode?
It should still be possible to exit the edit-mode with the keyboard, if possible.

I would like to choose the shortcuts without modfier-keys like the following setup:
j = Next Header
k = Previous Header
...

Kind regards
Steve

@DanielDe
Copy link
Owner

DanielDe commented Jan 3, 2019

Hi Steve, thanks for the issue!

The keyboard shortcut work is a bit half-assed, unfortunately. I think an ideal solution here is that keyboard shortcuts without modifiers would be disabled in a textfield, but other shortcuts with modifiers would still work. For instance, I should probably still be able to hit "ctrl + enter" to create a new header while I'm editing, but as you say, j and k certainly shouldn't trigger actions while editing.

I think a good temporary measure is adding a setting for disabling keyboard shortcuts while editing.

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