As the title states, is there a way to yank the text between two markers into
a named buffer?
Thx,
Frans
Well I first thought, this could be done using :copy, but obviously the
range or address cannot be given as mark in another buffer, so this did
not work.
What worked was this:
call append(1,getbufline("filename", line("'A"), line("'B")))
For obvious reasons, this only works with uppercase marks.
regards,
Christian
--
:wq!
Frans Grotepass wrote:
>
> As the title states, is there a way to yank the text between two markers into
> a named buffer?
'a"ry'b
yanks the text between and including markers a and b into register r.
Regards,
Jürgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
As does
:'a,'by r
Regards,
Gary