Ask Your Question

vim-gtk or vim-gnome didn't provide for Fedora repo

asked 2017-11-14 13:37:12 -0500

Ed Nora gravatar image

updated 2017-11-14 13:38:04 -0500

According to vim.wikia if vim 's features don't provide clipboard we can install vim-gtk or vim-gnome packages in Debian-based distros but we have not any packages that called same. In that wiki page said:

If you are running Redhat/CentOS, you can install the vim-X11 package (if you have gvim then this is already installed). This provides the vimx command, which is a console version of Vim with X11-clipboard support.

I installed vim-X11(gvim) package but it's still doesn't support clipboard feature.

Now, how can I provide clipboard feature for my vim?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-11-15 04:43:17 -0500

Simon98 gravatar image

Hi there. Just see How do I get +clipboard support in Fedora 20? to get it done. Good luck

edit flag offensive delete link more

answered 2017-11-14 13:51:32 -0500

ssieb gravatar image

updated 2017-11-16 16:45:04 -0500

When I run gvim, it works for me. "+p pastes the system clipboard contents.

Update since I misunderstood the original question:

You actually provided the answer in your question. The vim-X11 package provides the vimx executable which has clipboard support. However, one thing to remember is that in order to access the clipboard it has to be able to contact the X server. So make sure that the DISPLAY variable is set correctly and that the process has permission to talk to the X server.

edit flag offensive delete link more


Yes it can in Vim too. But I want to enable this feature as default in my vim (and it can enable with setting cilpboard=unnamedplus) but it actually doesn't support in my vim. Just see:

Ed Nora gravatar imageEd Nora ( 2017-11-14 14:18:43 -0500 )edit

Sorry, I misunderstood the question. I will edit my answer.

ssieb gravatar imagessieb ( 2017-11-16 16:40:38 -0500 )edit

Question Tools

1 follower


Asked: 2017-11-14 13:37:12 -0500

Seen: 868 times

Last updated: Nov 16 '17