I'm trying to do i<Ctrl-R>=expandcmd('se shm')
and more generally i<Ctrl-R>=expandcmd({expr})
but I'm just getting the literal {expr} inserted.
When I type :se shm<CR>
I get the value of the option printed on the command-line. I'd like that inserted into my buffer.
expandcmd(