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

Clipboard not updated in Neovim #6

Open
ojroques opened this issue Nov 24, 2020 · 1 comment · May be fixed by #7
Open

Clipboard not updated in Neovim #6

ojroques opened this issue Nov 24, 2020 · 1 comment · May be fixed by #7

Comments

@ojroques
Copy link

Hello,
I'd like very much to use OSC52 in my workflow unfortunately I cannot get your plugin to work. When running the command in neovim v4.3 my clipboard is not updated at all. I'm testing it in the Windows Terminal, with WSL1 running Ubuntu 20.04. I checked that my terminal supports OSC52 with Chromium's script and indeed it works fine.

Here's a minimal config:

call plug#begin()
Plug 'fcpg/vim-osc52'
call plug#end()
vmap <leader>c y:Oscyank<CR>

And here's my neovim version:

$ nvim -v
NVIM v0.4.3
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-gOb7vg/neovim-0.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-gOb7vg/neovim-0.4.3/build/config -I/build/neovim-gOb7vg/neovim-0.4.3/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-gOb7vg/neovim-0.4.3/build/src/nvim/auto -I/build/neovim-gOb7vg/neovim-0.4.3/build/include
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Any idea what could be wrong? Or how I can debug that? Thanks!

@ojroques ojroques linked a pull request Nov 24, 2020 that will close this issue
@ojroques
Copy link
Author

ojroques commented Nov 24, 2020

It seems this is linked to this issue: neovim/neovim#8450. I've added one of the workaround suggested there and it works now.

Edit: It seems this project is inactive at the moment. I've release my own plugin to integrate OSC52 into Vim with support for Neovim and Windows. Check it out: vim-oscyank.

@ojroques ojroques changed the title Clipboard not updated in Windows Terminal + Neovim Clipboard not updated in Neovim Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant