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

Sending selection by stripping comments #62

Open
dabsingh opened this issue Jul 13, 2016 · 1 comment
Open

Sending selection by stripping comments #62

dabsingh opened this issue Jul 13, 2016 · 1 comment

Comments

@dabsingh
Copy link

In some cases there can be quite a few comment lines in the selected range and sending the comments to the target pane makes no sense. It would be great to have a flag/argument to SlimuxREPLSendSelection to strip out the comments before sending the selection to the target pane.

@dvbuntu
Copy link
Contributor

dvbuntu commented Jul 13, 2016

If the lines are comments, why is it a problem to send them? And what if you're not sending the lines to an interpreter? You might want to keep the comments. I guess having a flag let's the user choose, but the default should be to send the literal lines without editing.

This sounds like a concern that you might fix at the vim level. Write a macro to temporarily remove the comments, then use slimux, and put the comments back.

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