-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
44 lines (35 loc) · 1.11 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
# General
# C-b Prefix
# C-b | Horizontal split
# C-b - Vertical split
# TPM
# https://github.com/tmux-plugins/tpm
# C-b I Install plugins
# C-b U Update plugins
# C-b alt+U Uninstall unlisted plugins
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# save & restore sessions
set -g @plugin 'tmux-plugins/tmux-resurrect'
# automatic save & restore
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'off'
# theme
set -g @plugin 'jimeh/tmux-themepack'
set -g @themepack 'powerline/block/cyan'
set -g prefix C-b
# windows start at 1 instead of 0
set -g base-index 1
# more history
set -g history-limit 100000
set-option -g default-command zsh
# easy split
bind | split-window -h
bind - split-window -v
#set -g status-keys vi
setw -g mode-keys vi
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm'