purocean / yn

A highly extensible Markdown editor. Version control, AI Copilot, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, Reveal.js, plug-in, and macro replacement.
https://yank-note.com
GNU Affero General Public License v3.0
5.66k stars 881 forks source link

Keyboard binding not working for MacOS Swiss, German #346

Closed CarsKo closed 4 months ago

CarsKo commented 4 months ago

Describe the bug Characters like curly brackets (basically all characters reachable with key combination Option + digit - key) cannot be entered

To Reproduce

  1. Installing and starting Yank-Note - without changing any configuration
  2. Trying to type characters like []{{} (which is done via typing "Option key + 5 key" etc.)
  3. Does not work no matter what setting is active for Language (Language = System, Language = English, ...) -->

Expected behavior Typing "Option key + 5 key" should enter the special character [

Screenshots

Desktop (please complete the following information):

Additional context

purocean commented 4 months ago

255

purocean commented 4 months ago

In v3.73.1, you can disable or change the shortcuts of switching repositroy to avoid this problem.

image

Considering the keyboard layout is a very complicated thing for shortcuts, and I will focus on this issue when I have the energy to do so later. If you're interested, take a look at this blog post: https://blog-purocean.vercel.app/yank-note-10/