I have a script where the first line works:
But this line does not:
let BS = repeat('\<BS>', NUM_CHARS_TO_DELETE) execute "normal!i" . BS
It seems to just literally insert the
\<BS>\<BS>\<BS>\<BS> into the text. What's wrong with the second version?