update tmux conf with install plugin install steps

This commit is contained in:
ryan manseau 2023-12-06 17:42:13 -08:00
parent 1f3194e119
commit a8b3e88d59

View File

@ -60,8 +60,12 @@ setw -g window-status-bell-style fg="colour9"
setw -g window-status-activity-style fg=yellow setw -g window-status-activity-style fg=yellow
# List of plugins # List of plugins
# install with:
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# prefix I
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @resurrect-capture-pane-contents 'on'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'
@ -69,14 +73,13 @@ run '~/.tmux/plugins/tpm/tpm'
# CHEAT SHEET: # CHEAT SHEET:
# #
# update working dir of a session to current dir # update working dir of a session to current dir
# attach-session -t . -c '#{pane_current_path}' # prefix .
# #
# swap two panes # swap two panes
# on one prefix m # on one prefix m
# on the other :swap-pane # on the other :swap-pane
# #
# REQUIRES TPM # REQUIRES TPM
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# #
# save pane layout prefix C-s # save pane layout prefix C-s
# restore pane layout prefix C-r # restore pane layout prefix C-r