Can't remap jj to <esc> in vimrc Suppor plugin

I’m trying to remap esc to jj in .obsidian.vimrc in windows. When I reload the the app the following warning appears:

Captura de pantalla 2024-08-22 144147

I’ve already read the discussion in https://forum.obsidian.md/t/esc-remapping-not-working-in-vimrc-plugin/59866/14

The combinations I’ve tried are:

imap jj <Esc>
imap jj <esc>
inoremap jj <Esc>
inoremap jj <esc>

Could someone please help me?

why do most questions have at least one answer but mine doesn’t? : (

Just in case, did you enable the plugin with the toggle after adding it?

imap jj <Esc>

works fine for me

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.