Open deliciouslytyped opened 3 years ago
This PR enables using nested-tmux without hardcoded paths, once the two patches in https://github.com/tmux/tmux/issues/2638 and https://github.com/tmux/tmux/issues/2637 land in upstream tmux.
It also makes the state machine more complicated, by allowing you to toggle the M-arrow navigation and the prefix with M-c (the binding is arbitrary).
M-arrow
M-c
With this, you can now easily test nested-tmux with a command like tmux -f plugin.conf -L test.
tmux -f plugin.conf -L test
(Yes, I really should have used multiple commits for this.)
I'm not sure but you might find what I do with parameterized paths in my TPM plugin PR relevant to what your trying to accomplish.
This PR enables using nested-tmux without hardcoded paths, once the two patches in https://github.com/tmux/tmux/issues/2638 and https://github.com/tmux/tmux/issues/2637 land in upstream tmux.
It also makes the state machine more complicated, by allowing you to toggle the
M-arrow
navigation and the prefix withM-c
(the binding is arbitrary).With this, you can now easily test nested-tmux with a command like
tmux -f plugin.conf -L test
.(Yes, I really should have used multiple commits for this.)