Skip to content

Instantly share code, notes, and snippets.

@jakeoung
Last active November 4, 2017 13:00
Show Gist options
  • Select an option

  • Save jakeoung/d1b5452298c7e81694ad0f18ca6dd22f to your computer and use it in GitHub Desktop.

Select an option

Save jakeoung/d1b5452298c7e81694ad0f18ca6dd22f to your computer and use it in GitHub Desktop.
install tmux save
## STEP1: install tmux-plugin
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
echo "# 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'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'" >> ~/.tmux.conf
tmux source ~/.tmux.conf
## STEP2: https://github.com/tmux-plugins/tmux-resurrect
echo "set -g @plugin 'tmux-plugins/tmux-resurrect'" >> ~/.tmux.conf
echo "set -g @plugin 'tmux-plugins/tmux-continuum'" >> ~/.tmux.conf
# Hit prefix + I to fetch the plugin and source it. You should now be able to use the plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment