Skip to content

Instantly share code, notes, and snippets.

@absorber
Created March 2, 2015 04:11
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 absorber/b4cbfcb560ea221633c0 to your computer and use it in GitHub Desktop.
Save absorber/b4cbfcb560ea221633c0 to your computer and use it in GitHub Desktop.
pane logstats 0 :stats 1 :* 0 :/home/ab 0 htop :htop
pane logstats 0 :stats 1 :* 1 :/home/ab 0 watch :watch -n1 lsusb
pane logstats 0 :stats 1 :* 2 :/home/ab 0 sudo :sudo iotop -o
pane logstats 0 :stats 1 :* 3 :/home/ab 1 mtr :mtr www.google.com 5 -s 1 -wt -i 2
pane logstats 0 :stats 1 :* 4 :/home/ab 0 watch :watch -n1 -d free -m; df -h
pane logstats 0 :stats 1 :* 5 :/home/ab 0 watch :watch -n2 -d route -n
pane logstats 1 :tail 0 :- 0 :/home/ab 0 tail :tail -F /var/log/syslog
pane logstats 1 :tail 0 :- 1 :/home/ab 1 tail :tail -F /var/log/kern.log
window logstats 0 1 :* 562f,227x57,0,0[227x12,0,0,0,227x11,0,13{100x11,0,13,1,126x11,101,13,4},227x32,0,25{144x32,0,25,2,82x32,145,25[82x18,145,25,5,82x13,145,44,6]}]
window logstats 1 0 :- ea6d,227x57,0,0[227x28,0,0,7,227x28,0,29,8]
state logstats logstats
## tmux config file
## should be located in /etc/tmux.conf for global policy and ~/.tmux.conf for user policy
# Bind Ctrl+a as PREFIX key instead of Ctrl+b
unbind C-b
set -g prefix C-a
bind a send-prefix
# For 256bit color terminals
set -g default-terminal "screen-256color"
# Set the scrollback editing to vim mode
set-option -g mode-keys vi
# Scrollback history (very high, since it's pretty important)
set -g history-limit 1000000
## TPM (Tmux Plugin Module) - https://github.com/tmux-plugins/tpm
# List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
'
# tmux resurrect - https://github.com/tmux-plugins/tmux-resurrect
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-resurrect \
'
# resurrect options
set -g @resurrect-processes ':all:'
# Other examples:
# github_username/plugin_name \
# git@github.com/user/plugin \
# git@bitbucket.com/user/plugin \
# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run-shell '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment