tmux mappings
This commit is contained in:
parent
4212284e94
commit
d85fd48c1c
@ -60,6 +60,9 @@ bind-key -T prefix l confirm-before -p "lock tmux? (y/n)" lock-session
|
|||||||
# Reload config
|
# Reload config
|
||||||
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..."
|
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
|
# Session managment
|
||||||
bind 1 run-shell ~/.tmux/01.sh
|
bind 1 run-shell ~/.tmux/01.sh
|
||||||
bind 2 run-shell ~/.tmux/02.sh
|
bind 2 run-shell ~/.tmux/02.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user