Copy only visible selected text? (ignore folded lines)


Is there a way to copy a selection with folded lines without capturing the text hidden by the fold?

thank you.


There isn’t an API for this, no. I also couldn’t see an easy way to do it given the current API.


ok. thank you for the reply.