-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
59 lines (48 loc) · 1.41 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
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind \ split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Don't auto rename windows
set-option -g allow-rename off
# Turn on mouse mode
set -g mouse on
# Set Status bar
# status line
#set -g status-utf8 on
set -g status-justify left
set -g status-bg default
set -g status-fg default
set -g status-interval 2
# messaging
set -g message-fg black
set -g message-bg yellow
set -g message-command-fg blue
set -g message-command-bg black
set -g automatic-rename on
#window mode
setw -g mode-bg colour6
setw -g mode-fg colour0
# colors
setw -g window-status-format "#[bg=background]#[fg=colour8] #[bg=background]#[fg=colour8]#W "
setw -g window-status-current-format "#[bg=background]#[fg=colour3] #[bg=background]#[fg=foreground]#W "
setw -g window-status-current-attr dim
set -g status-position bottom
set -g status-justify left
set -g status-right ' '
set -g status-left ''
set -g pane-border-style fg=colour0
set -g pane-active-border-style fg=colour8
set -sg escape-time 0
set -g default-terminal "screen-256color"