1
0
Fork 0

tmux tweaks

This commit is contained in:
Von Random 2018-06-03 02:04:38 +03:00
parent 8852cf1159
commit 864d3a2987

View file

@ -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"