If you have to start Vim with -X
, I don't think there's a way to later enable clipboard support. You either have to find and fix the root cause for the slowness of connecting to X, or work around this with external tools, e.g.
:3,5w !xsel --clipboard
or
:3,5w !xclip -in -selection clipboard