Skip to content

:connect to another Nvim server (dynamic detach/reattach, like screen/tmux) #5035

@joshtriplett

Description

@joshtriplett

With nvim's terminal mode, if it had the ability to detach and reattach, it could serve as a replacement for screen or tmux.

This would require a few additional bits:

  • A :detach function, to stop running the text UI and daemonize into a --headless instance that will survive the current user session ending.
  • A command-line argument to list running nvim instances.
  • Command-line arguments to attach to a running nvim instance and start the text UI. These need three variations: one that just fails if the session already has an attached text UI, one that detaches any attached text UI first (like screen -D -R), and one that attaches without detaching any other attached text UI (like screen -x). (That last one is optional, but I'd find it quite useful.)

cc @jameysharp

Sub-issues

Metadata

Metadata

Assignees

Labels

guiserverlistentuitermcodes, terminfo, termcapuiui-extensibilityUI extensibility, events, protocol, externalized UI

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions