-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
74 lines (59 loc) · 2.16 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
# tmux configure.
set -g default-terminal "xterm-256color" # Use 256 colors
set -g display-time 5000
set -g history-limit 1000 # Scrollback buffer n lines
setw -g mode-keys vi
# Set the prefix key and some key bindings to match GNU Screen
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
bind-key C-a last-window
# Key bindings for horizontal and vertical panes
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Shift-movement keys will resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# Window title string (uses statusbar variables)
set -g set-titles-string '#T'
# set window split
bind-key v split-window -h
bind-key b split-window
# Bind to reload config
bind r source-file ~/.tmux.conf
# Bind to create a specify layout in current window
# bind T source-file ~/.dotfiles/tanky
# Pane settings
#set -g status-left-length 90
#set -g status-right-length 90
#set -g status-left '[#(whoami)]'
#set -g status-right '#[fg=black][#(date +" %m-%d %H:%M ")]'
#set -g status-justify "centre"
#set -g window-status-format '#I #W'
#set -g window-status-current-format ' #I #W '
# https://github.com/seebi/tmux-colors-solarized
#### COLOUR (Solarized 256)
#set-option -g status-bg colour235 #base02
#set-option -g status-fg colour136 #yellow
# pane number display
#set-option -g display-panes-active-colour colour33 #blue
#set-option -g display-panes-colour colour36 #orange
# clock
#set-window-option -g clock-mode-colour green #green
#set -g status-position bottom
#set -g status-justify left
#set -g status-style 'fg=colour136 dim'
#set -g status-interval 1
#set -g status-justify centre # center align window list
#set -g status-left-length 20
#set -g status-right-length 140
#set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
#set -g status-right '#[fg=green,bg=default,bright]#(tmux-mem-cpu-load 1) #[fg=red,dim,bg=default]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'