caio.co/de/dotfiles


tmux: larger history buffer by Caio 2 years ago (log)

Blob tmux.conf

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
unbind C-b
set-option -g prefix C-a
bind-key a send-keys C-a
bind-key C-a last-window

unbind Up
unbind Down
unbind Left
unbind Right
unbind %

bind-key | split-window -h
bind-key - split-window -v
bind-key r source-file ~/.tmux.conf
bind-key h select-pane -L
bind-key l select-pane -R
bind-key j select-pane -D
bind-key k select-pane -U
bind-key [ copy-mode
bind-key ] paste-buffer
bind-key K kill-window

set-window-option -g xterm-keys on

set-option -g status-keys vi
set-option -g set-titles on
set-option -g set-titles-string "#W [#F] - #T"
set-option -g renumber-windows on

setw -g mode-keys vi
setw -g mouse off
setw -g monitor-activity on

set -g history-limit 50000
set -g base-index 1
set -s escape-time 0
set -g update-environment -r

# colors:
# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\n"; done

set -g status-style 'fg=white,bg=default'
set -g pane-border-style 'fg=black'
set -g pane-active-border-style 'fg=blue'
set -g message-style 'fg=black,bg=brightmagenta,bold'
set -g window-status-activity-style 'italics'
set -g window-status-bell-style 'bold'

set -g status-right '#[fg=darkgray,bg=default] #S'
set -g status-left ''
set -g window-status-format "#[fg=white,bg=default,dim] #I:#W"
set -g window-status-current-format "#[fg=white,bg=default,bold] >#W<"