diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index eae8e87..1282786 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -60,6 +60,9 @@ bind-key -T prefix l confirm-before -p "lock tmux? (y/n)" lock-session # Reload config bind r source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..." +# SSH session +bind h command-prompt -p "Remote host:" "new-session -s 'ssh-%1' -A ssh %1 \; set-option default-command 'ssh %1'" + # Session managment bind 1 run-shell ~/.tmux/01.sh bind 2 run-shell ~/.tmux/02.sh