Skip to content

Commit 1217da7

Browse files
committed
tmux: add plugin manager and restore plugin
1 parent 5aced8c commit 1217da7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.tmux.conf

+23
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,26 @@ set-window-option -g automatic-rename off
3333
# Notes and workarounds for accessing the Mac OS X pasteboard in tmux sessions
3434
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
3535
# set-option -g default-command "tmux rename-window bash; reattach-to-user-namespace -l bash"
36+
37+
#===================================
38+
# tpm - Tmux Plugin Manager
39+
#===================================
40+
41+
# Plugins
42+
set -g @plugin 'tmux-plugins/tpm'
43+
set -g @plugin 'tmux-plugins/tmux-resurrect'
44+
set -g @plugin 'tmux-plugins/tmux-continuum'
45+
46+
#===================================
47+
# Auto start tmux and restore
48+
#===================================
49+
50+
# auto start terminal
51+
# set -g @continuum-boot 'on'
52+
# set -g @continuum-boot-options 'iterm'
53+
# auto restore tmux
54+
set -g @continuum-restore 'on'
55+
56+
# Initialize TMUX plugin manager
57+
# (keep this line at the very bottom of tmux.conf)
58+
run '~/.tmux/plugins/tpm/tpm'

0 commit comments

Comments
 (0)