-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.tmux.conf
126 lines (86 loc) · 2.76 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# ==========================================================================
# general
# ==========================================================================
# set prefix to control-slash
set -g prefix C-k
# remove old prefix
unbind C-b
# vi-style controls for copy mode
setw -g mode-keys vi
# remove escape sequence delay
set -s escape-time 0
# use vlock to lock tmux sessions
set -g lock-command vlock
# use t to lock the tmux session
bind t lock-client
# ==========================================================================
# status line
# ==========================================================================
# status line background black
set -g status-bg black
# status line foreground blue
set -g status-fg blue
# current window cyan
#setw -g window-status-current-fg cyan
# update status-right every 5 seconds
set -g status-interval 5
# status-right shows date/time in green
set -g status-right "#[fg=green]%Y-%m-%d-%a-%H%M"
# limit status-right to 21 chars
set -g status-right-length 21
# status line default off
set -g status off
# turn status line on
bind b set status on
# turn status line off
bind B set status off
# ==========================================================================
# pane
# ==========================================================================
# split window top/bottom
bind s split-window -v
# split window left/right
bind v split-window -h
# kill current pane
bind x kill-pane
# select pane left of current
bind h select-pane -L
# select pane below current
bind j select-pane -D
# select pane above current
bind k select-pane -U
# select pane right of current
bind l select-pane -R
# resize pane split left
bind C-h resize-pane -L 10
# resize pane split down
bind C-j resize-pane -D 10
# resize pane split up
bind C-k resize-pane -U 10
# resize pane split right
bind C-l resize-pane -R 10
# first two panes
bind enter swap-pane -s 0 -t 1
# switch to last active window
bind tab last-window
# ==========================================================================
# border colors
# ==========================================================================
# active pane foreground is cyan
#set -g pane-active-border-fg cyan
# active pane background is black
#set -g pane-active-border-bg black
# active pane border-foreground is blue
#set -g pane-border-fg blue
# active pane border-background is black
#set -g pane-border-bg black
# ==========================================================================
# window notifications
# ==========================================================================
# dont monitor activity
setw -g monitor-activity off
# dont give notification of activity
set -g visual-activity off
bind C-n next-window
bind C-p previous-window
set -g default-terminal "screen-256color"