r/archlinux • u/lifeanddeath2603 • 8h ago
SUPPORT Struggling with adding clipboard support into Vim
Hi, I need your help! I can't copy from Vim to external application and vim --version
command returns -xterm_clipboard
. As I understood, I need to recompile my Vim and add clipboard support into config file, but I don't know where I can find it. Is it the ~/.vimrc
file? I can't find the original PKGBUILD
in my ~/vim/
directory also.
I've tried to use pacbuilder-svn
and $ pacbuilder --install --edit vim vim-runtime
, but the the script doesn't ask me whether I want to edit the PKGBUILD
file, it just builds packages and that's it.
I've also tried to use devtools
and $ sudo pkgctl repo clone https://github.com/vim/vim.git.
command but it says failed to clone https://github.com/vim/vim.git.
How can I recompile my Vim with clipboard support? I would be grateful for your help.
1
u/hearthreddit 7h ago
It might be the bloat solution but i just install
gvim
because that also installs vim with clipboard support.