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

Would you support copy on select and right click paste ? #58

Closed
Liuhongdan opened this issue Mar 11, 2021 · 8 comments
Closed

Would you support copy on select and right click paste ? #58

Liuhongdan opened this issue Mar 11, 2021 · 8 comments
Labels
duplicate This issue or pull request already exists

Comments

@Liuhongdan
Copy link

Liuhongdan commented Mar 11, 2021

Hi, I'm using WindTerm. It's fast and uses less memory than others, and also has a lot of features.
I know that the shortcuts for copy and paste, but could you support copy on select and right click paste ? It will make it more convenient to daily use.
It will be better if you can support Iterm Themes (https://iterm2colorschemes.com/). So people can just download/use the color schemes that they want.
And pls support auto upgrade :)

Thank you.

@kingToolbox kingToolbox added the duplicate This issue or pull request already exists label Mar 12, 2021
@kingToolbox
Copy link
Owner

kingToolbox commented Mar 12, 2021

Duplicate of #19.

Copy on select is already supported, and I think drag and drop the selection to input it is more convenient to use. You can read the description here.

However, only the middle mouse button is supported for pasting at present, and the right button is more suitable for pop-up menus. But if you really want to use the right button to paste. Then you need to wait for the completion of the keyboard and mouse customization, which is expected in the third quarter.

WindTerm's themes is more complicated than Iterm and more closer to vscode. You can customize your theme based on windterm-install-path/global/themes/dige-black/scheme.theme. But I’m afraid WindTerm cannot use Iterm's themes directly. I will write a document on how to customize the theme in the future, so that more themes could be created and shared for you to choose from.

Auto upgrade is not considered for the time being. This is not for technical reasons. But auto upgrade requires regular and spontaneous access to the external network, and security is very sensitive to ssh clients. Before WindTerm gains universal acceptance, spontaneous access to the Internet will bring unnecessary suspicion.

@Liuhongdan
Copy link
Author

Just set the option text.autoCopySelection in WindTerm-Install-Path/global/wind.config to true to enable it. Select-to-copy and middle-click-to-paste and drag and drop are easy to use. Need this select-to-copy, because sometimes need to copy from WindTerm to other applications. For right button to paste, I'm ok to wait since middle-click-to-paste is already there. I think this setting better can be merge into WindTerm setting in UI in the future, otherwise it's hard for others to know.
I will try scheme.theme later.

BTW, for upgrade, if I download a new version, should I extract it to current WindTerm folder, or can it export current sessions into new version ?

Thank you. 👍

@kingToolbox
Copy link
Owner

WindTerm supports drag and drop between programs. You can read Tips / Input By Dragging And Dropping Text to known more. Of course, it is more convenient to copy and paste between programs. Windows doesn't have the concept of a separate selection and clipboard like X11 Window System, so I set the default value of the option text.autoCopySelection to false.

The settings will definitely have an interface, but the priority of development is relatively low. I look forward to completing it gradually in the new 2.x series.

The upgrade of WindTerm is very simple, as I stated in the release:

Copy or move the "profiles" folder from the old Windows/Linux version to the new Windows/Linux version and all the sessions and configuration will be restored.

The new v2.0.0 stable version has just been released, you can download and use it. Thank you.

@Liuhongdan
Copy link
Author

Just downloaded and copied "profiles" to v2.0.0.
Thank you!

@kingToolbox
Copy link
Owner

The configuration GUI will be completed in the next version 2.2.0. Welcome to continue submitting new issues and feature requests, thank you.

@kingToolbox
Copy link
Owner

Hello, the right-click-to-paste feature has been supported. Please download and use WindTerm_2.1.0_Prerelease_6_Windows_Portable.

After downloading it, set terminal.rightClickAction in WindTerm_install_path/profiles/default.v10/user.config or WindTerm_install_path/global/wind.config to PasteText to enable it. At the same time, it is best to set text.autoCopySelection to true. It is more convenient to use terminal.rightClickAction and text.autoCopySelection together.

@xihajun
Copy link

xihajun commented Feb 17, 2023

may I ask any idea where can we find the wind.config template

@baternest
Copy link

Session > Preferences > Settings... > Text
Check the option "Automatically copy selection"
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants