As example, my current buffer contains below lines
di=01;34 ln=01;36 mh=00 pi=40;33
I want to join all lines with
:, and set entire buffer to the joined string.
How to achieve that, using
I tried below
py3 vim.current.buffer[:] = ':'.join(vim.current.buffer) py3 vim.current.buffer = ':'.join(vim.current.buffer)
But neither works.