diff --git a/setup.sh b/setup.sh index 99a148c..8f04d03 100755 --- a/setup.sh +++ b/setup.sh @@ -7,7 +7,7 @@ ########## Variables dir=~/dotfiles # dotfiles directory olddir=~/dotfiles_old # old dotfiles backup directory -files="bashrc config emacs emacs.d gitconfig gitignore_global psqlrc zshrc oh-my-zsh" # list of files/folders to symlink in homedir +files="bashrc config emacs emacs.d gitconfig gitignore_global psqlrc zshrc oh-my-zsh tmux.conf" # list of files/folders to symlink in homedir ########## # create dotfiles_old in homedir diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..a0c68a3 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,23 @@ +# color +set -g default-terminal "xterm-256color" +set-option -g default-shell /usr/local/bin/zsh +set-option -g status-keys emacs +set-option -g status on +set-option -g status-interval 2 +set-option -g status-left-length 60 +set-option -g status-right-length 90 +set-option -g renumber-windows on + +# List of plugins +# Supports `github_username/repo` or full git repo URLs +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' + +# Plugin settings +set -g @continuum-restore 'on' +set -g status-right 'Continuum: #{continuum_status}' + +# Initializes TMUX plugin manager. +# Keep this line at the very bottom of tmux.conf. +run-shell '~/.tmux/plugins/tpm/tpm'