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