-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtmux.conf
More file actions
102 lines (73 loc) · 2.35 KB
/
tmux.conf
File metadata and controls
102 lines (73 loc) · 2.35 KB
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
94
95
96
97
98
99
100
101
# Setting up the colors and copy/paste
set -g default-terminal "screen-256color"
# 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 %
# switch to last window with tab
bind Tab last-window
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# change number for windows and panes
set -g base-index 1
# history and mouse scrolling
set -g history-limit 100000
# renumber windows when a window is closed
set -g renumber-windows on
# set terminal title
set -g set-titles on
# redraw status line every 10 seconds
set -g status-interval 10
# slightly longer pane indicators and status messages display time
set -g display-panes-time 800
set -g display-time 1000
# activity
set -g monitor-activity off
set -g visual-activity off
# Reload tmux configuration
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
# derived from here https://github.com/jatap/tmux-base16-statusline/blob/master/src/main.theme
# Basic status bar colors
set -g status-style bg=colour237,fg=colour226,bold
# Default window status style
set -g window-status-style bg=colour238,dim
# Current window status style
set -g window-status-current-style fg=colour237,bg=colour226
# Last window status style
set -g window-status-last-style bg=colour239
# Left side of status bar
set -g status-left ""
# Right side of status bar
set -g status-right-style fg=colour238,bg=colour226
set -g status-right-length 40
# Window status format
set -g window-status-format " #I:#W#F "
set -g window-status-current-format " #I:#W#F "
# Window status alignment
#set -g status-justify centre
# Window with activity status
set -g window-status-activity-style blink
# Window with BEL
set -g window-status-bell-style bg=colour210,blink
# Window separator
set -g window-status-separator " "
# Pane border
set -g pane-border-style fg=brightblack,bg=default
set -g pane-active-border-style fg=brightblack,bg=default
# Pane number indicator
set -g display-panes-colour red
set -g display-panes-active-colour magenta
# Clock mode
set -g clock-mode-colour red
set -g clock-mode-style 24
# Message
set -g message-style fg=colour237,bg=colour9,bold
# Command message
set -g message-command-style fg=default,bg=default
# Mode
set -g mode-style fg=default,bg=default