forked from asishallab/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
71 lines (54 loc) · 1.57 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
# Use ZSH
set-option -g default-shell /usr/bin/zsh
# Start numbering at 1
set -g base-index 1
setw -g pane-base-index 1
# Allows for faster key repetition
set -s escape-time 0
setw -g mode-keys vi
set default-terminal "screen-256color"
set -g history-limit 999999999
# Prefix
set-option -g prefix C-Space
# set prefix C-y
unbind-key C-b
# bind-key C-y send-prefix
# Copy Paste
unbind [
bind y copy-mode
unbind p
bind p paste-buffer
# bind-key -t vi-copy 'v' begin-selection
# bind-key -t vi-copy 'y' copy-selection
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
###########################
## Status Bar
############################
# enable UTF-8 support in status bar
#set -g status-utf8 on
# set refresh interval for status bar
set -g status-interval 30
# center the status bar
set -g status-justify left
# show session, window, pane in left status bar
set -g status-left-length 40
set -g status-left '#[fg=green]#S#[fg=blue] #I:#P#[default]'
# show hostname, date, time, and battery in right status bar
set-option -g status-right '#[fg=green]#H#[default] %m/%d/%y'
#[fg=red]#(battery discharging)#[default]#(battery charging)'
###########################
# Colors
###########################
# color status bar
set -g status-bg colour235
set -g status-fg white
# highlight current window
set-window-option -g window-status-current-fg black
set-window-option -g window-status-current-bg green
# set color of active pane
set -g pane-border-fg colour235
set -g pane-border-bg black
set -g pane-active-border-fg green
set -g pane-active-border-bg black