In vimscript I've defined a variable like this:

let b:myvar = 'abc'

Now how can I insert the contents of that var into a search & replace, eg:

:s/123/&myvar/
vim
Edit
Report