tmux magic, pane resize hotkeys
This commit is contained in:
parent
1452afde3a
commit
94b52e8204
1 changed files with 6 additions and 8 deletions
14
tmux.conf
14
tmux.conf
|
@ -4,18 +4,16 @@ bind h select-pane -L
|
|||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
bind < resize-pane -L 5
|
||||
bind > resize-pane -R 5
|
||||
bind - resize-pane -D 5
|
||||
bind + resize-pane -U 5
|
||||
bind e choose-session
|
||||
bind r switch-client -T resize
|
||||
bind -T resize -r h resize-pane -L 5
|
||||
bind -T resize -r j resize-pane -D 5
|
||||
bind -T resize -r k resize-pane -U 5
|
||||
bind -T resize -r l resize-pane -R 5
|
||||
bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen.xterm-new ssh %%'"
|
||||
bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'"
|
||||
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
|
||||
bind y command-prompt break-pane
|
||||
bind -n M-w next-window
|
||||
bind -n M-q previous-window
|
||||
bind -n M-j next-window
|
||||
bind -n M-k previous-window
|
||||
bind -n M-` last-window
|
||||
set -g prefix C-g
|
||||
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||
|
|
Loading…
Reference in a new issue