-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmuxconfbsdnowtv.txt
143 lines (118 loc) · 2.52 KB
/
tmuxconfbsdnowtv.txt
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
### Unbind existing tmux key bindings (except 0-9).
set -s escape-time 0
set -g status-left-length 20
setw -g aggressive-resize on
# There is a bug in tmux, it's supposed
# to be spelled "color" but you need
# an extra u for some reason here.
setw -g mode-bg colour153
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
# Change the copy mode keybinding.
#unbind [
#bind Escape copy-mode
# Bind appropriate commands similar to screen.
# lockscreen ^X x
unbind ^X
bind ^X lock-server
unbind x
bind x lock-server
# screen ^C c
unbind ^C
bind ^C new-window
#bind c
bind c new-window
# detach ^D d
unbind ^D
bind ^D detach
# displays *
unbind *
bind * list-clients
# next ^@ ^N sp n
unbind ^@
bind ^@ next-window
unbind ^N
bind ^N next-window
unbind " "
bind " " next-window
unbind n
bind n next-window
# title A
unbind A
bind A command-prompt "rename-window %%"
# other ^A
unbind ^A
bind ^A last-window
# prev ^H ^P p ^?
unbind ^H
bind ^H previous-window
unbind ^P
bind ^P previous-window
unbind p
bind p previous-window
unbind BSpace
bind BSpace previous-window
# windows ^W w
unbind ^W
bind ^W list-windows
unbind w
bind w list-windows
# quit \
unbind \
bind \ confirm-before "kill-server"
# kill K k
unbind K
bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"
# redisplay ^L l
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client
# More straight forward key bindings for splitting
unbind %
bind | split-window -h
bind v split-window -h
unbind '"'
bind - split-window -v
bind h split-window -v
# History
set -g history-limit 1000
# Pane
#unbind o
#bind C-s down-pane
# Terminal emulator window title
set -g set-titles off
#set -g set-titles-string '#S:#I.#P #W'
# Status Bar
set -g status-bg black
set -g status-fg white
set -g status-interval 1
# There is a bug in tmux, it's supposed
# to be spelled "color" but you need
# an extra u for some reason here.
set -g status-left '#[fg=colour153][#[fg=white]#H#[fg=colour153]]'
set -g status-right '#[default]#[fg=colour153][#[fg=white] %Y-%m-%d %H:%M #[fg=colour153]]#[default]'
# Notifying if other windows has activities
setw -g monitor-activity off
set -g visual-activity off
# Highlighting the active window in status bar
#setw -g window-status-current-bg white
setw -g window-status-current-fg colour153
# Clock
setw -g clock-mode-colour red
setw -g clock-mode-style 24
# :kB: focus up
#unbind Tab
#bind Tab down-pane
#unbind BTab
#bind BTab up-pane
# " windowlist -b
unbind '"'
bind '"' choose-window
# spawn windows
#neww -n rt
#neww -n irc