Comments (4)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- windows clipboard not working on WSL 2 - Debian (#6165), similarity score: 0.73
- Pasting clipboard into linux programs started from WSL does not work (#4755), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
/logs
from wsl.
if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = "win-clip.exe",
copy = {
["+"] = "clip.exe",
["*"] = "clip.exe",
},
paste = {
["+"] = 'powershell.exe -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("r", ""))', ["*"] = 'powershell.exe -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("
r", ""))',
},
cache_enable = 0,
}
end
This is the clipboard setting of neovim. Have you found any problems? Because pwsh will load the configuration by default, if there is no NoProfile -c, if there is a problem in loading the configuration, for example, windows powershell is 5.x version, but the latest powershell is 7.x version, if some configuration is loaded and cannot be used on 5.x, This will cause problems, so if you can, add a non-configured pwsh command like powershell -NoProfile -c to the clip associated code.
from wsl.
Maybe the bug was submitted by neovim, but I'm not sure if it's a wsl problem or a neovim problem, so if it's a neovim problem, I submitted the bug to the wrong place. I'm sorry.
from wsl.
Related Issues (20)
- Element not found while performing update HOT 4
- Effective MTU in mirrored mode is lower than interface MTU HOT 2
- Internet in WSL2 error when using mirrored network with firewall HOT 4
- Facing WSL2 issue while installing in Visual studio code HOT 2
- Wsl/InstallDistro/WININET_E_CANNOT_CONNECT when installing Ubuntu HOT 8
- du: WARNING: Circular directory structure. HOT 7
- CUDA Version return ERROR! after nvidia-smi command HOT 13
- Windows GCC Executable Fails From WSL HOT 4
- CTRL + key does not work properly using Brazilian Portuguese keyboard layout HOT 5
- Ubuntu-20.04.6 LTS takes 30+ minutes to boot HOT 4
- ubuntu 22_04 系统下载ubuntu desktop 下载报错,重启到期systemctl以及其他服务都不起来 HOT 2
- WSL2 Memory Allocation Issue: Configured 55GB but Only 32GB Available HOT 5
- Load custom kernels and Realtek RTL8812au Driver HOT 4
- Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0xffffffff HOT 4
- Problema para iniciar o ubuntu HOT 2
- port forwarding not working HOT 5
- Networking mirrored, WSL2 and the host machine are unable to access each other's services bidirectionally. HOT 25
- 我想问一下 HOT 3
- cloud-init aborted by WSL 'watchdog' HOT 13
- Failed to connect to bus: No such file or directory HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.