@ not working as vim command with Swiss keyboard

In case anyone is interested in a workaround:

  1. Enable vimrc support: https://github.com/esm7/obsidian-vimrc-support
  2. Create a file named .obsidian.vimrc in your vault directory and insert the following lines to add a remap for the @-character (I chose <Space>m for “macro”, but you can choose whatever you like):
" unmap space to act as leader key
unmap <Space> 

"remap @-key
nmap <Space>m @
  1. Then you can execute recorded macros in Obsidian with <Space>m {register}.
1 Like