-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
51 lines (39 loc) · 943 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
45
46
47
48
49
50
51
# Term
set -g default-terminal "tmux-256color"
# Enable 24 bit true colors
set -ga terminal-overrides ",xterm-256color:Tc"
# Ctrl+A as prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# 1 is closer to A
set -g base-index 1
set -g pane-base-index 1
# Re-number closed windows
set -g renumber-windows on
# Up scrollback history limit
set -g history-limit 10000
# Highlight windows with activity in status bar
set -g monitor-activity on
set -g visual-activity off
# Adapt title bar to host when SSHing
set -g set-titles on
set -g set-titles-string "#T"
# Vi-style
set -g status-keys vi
set -g mode-keys vi
set -sg escape-time 1
set -g mouse on
# Binds
bind h split-window -h
bind v split-window -v
unbind '"'
unbind %
# Binds (alt)
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
# Binds (shift)
bind -n S-Left previous-window
bind -n S-Right next-window