This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
94 lines (72 loc) · 2.58 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# use C-a, since it's on the home row and easier to hit than C-b
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# Easy config reload
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
# mouse behavior
# setw -g mode-mouse on
# set -g mouse-select-pane on
# set -g mouse-resize-pane on
set-option -g default-terminal screen-256color
set-option -g default-command '/bin/zsh'
bind-key space next-window
bind-key bspace previous-window
bind-key enter next-layout
# use vim-like keys for splits and windows
bind-key v split-window -h
bind-key s split-window -v
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Status Bar
# set-option -g status-interval 1
# set-option -g status-left 'be'
# set-option -g status-fg default
# Status Bar solarized-dark (default)
# set-option -g status-bg black
# Status bar
set -g status on
set -g status-interval 5
set -g status-justify left #centre # Careful! It is spelled centre not center.
set -g status-style fg=white,bg=#444444
# Highlight the current window.
setw -g window-status-current-style fg=white
setw -g window-status-current-style bg=#FD5B03
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
# setw -g window-status-current-style attr=bright
#setw -g window-status-style 'fg=colour9 bg=colour18'
setw -g window-status-format ' #I#[fg=silver]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# Status Bar Left side
set -g status-left-length 50
set -g status-left-style default
set -g status-left ""
# Status Bar Right side
set -g status-right-length 40
set -g status-right-style default
set -g status-right '#(date +%%H:%%M)'
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# Allow the arrow key to be used immediately after changing windows
set-option -g repeat-time 0
# Set to use ZSH
set-option -g default-shell /bin/zsh
# Set mouse scroll
set -g mouse on
# List of plugins
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run -b '~/.tmux/plugins/tpm/tpm'
set-option -sg escape-time 10
set-option -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',xterm-256color*:RGB'
set-option -ga terminal-overrides ",xterm-256color*:Tc"