Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy only the visible text? #46

Open
summaminutiae opened this issue Feb 10, 2018 · 2 comments
Open

copy only the visible text? #46

summaminutiae opened this issue Feb 10, 2018 · 2 comments

Comments

@summaminutiae
Copy link

Is there a way to copy only the visible text from a buffer that has folded portions?

I sometimes use folds to hide noise and make the structure of a file clear, and it would be nice to copy the result for yanking into another buffer.

@summaminutiae
Copy link
Author

This method sort of works okay with some cleanup of the results: https://www.emacswiki.org/emacs/OverlaysToText

@mrkkrp
Copy link
Collaborator

mrkkrp commented Feb 10, 2018

I'll accept a PR implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants