Cmd+: keybinding results in cmd+; on French keyboard

Hey, i’m using a French keyboard (AZERTY) and i’m trying to bind toggling comments to cmd+: but trying to set up this hotkey always results in cmd+; being applied instead, which is already used for adding properties.

Steps to reproduce

  • Click on plus sign to customize “Toggle comment” command in Hotkeys menu. The default shortcut is cmd+/, which is actually not available without holding shift on a French keyboard, and it doesn’t work anyway
  • Press cmd+:
  • cmd+; shows up instead, in red because it is conflicting with the Add property hotkey

Did you follow the troubleshooting guide?

Yes, happens both in the sandbox vault and after disabling all plugins.

Expected result

Toggle comment hotkey being assigned to cmd+:

Actual result

Toggle comment hotkey is assigned to cmd+;


Obsidian version: v1.4.13
Installer version: v1.4.13
Operating system: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 20.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Things v2.1.15
Snippets enabled: 0
Restricted mode: off
Plugins installed: 18
Plugins enabled: 17
1: Advanced Tables v0.19.1
2: Dataview v0.5.56
3: Excalidraw v1.9.19
4: Kanban v1.5.3
5: Paste image rename v1.6.1
6: Templater v1.16.0
7: Tag Wrangler v0.5.12
8: Style Settings v1.0.7
9: Emoji Shortcodes v2.2.0
10: Plugin Update Tracker v1.5.2
11: Note Refactor v1.8.1
12: Settings Search v1.3.8
13: Commander v0.5.0
14: Recent Files v1.3.8
15: Paste URL into selection v1.7.0
16: QuickAdd v1.2.1
17: Advanced new file v1.5.1

Additional information

If i disable the cmd+; hotkey which is already assigned to Add properties, the Toggle comment hotkey starts working by pressing either cmd+: or cmd+;.

fwiw I’ve noticed that some keys that are specific to French keyboards are displayed as their US keyboard counterpart when i use them for key bindings. For instance, the key right next to P is the caret sign ^ on Fr keyboards, and it shows up as [ when used in key bindings; it still works, though.

Thanks for your help!

Thanks for answering but this isn’t working for me. Some keybindings do indeed show up as if they were typed on a US keyboard as specified in the help docs, like for instance the one i mentioned above, but most do not and appear as typed on my French keyboard.

Besides, i still can’t assign toggling comments to cmd+: because it shows up as and is interpreted as cmd+;. This seems unrelated to FR/US keyboard conflicts because ; is on a completely different key on US keyboards. I’ve found a workaround by using shift+cmd+: to toggle comments, which works, but technically there’s still an issue there.

fyi here are pictures of the US layout and the French Mac layout i’m using for reference. I hope i’m making myself clear in spite of the language barrier, and this being hard to explain anyway. Thanks again!