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

Whether you can add a custom setting is up to the user to decide whether to support the functions of double-click copy and right-click paste #117

Closed
guntm124 opened this issue Jul 2, 2021 · 4 comments

Comments

@guntm124
Copy link

guntm124 commented Jul 2, 2021

Whether you can add a custom setting is up to the user to decide whether to support the functions of double-click copy and right-click paste

@kingToolbox
Copy link
Owner

kingToolbox commented Jul 2, 2021

WindTerm supports Select-to-copy and middle-click-to-paste, but double-click copy and right-click paste are not yet supported.

WindTerm also supports drag and drop the selection to input it, which is faster than any copy and paste method, especially without the side effects of overwriting the clipboard.

You can read this comment to learn more about Select-to-copy and middle-click-to-paste, and you can watch the video Tips / Input By Dragging And Dropping Text to learn about drag-and-drop selection to copy-and-paste. I'm sure you will like it.

I think double-click copy is too limited. Even if WindTerm can select text intelligently, double-clicking can usually only select a few types of text such as words or URLs. Select-to-copy actually not only includes the function of double-click copy, it is also more flexible.

Similarly, right-click is more suitable for popping up a right-click menu, which is a waste of just pasting. The reason for the existence of right-click paste is that the dumb terminal did not have the function of the right-click menu a long time ago, so it was designed in this way. It should be said that it is not very timely. But since many people are still used to right-click and paste, I will add the option of whether to enable right-click and paste in subsequent versions.

What do you think?

@Liuhongdan
Copy link

I also wanted this right-click paste long time ago. But now Select-to-copy and Shift-Ins are OK for me.

@kingToolbox
Copy link
Owner

The new version WindTerm_2.1.0_Prerelease_6_Windows_Portable has just been released. In this version, the right-click-to-paste feature has been well supported. Please download and use it.

The default action of right click is still showing the right-click menu. After downloading it, you need set terminal.rightClickAction in WindTerm_install_path/profiles/default.v10/user.config or WindTerm_install_path/global/wind.config to PasteText to enable it. I recommend setting text.autoCopySelection to true at the same time to make it more convenient. Thank you.

I still think the right-click menu is more useful than right-click-to-paste. But I am only a tool maker and I need to meet your needs. And I have to say that the power of habit is really amazing. 😄

@kingToolbox
Copy link
Owner

It looks like the problem in this post has been solved. This issue will be closed and welcome to continue submitting new issues and feature requests. Thank you!

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

3 participants