dotfiles/home/.tmux.conf

68 lines
1.8 KiB
Plaintext
Raw Normal View History

set -g default-terminal "screen-256color"
2015-09-02 10:03:03 +02:00
bind s split-window -v
bind v split-window -h
bind l list-sessions
bind enter choose-session
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind < resize-pane -L 1
bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
bind-key -n C-S-Up switch-client -p
bind-key -n C-S-Down switch-client -n
bind-key -n C-Left previous-window
bind-key -n C-Right next-window
bind-key y set-window-option synchronize-panes
set -gw mode-keys emacs
set -gw mouse on
set -g history-limit 15000
2015-09-02 10:03:03 +02:00
set -g status-justify centre
set -g status-left ""
set -g status-interval 5
set -g automatic-rename on
set -g automatic-rename-format '#{b:pane_current_path}'
2015-09-02 10:03:03 +02:00
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
set -g update-environment -r
2015-09-02 10:03:03 +02:00
# Blinky linky
set -gw monitor-activity on
set -g visual-activity on
# Colours!
2018-11-22 22:24:58 +01:00
set-window-option -g window-status-current-format "#[fg=red]#[fg=white]#I#F  #W#[fg=red]"
set-option -g status-bg colour235
set-option -g status-fg colour136
set-option -g status-attr default
set-window-option -g window-status-fg colour244
set-window-option -g window-status-bg default
set-window-option -g window-status-current-fg colour166
set-window-option -g window-status-current-bg default
set-option -g pane-border-fg colour235
set-option -g pane-active-border-fg colour240
set-option -g message-bg colour235
set-option -g message-fg colour166
set-option -g display-panes-active-colour colour33
set-option -g display-panes-colour colour166
set-window-option -g clock-mode-colour colour64
set-window-option -g window-status-bell-style fg=colour235,bg=colour160
run-shell "~/bin/tmux-statusline"