Closed pythoninthegrass closed 1 year ago
Sorry for the late response. You have two options:
vim.g.clipboard
. Basically it tells Neovim that everything you yank into the +
register must be copied to the system clipboard. Neovim will then call the plugin itself. See this section in the README.You must use only one of these two options. In your code, you're trying to use both. I hope it helps.
Hi @ojroques,
Thanks for making this and the upstream vim-oscyank. Not able to find the right solution to override the which-key config based on the upstream Lunar Vim docs and source code.
When hitting
<Space>c
in normal mode, it complains aboutE16: Invalid range
. Switching to visual mode, it copies to the system clipboard, but then cuts the text from the open buffer.Any idea why it's behaving like this?
Thanks in advance! 🙏
https://user-images.githubusercontent.com/4097471/204113174-fd15dbcf-459f-4067-865c-5e943ef14f8a.mp4
OS: macOS 12.6.1 (21G217) iTerm: 3.4.16 neovim: v0.8.1 lvim: 1.2.0 (4d03f65) config.lua