The system is Centos7.2. I have installed vim-enhanced and vim-X11, used vimx
command.
It shows that vimx supports clipboard
and xterm_clipboard
. But in vimx, there is no reg +
and reg *
. I can't copy text to system clipboard using command "+yy
gvim
. Vim needs to connect to the X server to be able to interact with the system clipboard. Might be that Vim is somehow not able to connect to X. Are you able to start any X application from your terminal (like xterm or xclock)? Are you able to do that from inside Vim (like::!xterm
)?echo v:windowid
prints0
(zero), Vim is not connected to X.vimx
in command-line mode. Commandecho v:windowid
in vimx prints0
. There is no commandxterm
orxclock
on the remote server. Thanks, I will search 'X server' for help.