blob: 7242b4dca709e003221da08ac26f0353946398cf (
plain) (
blame)
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
53
54
55
56
57
58
59
60
61
62
|
# Tmux configuration geared for ES usage.
## Server options ##
set -gs backspace C-?
set -gs default-terminal tmux-256color
set -gs editor es
set -gs escape-time 0
# SEE: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
# TODO: IMPLEMENT THIS http://www.leonerd.org.uk/hacks/fixterms/
set -gs extended-keys on
set -gs focus-events on
set -gs set-clipboard on
## Session options ##
set -g activity-action other
set -g base-index 1
set -g bell-action any
set -g display-panes-active-colour green
set -g display-panes-colour blue
set -g display-time 0
set -g mouse on
set -g prefix C-c
set -g renumber-windows on
set -g set-titles on
set -g set-titles-string "#W #{session_alerts}"
set -g silence-action other
set -g status-justify absolute-centre
set -g status-keys emacs
set -g status-left " tmux[#S] "
set -g status-position top
set -g status-right " #H "
set -g status-style reverse
set -g visual-activity on
set -g visual-bell on
set -g visual-silence on
## Window options ##
set -gw aggressive-resize on
set -gw mode-keys emacs
set -gw monitor-activity off
set -gw monitor-bell on
set -gw monitor-silence 0
set -gw pane-base-index 1
set -gw pane-border-indicators arrows
set -gw pane-border-lines single
set -gw popup-border-lines rounded
## Pane options ##
set -gp allow-rename on
set -gp alternate-screen on
set -gp cursor-style blinking-block
set -gp remain-on-exit failed
set -gp scroll-on-clear on
## Key binds ##
bind C-c send-prefix
# TODO: keybinds to monitor activity, silence
# A hack to make simple C-x C-c work instead of C-x C-c C-c
bind -T root C-x send C-x \; switch-client -T cx_table \; set prefix None
bind -T cx_table Any send \; switch-client -T root \; set prefix C-c
|