Skip to content

Instantly share code, notes, and snippets.

@ar-to
Last active October 11, 2017 23:33
Show Gist options
  • Save ar-to/579922933c68bbc7e026329bd78f005d to your computer and use it in GitHub Desktop.
Save ar-to/579922933c68bbc7e026329bd78f005d to your computer and use it in GitHub Desktop.
Sample tmux config file with package manager and instructions
#Instructions
# Install Tmux package manager: https://github.com/tmux-plugins/tpm
# Add plugins and their options
# Run: $ tmux
# prefix (Ctrl+b) I - to fetch plugin and source .tmux.conf or tmux source ~/tmux.conf
List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
set -g @plugin 'jimeh/tmux-themepack'
#save & restore sessions after system reboot/restart
set -g @plugin 'tmux-plugins/tmux-resurrect'
#automatically save & restore sessions, panes, etc; dep:resurrect
set -g @plugin 'tmux-plugins/tmux-continuum'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# Set theme
set -g @themepack 'powerline/default/cyan'
# tmux auto restart & restore
set -g @continuum-boot 'on' in tmux.conf
set -g @continuum-restore 'on'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment