Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • can you check whether this is a classic vim-exclusive problem? A quick apt-get / zypper / pacman / … / dnf install neovim, followed by nvim would allow you to test whether the slightly reworked buffer architecture of the neovim fork works. Might help us know what to look into. Commented Feb 7, 2024 at 22:34
  • PS: I'm using awesome as window manager, and alacritty as my terminal emulator, and neovim just copies beautifully to clipboard. Commented Feb 7, 2024 at 22:35
  • There are many many ways of copy/past to/from vim that cannot be described in a single QA post. My favourite is xclip. To put highlighted text in xclip :'<,'>w !xclip . Note that the bit <,'> gets added automatically after you type :. And to read in the xclip into vim :r ! xclip -o. You can also read/write from buffers or temporary files -- more powerful and versatile that clipboards. Commented Feb 16, 2024 at 9:11