Skip to content

Instantly share code, notes, and snippets.

@leandrogm
Created July 30, 2020 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leandrogm/e195820644a7e7e0868ab037adca5550 to your computer and use it in GitHub Desktop.
Save leandrogm/e195820644a7e7e0868ab037adca5550 to your computer and use it in GitHub Desktop.
~/.tmux.conf
#set-option -g @plugin "tmux-plugins/tmux-resurrect"
set-option -g assume-paste-time 1
set-option -g base-index 0
set-option -g bell-action any
#set-option -g bell-on-alert off
set-option -g default-command ""
set-option -g default-shell "/usr/bin/zsh"
set-option -g destroy-unattached off
set-option -g detach-on-destroy on
set-option -g display-panes-active-colour red
set-option -g display-panes-colour blue
set-option -g display-panes-time 1000
set-option -g display-time 750
set-option -g history-limit 2000
set-option -g lock-after-time 0
set-option -g lock-command "lock -np"
set-option -g message-command-style fg=yellow,bg=black
set-option -g message-style fg=black,bg=yellow
set-option -g mouse on
#set-option -g mouse-utf8 on
set-option -g prefix C-b
# set-option -g prefix2 <NONE>
set-option -g renumber-windows off
set-option -g repeat-time 500
#set-option -g set-remain-on-exit off
set-option -g set-titles off
set-option -g set-titles-string "#S:#I:#W - "#T" #{session_alerts}"
set-option -g status on
set-option -g status-interval 15
set-option -g status-justify left
set-option -g status-keys emacs
set-option -g status-left "[#S] "
set-option -g status-left-length 10
set-option -g status-left-style default
set-option -g status-position bottom
set-option -g status-right " "#{=21:pane_title}" %H:%M %d-%b-%y"
set-option -g status-right-length 40
set-option -g status-right-style default
set-option -g status-style fg=black,bg=green
#set-option -g status-utf8 on
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g word-separators " -_@"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#run '~/.tmux/plugins/tpm/tpm'
#run-shell ~/clone/path/resurrect.tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment