-
Notifications
You must be signed in to change notification settings - Fork 7
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
Could not make it to work #2
Comments
Hello @sdancer75, by the line [ -z ${WSLENV+x} ] || export PATH="${PATH:+"$PATH:"}$HOME/bin/win-bash-xclip-xsel" and having all files in |
Hi I just redirected from the answer post zyedidia/micro#2184 (comment) and I thought that it was the solution for pasting data inside the micro editor. Regards, |
Yes, indeed, according to
it uses xclip or xsel, and if you find them to be in your $PATH, then Ctrl-V should supposedly work. I gues you already have either one installed ? export PATH="$HOME/bin/win-bash-xclip-xsel:$PATH" |
I am on WSL2. Despite the internal/external clipboard settings with micro editor, I could not copy/paste with ctrl+c/ctrl+v. Instead, I could only paste the copied text from the host (win10). I changed my .profile according to your recommendation and it worked just fine. Excellent, thanks!
|
I am glad to know. I documented this workaround in the Readme. |
I installed the script and I verified that there is inside my home dir.
I changed the .profile with this but every time I press Ctr+V to paste I get the copied text from the windows clipboard. Where am I wrong with this?
The text was updated successfully, but these errors were encountered: