Vim echo or echomsg without newline

vim

Solution

You can use `echon` which will add nothing to the output.

echon 'foo'
echon 'bar'

output:

foobar

Take a look at `:h echon`

Problem

Is there a way to `echo` or `echomsg` a message in vim without the automatically inserted newline character? I have tried using the backspace character `\b` to erase the newline after the echo, without luck. ``` echo "foo" echo "\b \b" echo "bar" "long list of such words to echo ``` I need to display this as `foobar`. Currently it displays each echo message on a new line. foo bar I could buffer the echos, but I want to avoiding buffering, as there may be a delay in between the echos, ie:- I want to display the progress. Thanks.

Original source