Repository navigation
Conversation
This refactor moves the tmux subsystem out of the main plugin file while preserving the existing command and function surface. - Added autoload/neomux/tmux.vim for tmux session, naming, restore, autosave, picker, and connect helpers - Replaced core tmux calls with neomux#tmux# entry points loaded only when tmux behavior is used - Kept documented Neomux* compatibility wrappers in plugin/neomux.vim This makes the main plugin file focused on core startup and terminal behavior without changing user-facing tmux commands.
This docs update removes stale wording that framed Neomux as a wrapper around Python neovim-remote. - Described nvr-go as the default reimplementation of the nvr command surface Neomux uses - Updated manual installation guidance to prefer downloading nvr-go into plugin/bin/nvr - Kept Python neovim-remote documented as a compatible external nvr executable The README now matches the current nvr-go-based communication path without changing runtime behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ships a major tmux integration rewrite for Neomux, plus several hardening fixes discovered while preparing it for review.
What changed
autoload/neomux/tmux.vimmodule.:NeomuxRename, default name generation, uniqueness suffixes, tmux sync).winrestcmd().:NeomuxTmuxReconnect) with live NVIM socket discovery and stale-socket cleanup on startup.NeomuxSessionSaved,NeomuxSessionRestored,NeomuxSessionAutosaved) for custom integrations.nmuxsmart: splits inside an existing neomux session, starts a new session outside.funcs.sh.nxralias for refreshing stale shell environments.NeomuxGetConnectCommand()to get the tmux attach command for external connection.README.mdanddoc/neomux.txtto document the new architecture, autosave, restore/reconnect, and socket cleanup behavior.Validation
nvim --clean --headless +"source plugin/neomux.vim" +"qa!".:Neomuxterminal creation, session save/restore, and reconnect flows locally.Follow-up notes