-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Don't warn about multiline paste to editor #7006
Comments
Of those three options, the bracketed paste one is my favorite. Consider something like |
Stumbled on this. This is annoying when copy-pasting code into vim, since there is no way to suppress the message after first appearance. |
I mean, there is these settings so there's not no way... |
I meant no quick UI way, many apps would ask right away if one wants to suppress the message: "Do not show again" button kind of way |
Agree on this issue. When copying and pasting into a running ipython console or a Scala REPL then this warning is merely a nuisance. Those interactive enviroments know how to handle multi-line pastes. |
🎉This issue was addressed in #9586, which has now been successfully released as Handy links: |
Description of the new feature/enhancement
I want the #2349 warning when pasting multiline text to a shell, but not when pasting to an editor that won't execute the lines as commands.
Proposed technical implementation details (optional)
Potential ways to detect such an editor:
less
, which does execute lines starting with!
as commands.Whichever heuristic is used, there is a risk that the editor is killed and the modes are left active. Perhaps the configuration should have a separate opt-in for each heuristic.
The text was updated successfully, but these errors were encountered: