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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mux): Improved tmux integration performance #155

Merged
merged 5 commits into from
Feb 18, 2024

Conversation

mrjones2014
Copy link
Owner

@mrjones2014 mrjones2014 commented Feb 17, 2024

This PR also adds a hook system for multiplexer integrations to run initialization and cleanup functions. mux.on_init() is called on startup and VimResume while mux.on_exit() is called on VimSuspend and VimLeave.

@b0o would you mind giving this a test for me? It has been a long time since I've used tmux and I don't have a configuration for it at the moment.

To Test:

  1. Use the modified tmux configuration in the README.md changes of this PR
  2. Use tmux
  3. Ensure smart-splits.nvim either auto-detects or is set to use tmux
  4. Create multiple tmux splits
  5. Open Neovim in one of them and ensure smart-splits.nvim is loaded

For me:

  • Make sure I didn't break it for Wezterm 馃槢

@mrjones2014
Copy link
Owner Author

Added a tmux config to test with via a flake.nix.

Something isn't working properly 馃

@mrjones2014
Copy link
Owner Author

Fixed, a typo will do it 馃槀

@mrjones2014 mrjones2014 merged commit 1863c1b into master Feb 18, 2024
2 checks passed
@mrjones2014 mrjones2014 deleted the mrj/tmux-performance branch February 18, 2024 01:45
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

1 participant