diff --git a/tmux.conf b/tmux.conf index 6bd7ea8..43a8221 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,6 +1,6 @@ unbind C-b set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" -set -g allow-rename on +set -g allow-rename off set -g prefix C-g bind C-g send-prefix bind s split-window -v @@ -16,6 +16,7 @@ bind + resize-pane -U 5 bind e choose-session bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'" bind y command-prompt break-pane +bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'ssh %%'" bind -n M-w next-window bind -n M-q previous-window bind -n M-j next-window @@ -47,3 +48,6 @@ setw -g window-status-bg "colour7" setw -g window-status-current-format "#[fg=colour8,bg=colour7,underscore]#I #W#[default] " set -g status-left "#[fg=colour15,bg=colour4,bold] #h #[fg=colour4,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour12] #S #[fg=colour12,bg=colour7,nobold,nounderscore,noitalics]#[default] " set -g status-right " #[fg=colour12,bg=colour7,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour12] %a %e #[fg=colour10,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour10] %k:%M " +new-session -s "0-default" +new-session -s "1-vim&git" +new-session -s "2-ssh"