summaryrefslogtreecommitdiff
path: root/dot-tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dot-tmux.conf')
-rw-r--r--dot-tmux.conf62
1 files changed, 62 insertions, 0 deletions
diff --git a/dot-tmux.conf b/dot-tmux.conf
new file mode 100644
index 0000000..7242b4d
--- /dev/null
+++ b/dot-tmux.conf
@@ -0,0 +1,62 @@
1# Tmux configuration geared for ES usage.
2
3## Server options ##
4set -gs backspace C-?
5set -gs default-terminal tmux-256color
6set -gs editor es
7set -gs escape-time 0
8# SEE: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
9# TODO: IMPLEMENT THIS http://www.leonerd.org.uk/hacks/fixterms/
10set -gs extended-keys on
11set -gs focus-events on
12set -gs set-clipboard on
13
14## Session options ##
15set -g activity-action other
16set -g base-index 1
17set -g bell-action any
18set -g display-panes-active-colour green
19set -g display-panes-colour blue
20set -g display-time 0
21set -g mouse on
22set -g prefix C-c
23set -g renumber-windows on
24set -g set-titles on
25set -g set-titles-string "#W #{session_alerts}"
26set -g silence-action other
27set -g status-justify absolute-centre
28set -g status-keys emacs
29set -g status-left " tmux[#S] "
30set -g status-position top
31set -g status-right " #H "
32set -g status-style reverse
33set -g visual-activity on
34set -g visual-bell on
35set -g visual-silence on
36
37## Window options ##
38set -gw aggressive-resize on
39set -gw mode-keys emacs
40set -gw monitor-activity off
41set -gw monitor-bell on
42set -gw monitor-silence 0
43set -gw pane-base-index 1
44set -gw pane-border-indicators arrows
45set -gw pane-border-lines single
46set -gw popup-border-lines rounded
47
48## Pane options ##
49set -gp allow-rename on
50set -gp alternate-screen on
51set -gp cursor-style blinking-block
52set -gp remain-on-exit failed
53set -gp scroll-on-clear on
54
55## Key binds ##
56bind C-c send-prefix
57# TODO: keybinds to monitor activity, silence
58
59# A hack to make simple C-x C-c work instead of C-x C-c C-c
60bind -T root C-x send C-x \; switch-client -T cx_table \; set prefix None
61bind -T cx_table Any send \; switch-client -T root \; set prefix C-c
62