Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 6 commits into from

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.

None yet

3 participants