Skip to content

Instantly share code, notes, and snippets.

@y0c
Created October 8, 2018 04:59
Show Gist options
  • Select an option

  • Save y0c/81e101e28af565b698cd758a232cd0dc to your computer and use it in GitHub Desktop.

Select an option

Save y0c/81e101e28af565b698cd758a232cd0dc to your computer and use it in GitHub Desktop.
Custom Tmux Configuration
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# for vim
set -g @resurrect-strategy-vim 'Session'
set -g @continuum-restore 'on'
# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b
# 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