2019-06-17 11:18:28 +02:00
|
|
|
|
unbind C-b
|
|
|
|
|
set-option -g prefix C-o
|
|
|
|
|
bind-key C-o send-prefix
|
|
|
|
|
|
2019-10-25 15:29:58 +02:00
|
|
|
|
set -g default-terminal "xterm-24bit"
|
2019-10-25 17:01:58 +02:00
|
|
|
|
set -ag terminal-overrides ",xterm-24bit:Tc"
|
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
|
|
|
|
|
|
2019-10-25 15:29:58 +02:00
|
|
|
|
bind-key -n C-Tab next-window
|
|
|
|
|
bind-key -n C-S-Tab previous-window
|
2019-10-17 12:49:00 +02:00
|
|
|
|
bind-key C-l last-window
|
2019-06-17 11:18:28 +02:00
|
|
|
|
|
2015-09-02 10:03:03 +02:00
|
|
|
|
bind-key -n C-S-Left swap-window -t -1
|
|
|
|
|
bind-key -n C-S-Right swap-window -t +1
|
|
|
|
|
|
2019-10-18 12:17:59 +02:00
|
|
|
|
bind-key S-Left swap-window -t -1
|
|
|
|
|
bind-key S-Right swap-window -t +1
|
|
|
|
|
|
2015-09-02 10:03:03 +02:00
|
|
|
|
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
|
|
|
|
|
|
2020-02-11 12:51:09 +01:00
|
|
|
|
bind-key C attach -c "#{pane_current_path}"
|
|
|
|
|
|
2016-07-19 16:36:47 +02:00
|
|
|
|
set -gw mouse on
|
2018-09-19 13:11:54 +02:00
|
|
|
|
set -g history-limit 15000
|
2015-09-02 10:03:03 +02:00
|
|
|
|
|
|
|
|
|
set -g status-justify centre
|
|
|
|
|
set -g status-left ""
|
|
|
|
|
|
2018-08-29 22:14:11 +02:00
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
# 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]❳"
|
2019-06-17 11:18:28 +02:00
|
|
|
|
set-option -gw xterm-keys on
|
2018-11-22 22:24:58 +01:00
|
|
|
|
|
2019-07-16 13:55:03 +02:00
|
|
|
|
set-option -g set-titles on
|
|
|
|
|
|
2018-11-22 22:24:58 +01:00
|
|
|
|
set-option -g status-bg colour235
|
|
|
|
|
set-option -g status-fg colour136
|
|
|
|
|
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
|
2019-10-02 17:14:29 +02:00
|
|
|
|
set -g escape-time 0
|
2017-02-20 13:23:26 +01:00
|
|
|
|
|
|
|
|
|
run-shell "~/bin/tmux-statusline"
|