Skip to content

Instantly share code, notes, and snippets.

@elliotec
Created January 29, 2019 06:00
Show Gist options
  • Save elliotec/a450470b2a0c1e5f9c8911cdd141e632 to your computer and use it in GitHub Desktop.
Save elliotec/a450470b2a0c1e5f9c8911cdd141e632 to your computer and use it in GitHub Desktop.
# 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'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-open'
set -g default-terminal "screen-256color"
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'
# set -g default-shell $SHELL
set -g default-shell /bin/zsh
#set -g default-command "reattach-to-user-namespace -l ${SHELL}"
# reload tmux conf
bind r source-file ~/.tmux.conf
# tmuxline setting
if-shell "test -f ~/.tmux/tmuxlinesnapshot" "source ~/.tmux/tmuxlinesnapshot"
set -g mouse on
# reload config file
bind r source-file ~/.tmux.conf
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Don't override window name
set-option -g allow-rename off
set-window-option -g visual-activity off
# Initialize plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment