Skip to content

Instantly share code, notes, and snippets.

@vancouverwill
Last active May 30, 2018 22:19
Show Gist options
  • Save vancouverwill/5a961cf4096514723bd532b0d1c89b86 to your computer and use it in GitHub Desktop.
Save vancouverwill/5a961cf4096514723bd532b0d1c89b86 to your computer and use it in GitHub Desktop.
tmux.conf
# to download tmux pluging manager run `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`
# don't rename windows automatically
set-option -g allow-rename off
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# last saved environment is automatically restored when tmux is started.
set -g @continuum-restore 'on'
set -g @resurrect-dir ~/.tmux/resurrect
# enable mouse
# set-option -g -q mouse on
# use ctrl+a rather than ctrl+b
unbind C-b
set-option -g prefix C-a
bind C-a send-prefix
setw -g mode-keys vi
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment