1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
849 stars 35 forks source link

Option + arrow keys does not work inside code blocks in MacOS #41

Closed chen-yingfa closed 5 months ago

chen-yingfa commented 5 months ago

In MacOS, when the caret is in a code block, pressing Option + arrow keys only moves one character at a time, while the default behavior in most editors is to move one word at a time.

1943time commented 5 months ago

Kapture 2024-01-22 at 13 35 36 Are you referring to the situation in the image? I did not reproduce this issue

chen-yingfa commented 5 months ago

I found out that it is because my system has Karabiner-Elements installed, which messes with some key mappings. The issue is gone after disabling Karabiner-Elements. Thank you.