-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
72 lines (58 loc) · 2.05 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
# List of plugins
# tmux plugin manager
set -g @plugin 'tmux-plugins/tpm'
# configs
set -g @plugin 'tmux-plugins/tmux-sensible'
# saving environment
set -g @plugin 'tmux-plugins/tmux-resurrect'
# continuous environment saving
set -g @plugin 'tmux-plugins/tmux-continuum'
# keyboard bindings
set -g @plugin 'tmux-plugins/tmux-pain-control'
# vim integration
set -g @plugin 'christoomey/vim-tmux-navigator'
# status bas themes
set -g @plugin 'jimeh/tmux-themepack'
# Settings
# Save pane contents of panes
set -g @resurrect-capture-pane-contents 'on'
# Save shell history of panes (experimental!)
set -g @resurrect-save-shell-history 'off'
# auto enable tmux server on startup
set -g @continuum-boot 'on'
# auto restore sessions on tmux server startup
set -g @continuum-restore 'on'
# tmux environment save interval
set -g @continuum-save-interval '20'
# continuum status info
#set -g status-right 'tmux save interval: #{continuum_status}'
# tmux themepack
set -g @themepack 'powerline/block/cyan'
#set -g @themepack 'basic' (default)
#set -g @themepack 'powerline/block/blue'
#set -g @themepack 'powerline/default/gray'
#set -g @themepack 'powerline/double/magenta'
bind C-p previous-window
bind C-n next-window
# address vim mode switching delay (http://superuser.com/a/252717/65504)
# Allows for faster key repetition
set -s escape-time 0
# increase scrollback buffer size
set -g history-limit 50000
# tmux messages are displayed for 4 seconds
set -g display-time 4000
# refresh 'status-left' and 'status-right' more often
set -g status-interval 5
# upgrade $TERM
set -g default-terminal "screen-256color"
# emacs key bindings in tmux command prompt (prefix + :) are better than
# vi keys, even for vim users
#set -g status-keys emacs
# focus events enabled for terminals that support them
set -g focus-events on
# super useful when using "grouped sessions" and multi-monitor setup
#setw -g aggressive-resize on
# set the default TERM
#set -g default-terminal screen
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'