-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
44 lines (37 loc) · 1.13 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
# Sane options
set -g base-index 1
set -g default-terminal "screen-256color"
unbind C-b
set -g prefix C-a
set -g mode-keys emacs
bind a send-prefix
unbind %
bind / split-window -h
bind - split-window -v
bind r source-file /Users/ropeters/.tmux.conf
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left-length 24
set -g status-left '#[fg=green]#h:#S'
set -g status-right-length 64
set -g status-right '#[fg=yellow]#(uptime)'
# Highlight active window
setw -g window-status-current-bg red
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string "#H.#I.#W"
setw -g window-status-format '#I:#W#F'
setw -g window-status-current-format '#I:#W#F'
setw -g automatic-rename on
new -s default -d
# Simple way to add more sessions
#new -s work -d
#new -s play -d
# Or add more windows
#new-window -t hawkhost:1 -n 'Server1' 'ssh root@10.x.x.x'
#new-window -t hawkhost:2 -n 'Server2' 'ssh root@10.x.x.x'
#new-window -t hawkhost:3 -n 'Server3' 'ssh root@10.x.x.x'
#new-window -t hawkhost:4 -n 'Server4' 'ssh root@10.x.x.x'
#new-window -t hawkhost:5 -n 'Server5' 'ssh root@10.x.x.x'
#select-window -t hawkhost:1