Files
chef/site-cookbooks/kosmos-base/files/default/tmux_users/basti.conf
T

45 lines
1.3 KiB
Plaintext

# basti's tmux overrides — appended after the system default config is sourced.
set -g prefix C-a
set -sg escape-time 1
set -g base-index 1
set -g history-limit 20000
set -g mouse off
set -g status-justify centre
set -g status-style dim
set -ag status-style fg=white
set -ag status-style bg=colour236
set -g window-status-current-style bright
set -ag window-status-current-style fg=white
set -ag window-status-current-style bg=colour238
set -g pane-border-style fg=colour238
set -g pane-active-border-style fg=colour244
setw -g pane-base-index 1
setw -g mode-keys vi
bind C-a send-prefix
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
unbind p
bind p paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
unbind Up
bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
unbind Down
bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp
bind P pipe-pane -o "cat >>~/#W.log" \; display "Toggled logging to ~/#W.log"