I am a polyglot seasoned software engineer. Besides the day job, I contribute to open source projects, beta test startup products, and offer consultancy.
Unfortunately mine don't. I'm on Arch so maybe I should try neovim or vim-gtk.
@aminnairi
, does + register work for you without xclip? I have been copying Vim selection system clipboard using + since ages on MacBook without any additional configuration.
Also it is possible that your Vim version is not compiled with X11 clipboard integration. You can check with :version command. I suspect this is the reason * register did not work for you.
From what I understood, all minuses mean that there is no support for that feature and unfortunately the clipboard feature is not on the Vim installation I have.
I tried the * and the + registers without any luck...
I am a polyglot seasoned software engineer. Besides the day job, I contribute to open source projects, beta test startup products, and offer consultancy.
Right. You will either have to look for a Vim package for your Linux distribution that has clipboard support or compile VIm yourself with all the feature set. Been there, done that!
I migrated to NeoVim a couple of years ago to avoid precisely such issues, and haven't looked back to Vim since then. NeoVim provides a consistent experience and features across all the platforms.
@aminnairi , does
+register work for you without xclip? I have been copying Vim selection system clipboard using+since ages on MacBook without any additional configuration.Also it is possible that your Vim version is not compiled with X11 clipboard integration. You can check with
:versioncommand. I suspect this is the reason*register did not work for you.Thanks for your reply @talha131 !
Yes, we arrived at the same conclusion. I've previously been running this command
And the output is
From what I understood, all minuses mean that there is no support for that feature and unfortunately the clipboard feature is not on the Vim installation I have.
I tried the
*and the+registers without any luck...Right. You will either have to look for a Vim package for your Linux distribution that has clipboard support or compile VIm yourself with all the feature set. Been there, done that!
I migrated to NeoVim a couple of years ago to avoid precisely such issues, and haven't looked back to Vim since then. NeoVim provides a consistent experience and features across all the platforms.
I waited for an event like this and someone like you to convince me to climb the step and use NeoVim. I guess now is the time!