Skip to content
Discussion options

You must be logged in to vote

Ssh-aware splits are on main now (#471). There are three new actions: split_ssh_vertical, split_ssh_horizontal and new_window_ssh. When the focused pane runs ssh, the new pane runs ssh to the same host as the same user. The remote command is not run again. When the pane does not run ssh, you get an ordinary pane, so the keys are safe to use everywhere.

They have no default keys. For example:

[keybindings.layout]
split_ssh_vertical = ["alt+v"]
split_ssh_horizontal = ["alt+s"]
new_window_ssh = ["alt+w"]

If you want the normal split and new-window keys to do this, like tmux-ssh-split's replace mode, set:

[appearance]
new_window_follow_ssh = true

The new ssh keeps the connection options (host…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Smithx10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants