-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
74 lines (52 loc) · 1.49 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Color
set -g default-terminal "rxvt-unicode-256color"
# Default shell path
set -g default-shell /bin/zsh
# Set window split
bind-key - split-window -v
bind-key | split-window -h
# History
set -g history-limit 25000
# Allows for faster key repetition
set -s escape-time 0
# Clock
set-window-option -g clock-mode-colour colour118
set-window-option -g clock-mode-style 12 #12 hour clock
set -g status-keys vi
# Remap the prefix
set-option -g prefix C-a
bind-key C-a send-prefix
# Start numbering at 1
set -g base-index 1
# Constrain window size to the maximum size of any client connected to the window
setw -g aggressive-resize on
# Activity monitoring
set-window-option -g monitor-activity on
set -g visual-activity off
set -g visual-bell off
# hjkl pane travel
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# New window
bind-key t new-window
# Auto window rename
set-window-option -g automatic-rename
# Auto window renumber
set-option -g renumber-windows on
# Mouse options
set -g mouse on
# Window killing
unbind w
bind-key w confirm-before -p "kill window #W? (y/n)" kill-window
# Pane killing
bind-key x confirm-before -p "kill pane #W? (y/n)" kill-pane
setw -g mode-keys vi
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @continuum-boot-options 'iterm'
run '~/.tmux/plugins/tpm/tpm'