Skip to content

Files

Latest commit

 

History

History
41 lines (40 loc) · 1.34 KB

File metadata and controls

41 lines (40 loc) · 1.34 KB
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
enable-clipboard-support-in-vim-on-fedora
vim
public
2020-09-08 13:12:31 -0700
2024-09-23 15:17:53 -0700
false
20200908201231
attachments/enable-clipboard-support-in-vim-on-fedora.html
false
false
clipboard
fedora
register
vim
x11
Enable Vim +clipboard Support On Fedora
tech-note

So, installing vim-enhanced and vim-X11 is enough, but is not at the same time. To enable the system functions like +clipboard, you moreover need to use the vimx executable rather than vim or vi (even though they are probably identical, the name changes the behaviour).

One way how to do that permanently is by adding aliases in your .bashrc file:

alias vi='vimx'
alias vim='vimx'

The complete list of features that get enabled this way is: +balloon_eval, +browse, +clientserver, +clipboard, +dnd, +mouseshape, +toolbar, +X11, +xim, +xsmp_interact, +xterm_clipboard, +xpm.

However, some of them are probably irrelevant for the terminal version of vimx and only do something for GVim.

How do I get +clipboard support in Fedora 20?