You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy-paste of large body of code can't be interrupted #37
The perf issue is known and understood. The input is parsed and colorized after each character. Also note that tab expansion is attempted if there are any tabs in your input. This doesn't seem to slow for interactive use, but it's clearly not good when pasting a large chunk of text.
As a workaround, I suggest you use Ctrl+V - it will be much faster. You'll also avoid the tab issue mentioned above.
Supporting Ctrl+C while pasting will require some investigation. Right now Ctrl-C is getting queued in the input stream - if I didn't do that Ctrl+C can't be bound because I never see it.
If there is a way to catch the paste operation (right click or from the system menu), then that would be ideal - paste shouldn't replay each key like it does today (because for example TAB ends up trying to do tab completion).
The bottom line - this isn't a high priority item for me because Ctrl+V is a better experience. I'm leaving the item open because it should work better, muscle memory and all that.
Activity
lzybkr commentedon Sep 20, 2013
The perf issue is known and understood. The input is parsed and colorized after each character. Also note that tab expansion is attempted if there are any tabs in your input. This doesn't seem to slow for interactive use, but it's clearly not good when pasting a large chunk of text.
As a workaround, I suggest you use Ctrl+V - it will be much faster. You'll also avoid the tab issue mentioned above.
Supporting Ctrl+C while pasting will require some investigation. Right now Ctrl-C is getting queued in the input stream - if I didn't do that Ctrl+C can't be bound because I never see it.
If there is a way to catch the paste operation (right click or from the system menu), then that would be ideal - paste shouldn't replay each key like it does today (because for example TAB ends up trying to do tab completion).
The bottom line - this isn't a high priority item for me because Ctrl+V is a better experience. I'm leaving the item open because it should work better, muscle memory and all that.
lzybkr commentedon Nov 11, 2017
Closing in favor of #579 which covers all of the known issues with right-click paste.