You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With terminals I use (wezterm/alacritty) the new osc52 clipboard feature works as expected for copy but not for paste operation.
For instance wezterm does not seem to allow reading the clipboard wez/wezterm/issues/2050
When I try to paste eg pressing p nvim become unresponsive, freeze during ~10seconds with the following message "Waiting for OSC 52 response from the terminal. Press Ctrl-C to interrupt…".
Finally, after this 10s timeouts or pressing ctrlC, the previously yanked text is pasted.
There is a way to set g.clipboard to enable osc52 for copy only, and keep whatever is nvim's default for paste?
I tried this but it's not working, I lose the osc52 feature
-- this is not workingvim.g.clipboard= {
name='OSC 52',
copy= {
['+'] =require('vim.ui.clipboard.osc52').copy('+'),
['*'] =require('vim.ui.clipboard.osc52').copy('*'),
},
paste=nil//donotoverrideit, usenvim's default
}
Problem
With terminals I use (wezterm/alacritty) the new osc52 clipboard feature works as expected for copy but not for paste operation.
For instance wezterm does not seem to allow reading the clipboard wez/wezterm/issues/2050
When I try to paste eg pressing
p
nvim become unresponsive, freeze during ~10seconds with the following message "Waiting for OSC 52 response from the terminal. Press Ctrl-C to interrupt…".Finally, after this 10s timeouts or pressing ctrlC, the previously yanked text is pasted.
There is a way to set
g.clipboard
to enable osc52 for copy only, and keep whatever is nvim's default for paste?I tried this but it's not working, I lose the osc52 feature
Steps to reproduce
nvim --clean -u mini.lua
y
then pastep
Expected behavior
Should past the yanked text instant and do not freeze 10s with "Waiting for OSC 52 response from the terminal. Press Ctrl-C to interrupt..." message
Neovim version (nvim -v)
NVIM v0.10.0-dev-2682+g011585f35f RelWithDebInfo LuaJIT 2.1.1702233742
Vim (not Nvim) behaves the same?
Operating system/version
archlinux 6.8.1-arch1-1
Terminal name/version
Installation
aur neovim-git
The text was updated successfully, but these errors were encountered: