summaryrefslogtreecommitdiffstats
path: root/.tmux.conf
blob: 35eb29a51c2d8e1b4b8084e790692f8b5709a2a4 (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
# vim: ft=tmux
# original from bl1nk
# Styles
setw -g mode-attr bright
setw -g mode-bg default
setw -g mode-fg yellow

setw -g window-status-attr dim
setw -g window-status-bg default
setw -g window-status-fg default

setw -g window-status-current-attr dim
setw -g window-status-current-bg default
setw -g window-status-current-fg yellow

set -g message-attr bright
set -g message-bg default
set -g message-fg red

set -g status-attr bright
set -g status-bg default
set -g status-fg default

set -g pane-active-border-fg default
set -g pane-active-border-bg black

# Options
set -g bell-action none
set -g history-limit 50000
set -g status on
set -g status-keys vi
set -g status-utf8 on
set -g set-titles on

set -g status-left " -- #S -- "
set -g status-left-length 30
set -g status-right ""

setw -g utf8 on
setw -g automatic-rename on
setw -g clock-mode-style 24
setw -g mode-keys vi

set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix

#bind-key C-l command-prompt "link-window -s '%%'"
bind-key W command-prompt "swap-window -t '%%'"
bind-key R command-prompt "rename-session '%%'"

bind j down-pane
bind k up-pane

# Keys to switch session.
#bind q switchc -tmain
#bind w switchc -tmusic

# Other key bindings.
bind i choose-window
#bind m split-window "exec ncmpcpp"

#256
set -g default-terminal "screen-256color"

# Default Sessions
#new -d -s maini

set -g set-titles-string "tmux:#I [ #W ]"
set -g base-index 1
set -g bell-action any

bind-key b set-option status
bind r source-file ~/.tmux.conf