Posted on

Configure vim clipboard in fedora (X11)

Apparently, the vim package in fedora comes without the appropriate clipboard flags baked in:

Forunately, the fedora repos comes with another package, which has the flags enabled: vim-X11.

 

so whenever you use the native vim hotkeys to control the selection, you can simply copy its contains to the + (clipboard) register:

Now you can paste the copied text outside of the vim terminal session.

To make it complete, you can add the alias to your .bash_profile

Leave a Reply