Skip to content

new command :xrestore to restore X11 connection after X11 server restart#844

Closed
adizero wants to merge 6 commits intovim:masterfrom
adizero:xrestore
Closed

new command :xrestore to restore X11 connection after X11 server restart#844
adizero wants to merge 6 commits intovim:masterfrom
adizero:xrestore

Conversation

@adizero
Copy link

@adizero adizero commented Jun 2, 2016

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

@jeenuv
Copy link

jeenuv commented Apr 29, 2019

I'm occasionally troubled by bad rendering after an X server disconnection/restart, so am looking forward to this PR getting merged!

@brammool brammool closed this in d4aa83a May 9, 2019
@jeenuv
Copy link

jeenuv commented May 9, 2019

Seeing this has been closed, is there an alternative/workaround?

@rakus
Copy link
Contributor

rakus commented May 9, 2019

@jeenuv Patch 8.1.1307 introduced then new command :xrestore. See the commit Bram used to close this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants