forked from abdullaev/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
58 lines (47 loc) · 1.65 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
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
set -g mouse on
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# status-line
set -g default-terminal "rxvt-unicode-256color"
set -g status "on"
setw -g window-status-separator ""
set -g status-left ""
set -g status-right ""
# set -g status-left-length 20
# set -g status-left " #($HOME/scripts/updates.sh)"
# set -g status-right "#H"
set -g status-justify centre # center align window list
setw -g window-status-format " #W "
setw -g window-status-current-format " #[bold]#W "
# colours
set-option -g status-bg default
set-option -g status-fg "#ebdbb2"
set-option -g status-left-fg brightblack
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg brightblack
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg "#ebdbb2"
set-window-option -g window-status-current-bg default
# pane border
set -g pane-border-fg colour237
set -g pane-active-border-fg "#ebdbb2"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'