Added new command :xrestore to reinitialize connection to X11 server. Useful after X server restarts (e.g. when running Vim for a long time inside screen/tmux and connecting from different machines). Requires +clipboard feature to be compiled in Vim.
Usage:
Reinitialize connection to X11 server running on localhost:11.0:
:xrestore localhost:11.0
Reinitialize connection while keeping X11 server from the last invocation of this command (if it was never executed with an argument, then the X11 server address is the one, that Vim read during startup from DISPLAY environment variable):
:xrestore
https://github.com/vim/vim/pull/844
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
has this command been removed ?
I'm occasionally troubled by bad rendering after an X server disconnection/restart, so am looking forward to this issue getting merged!
Seeing this has been closed, is there an alternative/workaround?
@jeenuv Patch 8.1.1307 introduced then new command :xrestore
. See the commit Bram used to close this pull request.