-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
44 lines (33 loc) · 977 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
37
38
39
40
41
42
43
44
# Use Ctrl+A as the prefix key
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Use Emacs shortcuts
setw -g mode-keys emacs
# Turn on mouse support
setw -g mouse on
# setup | and - for window splitting
bind | split-window -h
bind - split-window -v
unbind %
# Set window numbering from 1
set -g base-index 1
setw -g pane-base-index 1
# Make `Ctrl+A R` reload the config file
unbind r
bind r source-file ~/.tmux.conf
# Automatically set window title
set-option -g status-interval 1
set-window-option -g automatic-rename on
# Scroll History
set -g history-limit 30000
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50
# statusbar
set -g status-justify left
set -g status-style 'fg=blue bold'
set -g status-right '%H:%M %d-%b-%y'
# Terminal color setting
set -g default-terminal "xterm-256color"
set -ag terminal-overrides ",$TERM:Tc"
set -as terminal-features ',alacritty:RGB,xterm-256color:RGB,gnome*:RGB'