-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtmux.conf
43 lines (32 loc) · 900 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
# Use zsh
set-option -g default-shell /bin/zsh
# Use c-a as prefix
set -g prefix C-a
unbind C-b
bind C-a send-prefix
bind-key a send-key C-a
# Start numbering at 1
set -g base-index 1
setw -g pane-base-index 1
bind e set -g synchronize-panes
setw -g mode-keys vi
bind = select-layout even-vertical
# Sync title with iterm2 session
set-option -g set-titles on
# shortcut for closing windows and panes
unbind c
bind w new-window
# Copy and pasting
setw -g mode-keys vi
# statusbar
set -g status-interval 15
set -g status-left-length 40
set -g status-justify centre
set -g status-left "#S"
set -g status-right "#{battery_icon} #{battery_percentage}"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin "arcticicestudio/nord-tmux"
run '~/.tmux/plugins/tpm/tpm'