Comments (14)
Using xsel
as you've described on gnome 42 (wayland) fixes these clipboard issues for me.
from yanky.nvim.
No, debug-freeze branch doesn't help.
from yanky.nvim.
Should be fixed in my PR. Would be great if anyone else could confirm.
from yanky.nvim.
It seems, the problem is in Wayland: if I add in my config
system_clipboard = {
sync_with_ring = false,
},
This behavior does not appear.
from yanky.nvim.
Hello @anuvyklack !
Thanks for reporting this issue.
Looks like the same issue than #20 and #21.
Seems to be caused by a xclip
random bug :/
In this case, you can try
-
Update
xclip
to the last version -
Use
xsel
instead ofxclip
with this code:
vim.g.clipboard = {
name = "xsel_override",
copy = {
["+"] = "xsel --input --clipboard",
["*"] = "xsel --input --primary",
},
paste = {
["+"] = "xsel --output --clipboard",
["*"] = "xsel --output --primary",
},
cache_enabled = 1,
}
- You can also try to use the debug-freeze branch instead of
main
and let me know if if fix the problem đ
from yanky.nvim.
I've you tried xsel ?
What's your version of xclip ?
from yanky.nvim.
I am using Fedora, so I have the latest xclip
0.13.
wl-clipbord
does not work, the same behavior as for xlip
.
from yanky.nvim.
xsel
is work.
But when I copy something outside the Nvim and paste with p
, I can't choose it direct with <C-p>
--- get Reached first item
message. But if I paste with p
, and then press <C-n><C-p>
I get the clipboard content.
from yanky.nvim.
Highlight doesn't work. Can open a separate issue. And default history length is 100, but in README written that 10.
from yanky.nvim.
Highlight doesn't work. Can open a separate issue.
Yes please !
xsel
is work. But when I copy something outside the Nvim and paste withp
, I can't choose it direct with<C-p>
--- getReached first item
message. But if I paste withp
, and then press<C-n><C-p>
I get the clipboard content.
Can you provide a minimal config ?
What's you &clipboard
config ?
Seems normal if your clipboard
is not set to unnamed[plus]
you should paste with p
and next press <c-p>
to get system clipboard content.
What's your expected behavior ?
from yanky.nvim.
I see the same issue on archlinux.
one workaround is to use <C-c>
to back to normal mode.
from yanky.nvim.
xsel
is work. But when I copy something outside the Nvim and paste withp
, I can't choose it direct with<C-p>
--- getReached first item
message. But if I paste withp
, and then press<C-n><C-p>
I get the clipboard content.
I think #43 will fix this issue.
Highlight doesn't work.
I think #40 fix this issue, can you confirm ?
I see the same issue on archlinux. one workaround is to use
<C-c>
to back to normal mode.
I've you tried using xsel
?
from yanky.nvim.
I did not config xsel
in my setup.
from yanky.nvim.
I am using nightly neovim and I am also facing this issue. I was not sure what was causing the issue. Then tried pressing <C-c>
while the neovim is hanged and it came out of the process. Then I checked Lazy profile
and it showed the issue that yanky.nvim
is taking a lot of time for doing something behind the scenes.
â Startuptime: 218.34ms
â
â Based on the actual CPU time of the Neovim process till UIEnter.
â
â This is more accurate than `nvim --startuptime`.
â
â LazyStart 7.42ms
â
â LazyDone 167.74ms (+160.32ms)
â
â UIEnter 218.34ms (+50.6ms)
â
â Profile
â
â You can press <C-s> to change sorting between chronological order & time taken.
â
â Press <C-f> to filter profiling entries that took more time than a given threshold
â
â â îȘ VeryLazy 3020.18ms
â
â â ï yanky.nvim 2954.66ms
â
â â
î
yanky.nvim/plugin/init.lua 3.73ms
â
from yanky.nvim.
Related Issues (20)
- Feature Request: Telescope action to both put item and set register HOT 3
- Doesn't work with Telescope HOT 9
- Feature Request: Ability to set default telescope action HOT 1
- Selection of a history in telescope always ends in pasting the latest history record HOT 5
- Feature request: Replace with Yanky HOT 1
- Text object errors HOT 2
- Bug: Latest commit breaks last-paste-textobj HOT 6
- Error executing lua callback attempt to index field 'yanky_textobj' (a nil value) HOT 2
- Wrong position of special mark after paste HOT 1
- Update doc for v2
- Question: is there lua API to get last yank/copy text, and get all the yank/copy history? HOT 2
- [Error] Occurs with `cancel_event = 'move'` When Pasting Twice HOT 2
- [Enhancement] Ignore Replaced Text HOT 7
- Wrong behavior of telescope.mapping.put actions HOT 5
- Could you increase the visibility of this by suggesting those maps in the README?
- Can't ignore primary register "* HOT 3
- Preserve cursor position on yank doesn't work HOT 2
- YankyPutAfter vs YankyGPutAfter HOT 1
- nitpick about naming and doc around YankyPutBefore/After HOT 1
- Implements `zy`
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 yanky.nvim.