|
|
|
@ -31,8 +31,8 @@ bind Escape copy-mode |
|
|
|
|
set -s escape-time 50 |
|
|
|
|
|
|
|
|
|
# switch windows |
|
|
|
|
bind -r C-j previous-window |
|
|
|
|
bind -r C-k next-window |
|
|
|
|
bind -r j previous-window |
|
|
|
|
bind -r k next-window |
|
|
|
|
|
|
|
|
|
# splitting |
|
|
|
|
unbind % |
|
|
|
@ -43,10 +43,10 @@ bind -n C-h run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux |
|
|
|
|
bind -n C-j run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" |
|
|
|
|
bind -n C-k run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" |
|
|
|
|
bind -n C-l run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" |
|
|
|
|
bind -r j resize-pane -D 2 |
|
|
|
|
bind -r k resize-pane -U 2 |
|
|
|
|
bind -r h resize-pane -L 2 |
|
|
|
|
bind -r l resize-pane -R 2 |
|
|
|
|
bind -r C-Down resize-pane -D 2 |
|
|
|
|
bind -r C-Up resize-pane -U 2 |
|
|
|
|
bind -r C-Left resize-pane -L 2 |
|
|
|
|
bind -r C-Right resize-pane -R 2 |
|
|
|
|
bind-key b command-prompt -p "create pane from:" "join-pane -s ':%%'" |
|
|
|
|
bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'" |
|
|
|
|
|
|
|
|
@ -68,7 +68,7 @@ set-option -g status-interval 5 |
|
|
|
|
set-option -g status-left-length 0 |
|
|
|
|
set-option -g status-right-length 80 |
|
|
|
|
set-option -g status-left '' |
|
|
|
|
set-option -g status-right '#[fg=blue,bold]#H [#[fg=black]#(echo ${SSH_CONNECTION%%%% *})#[fg=blue,bold]]#[fg=green,bold]|#[fg=black,bold]#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g ) #[fg=green,bold]| #[fg=blue,bold]%d.%m.%y %H:%M' |
|
|
|
|
set-option -g status-right '#[fg=blue,bold]#H [#[fg=black]#(echo ${SSH_CONNECTION%%%% *})#[fg=blue,bold]] #[fg=green,bold]|#[fg=black,bold]#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g ) #[fg=green,bold]| #[fg=blue,bold]%d.%m.%y %H:%M' |
|
|
|
|
set-window-option -g window-status-current-fg black |
|
|
|
|
set-window-option -g window-status-current-bg green |
|
|
|
|
|
|
|
|
|