diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index d663ad7..48b77f1 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -32,6 +32,10 @@ bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-cli bind k confirm-before -p "kill current session? (y/n)" "switch-client -l \; kill-session -t '#S'" +# SSH Session +bind h command-prompt -p "Remote host:" "new-session -n 1 -s 'ssh-%1' -A ssh %1" + + # Call prompt via prefix ; bind ';' command-prompt