-
Notifications
You must be signed in to change notification settings - Fork 3
/
tmux.conf
60 lines (49 loc) · 1.63 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
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# unbind-key -b
# set -g prefix C-b
# bind C-b send-prefix
# Turn off pane swap
unbind-key C-o
# set -g mouse on
set -g history-limit 30000
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Use Vim style keys
set-window-option -g mode-keys vi
# Set some resize functions (defaults don't work in OSX)
bind e resize-pane -D 5
bind u resize-pane -U 5
bind l resize-pane -L 5
bind r resize-pane -R 5
# Active pane
# set-option -g pane-active-border-fg colour200
# set-option -g pane-border-fg black
# Status bar customization
# set -g status-utf8 on
set -g status-bg colour200
set -g status-fg white
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-left "#[bg=#ffffff]#[fg=Black]#(whoami) :: ##[fg=Black]#(curl ipecho.net/plain;echo)"
set -g status-justify left
set -g status-interval 1
set -g status-right "#[fg=black]%a %d #(echo $(TZ=':US/Eastern' date '+%%Z %%-I:%%M')) #(echo $(TZ=':Europe/London' date '+%%Z %%-I:%%M'))"
set -g status-right-length 60
# setw -g window-status-current-fg colour232
# setw -g window-status-current-bg colour119
# Clock
set-window-option -g clock-mode-colour cyan
set-window-option -g clock-mode-style 12
# # Use vim keybindings in copy mode
# setw -g mode-keys vi
#
# # Setup 'v' to begin selection as in Vim
# bind-key -t vi-copy v begin-selection
# bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
#
# # Update default binding of `Enter` to also use copy-pipe
# unbind -t vi-copy Enter
# bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"