Vim: O and o should respect/understand current context (lists)

That’d be a nice solution, but I can’t get it to work. I try the following mappings:

map o <Esc>A<CR>
map O <Esc>I<CR><Esc>ki

And the mappings are applied, but the carriage returns don’t seem to work. o works the same as A on its own, and O the same as I<Esc>ki.

The first thing I thought was that maybe <CR> is called something else here, or just isn’t supported, but it works on its own in other mappings (I tried to bind the unused + key to just <CR>, for example, which worked).

Note that you can test these mappings in Obsidian without Vimrc Support, by hitting : in Normal mode followed by the map command.