tmux tweaks
This commit is contained in:
parent
8852cf1159
commit
864d3a2987
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
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
|
set -g prefix C-g
|
||||||
bind C-g send-prefix
|
bind C-g send-prefix
|
||||||
bind s split-window -v
|
bind s split-window -v
|
||||||
|
@ -16,6 +16,7 @@ bind + resize-pane -U 5
|
||||||
bind e choose-session
|
bind e choose-session
|
||||||
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 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-w next-window
|
||||||
bind -n M-q previous-window
|
bind -n M-q previous-window
|
||||||
bind -n M-j next-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] "
|
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-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 "
|
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"
|
||||||
|
|
Loading…
Reference in a new issue