I wanted to insert multiline text using :call append().

1. I tried  :call append(1, "a\nb\n");
  -- Not good, insert null-bytes (^@)
2. I tried :call append(1, "a\rb\r")
  -- Not good, inserts ^M (I'm on Linux)
3. I tried :call append(1, "a\<CR>b\<CR>")
  Not good, same as (2)

So, how do I append() multiline text ?

Yakov

Reply via email to