-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
36 lines (29 loc) · 862 Bytes
/
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
# Enable scrolling with a mouse
set -g mouse on
# Change the scrollback buffer size
set -g history-limit 10000
# Start numbering windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Do not rename windows automatically
set -g allow-rename off
# Remap the prefix from 'C-b' to 'C-z'
set -g prefix C-z
bind C-z send-prefix
unbind C-b
# Split panes using '-' and '\'
bind '-' split-window -h
bind '\' split-window -v
unbind '"'
unbind '%'
# Improve colours
set -g default-terminal 'xterm-kitty'
# Status bar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour8'
set -g status-left ' '
set -g status-right ' #(zsh ~/.zsh/.tmux_status_bar) %d/%m %I:%M%p '
setw -g window-status-format ' #I: #W '
setw -g window-status-current-format ' #I: #W '
setw -g window-status-current-style 'bg=colour33, bold'