-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
53 lines (46 loc) · 1.5 KB
/
.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
53
# Blatantly copied from https://github.com/eevee/rc/
# Switch me back to ^A, thanks
set-option -g prefix C-a
unbind-key C-b
bind-key a send-prefix
# I miss ^A^A and ^ASpace
bind-key C-a last-window
bind-key Space next-window
bind-key C-Space previous-window
# Vim compatibility
bind-key h selectp -L
bind-key j selectp -D
bind-key k selectp -U
bind-key l selectp -R
# Options
set-option -sg escape-time 50 # this makes vim fucking awful to use
set-option -g base-index 1
set-option -g default-terminal screen-256color
set-option -g lock-command vlock
set-window-option -g xterm-keys on # to make ctrl-arrow, etc. work
set-option -g set-titles on
set-option -g set-titles-string '[#S:#I #H] #W' # use screen title
# COLORS.
# Status bar has a dim gray background
set-option -g status-bg colour234
set-option -g status-fg colour0
# Left shows the session name, in blue
set-option -g status-left-bg default
set-option -g status-left-fg colour74
# Right is some CPU stats, so terminal green
set-option -g status-right-bg default
set-option -g status-right-fg colour71
# Windows are medium gray; current window is white
set-window-option -g window-status-fg colour244
set-window-option -g window-status-current-fg colour15
# Beeped windows are just orangey text
set-window-option -g window-status-bell-fg colour143
set-window-option -g window-status-bell-bg default
set-window-option -g window-status-bell-attr none
# Default sessions
# Main
# 1: irc (irssi)
# 2: bash (bash)
new -s main -n irc 'irssi'
neww -t 2
selectw -t 1