2014-09-30 19:55:51 +02:00
|
|
|
set -g default-command "${SHELL}"
|
2021-01-27 15:18:41 +01:00
|
|
|
set -g default-terminal "xterm-256color"
|
2018-01-29 11:36:35 +01:00
|
|
|
|
|
|
|
|
set -g set-titles on
|
|
|
|
|
set -g set-titles-string '#S'
|
|
|
|
|
setw -g automatic-rename
|
2014-09-30 19:55:51 +02:00
|
|
|
|
2014-09-22 02:03:22 +02:00
|
|
|
set -g prefix C-a
|
|
|
|
|
unbind C-b
|
|
|
|
|
bind C-a send-prefix
|
|
|
|
|
|
2014-11-07 17:37:04 +01:00
|
|
|
unbind C-j
|
|
|
|
|
|
2014-09-30 19:55:51 +02:00
|
|
|
set -s escape-time 0
|
|
|
|
|
set-window-option -g aggressive-resize on
|
2014-09-22 02:03:22 +02:00
|
|
|
|
2015-11-01 01:37:32 +01:00
|
|
|
set -g mouse on
|
2014-09-22 02:03:22 +02:00
|
|
|
|
2014-09-30 19:55:51 +02:00
|
|
|
set -g mode-keys vi
|
|
|
|
|
|
|
|
|
|
set-option -g renumber-windows on
|
2014-09-22 02:03:22 +02:00
|
|
|
|
|
|
|
|
bind-key k confirm kill-window
|
|
|
|
|
bind-key K confirm kill-server
|
|
|
|
|
|
|
|
|
|
bind h select-pane -L
|
|
|
|
|
bind j select-pane -D
|
|
|
|
|
bind k select-pane -U
|
|
|
|
|
bind l select-pane -R
|
|
|
|
|
|
|
|
|
|
set -g bell-action any
|
|
|
|
|
|
2018-01-29 11:36:35 +01:00
|
|
|
set -g history-limit 50000
|
2014-09-22 02:03:22 +02:00
|
|
|
|
|
|
|
|
set -g base-index 1
|
2014-09-30 19:55:51 +02:00
|
|
|
set-window-option -g pane-base-index 1
|
2014-09-22 02:03:22 +02:00
|
|
|
|
|
|
|
|
set -g status-position bottom
|
|
|
|
|
set -g status-justify left
|
|
|
|
|
|
2022-06-30 21:29:51 +02:00
|
|
|
setw -g pane-border-lines double
|
|
|
|
|
setw -g pane-border-style "fg=#555555"
|
|
|
|
|
setw -g pane-active-border-style "fg=#e5b567"
|
|
|
|
|
setw -g pane-border-indicators colour
|
2014-09-22 02:03:22 +02:00
|
|
|
|
2022-06-30 21:29:42 +02:00
|
|
|
set-option -g status-style bg=default
|
2017-08-09 21:54:10 +02:00
|
|
|
|
|
|
|
|
set-window-option -g window-status-format ' #I: #W #F '
|
2014-09-22 02:03:22 +02:00
|
|
|
set-window-option -g window-status-current-format ' #I: #W #F '
|
2022-06-30 06:38:05 +02:00
|
|
|
set-window-option -g window-status-current-style "bg=#e5b567,fg=black"
|
2014-09-22 02:03:22 +02:00
|
|
|
|
|
|
|
|
set-window-option -g monitor-activity on
|
2022-06-30 06:38:05 +02:00
|
|
|
set-window-option -g visual-activity off
|
|
|
|
|
set-window-option -g window-status-activity-style "fg=red"
|
2014-09-22 02:03:22 +02:00
|
|
|
|
2014-09-30 19:55:51 +02:00
|
|
|
set-window-option -g automatic-rename on
|
|
|
|
|
set-window-option -g automatic-rename-format '#{pane_current_command}'
|
2014-09-22 02:03:22 +02:00
|
|
|
|
|
|
|
|
set-window-option -g window-status-separator ' '
|
|
|
|
|
|
2022-06-30 21:29:42 +02:00
|
|
|
set -g status-left " #[bg=#6c99bb,fg=#2e2e2e] #{session_name} #[bg=default] "
|
|
|
|
|
set -g status-right "#[bg=#CCCCCC,fg=#555555] #{host} #[bg=default] "
|
2014-11-07 17:37:04 +01:00
|
|
|
set -g status-left-length 100
|
2014-09-22 02:03:22 +02:00
|
|
|
|
2020-12-10 03:56:02 +01:00
|
|
|
set -g message-style "bg=#CCCCCC,fg=#555555"
|
|
|
|
|
|
2014-09-22 02:03:22 +02:00
|
|
|
# vertical = | in this case
|
|
|
|
|
unbind %
|
|
|
|
|
unbind '"'
|
2015-09-25 16:25:48 +02:00
|
|
|
bind-key s split-window -v -c "#{pane_current_path}"
|
|
|
|
|
bind-key v split-window -h -c "#{pane_current_path}"
|
|
|
|
|
|
2015-09-25 20:22:53 +02:00
|
|
|
bind-key -n C-h previous-window
|
|
|
|
|
bind-key -n C-l next-window
|
|
|
|
|
|
2015-09-25 16:25:48 +02:00
|
|
|
bind-key c new-window -c "#{pane_current_path}"
|
2014-09-30 19:55:51 +02:00
|
|
|
|
|
|
|
|
bind-key -n S-down new-window
|
|
|
|
|
bind-key -n S-left prev
|
|
|
|
|
bind-key -n S-right next
|
|
|
|
|
|
|
|
|
|
bind-key -n C-F1 command-prompt "split-window -h 'exec man %%'"
|
|
|
|
|
bind-key -n C-F2 split-window -h "exec htop"
|
|
|
|
|
bind-key -n C-F3 set-option status
|
|
|
|
|
|
|
|
|
|
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced"
|
2017-09-01 09:53:09 +02:00
|
|
|
|
|
|
|
|
bind P paste-buffer
|