remote tmux features
This commit is contained in:
parent
e83c2398ef
commit
b358f7e5bb
@ -228,3 +228,9 @@ most-often-commands() {
|
||||
sshx() {
|
||||
ssh -X -o ControlMaster=no -o ControlPath=none $@
|
||||
}
|
||||
|
||||
# Open remote tmux
|
||||
ssht() {
|
||||
REMOTE="$1"; shift
|
||||
ssh -t "$REMOTE" tmux -u "$@"
|
||||
}
|
||||
@ -2,6 +2,9 @@
|
||||
|
||||
set -g prefix C-b
|
||||
|
||||
# Ctrl+a to send prefix to remote tmux
|
||||
bind-key -n C-a send-prefix
|
||||
|
||||
# Zoom pane
|
||||
bind -n M-f resize-pane -Z
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user