org-web icon indicating copy to clipboard operation
org-web copied to clipboard

Disable Keyboard-Shortcuts in Edit-Mode

Open kuranai opened this issue 6 years ago • 1 comments

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

kuranai avatar Jan 03 '19 11:01 kuranai

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.

DanielDe avatar Jan 03 '19 18:01 DanielDe