Open pschmitt opened 4 years ago
With more recent versions of TMUX you can make use of split-window which accepts a command.
split-window
Here's what I have right now which provides the same functionality as sshh:
https://gist.github.com/pschmitt/293a9895abe14399b0d8a20cf68dd25c
TLDR: The config part is way tidyer:
bind S run "$TMUX_BIN_HOME/tmux-split-ssh.sh -c #{pane_current_path} -v" bind | run "$TMUX_BIN_HOME/tmux-split-ssh.sh -c #{pane_current_path} -h"
I made a TPM plugin for this: https://github.com/pschmitt/tmux-split-ssh
With more recent versions of TMUX you can make use of
split-window
which accepts a command.Here's what I have right now which provides the same functionality as sshh:
https://gist.github.com/pschmitt/293a9895abe14399b0d8a20cf68dd25c
TLDR: The config part is way tidyer: