Annotation of embedaddon/tmux/example_tmux.conf, revision 1.1
1.1 ! misho 1: #
! 2: # Example .tmux.conf
! 3: #
! 4: # By Nicholas Marriott. Public domain.
! 5: #
! 6:
! 7: # Some tweaks to the status line
! 8: set -g status-right "%H:%M"
! 9: set -g window-status-current-attr "underscore"
! 10:
! 11: # If running inside tmux ($TMUX is set), then change the status line to red
! 12: %if #{TMUX}
! 13: set -g status-bg red
! 14: %endif
! 15:
! 16: # Enable RGB colour if running in xterm(1)
! 17: set-option -sa terminal-overrides ",xterm*:Tc"
! 18:
! 19: # Change the default $TERM to tmux-256color
! 20: set -g default-terminal "tmux-256color"
! 21:
! 22: # No bells at all
! 23: set -g bell-action none
! 24:
! 25: # Keep windows around after they exit
! 26: set -g remain-on-exit on
! 27:
! 28: # Change the prefix key to C-a
! 29: set -g prefix C-a
! 30: unbind C-b
! 31: bind C-a send-prefix
! 32:
! 33: # Turn the mouse on, but without copy mode dragging
! 34: set -g mouse on
! 35: unbind -n MouseDrag1Pane
! 36: unbind -Tcopy-mode MouseDrag1Pane
! 37:
! 38: # Some extra key bindings to select higher numbered windows
! 39: bind F1 selectw -t:10
! 40: bind F2 selectw -t:11
! 41: bind F3 selectw -t:12
! 42: bind F4 selectw -t:13
! 43: bind F5 selectw -t:14
! 44: bind F6 selectw -t:15
! 45: bind F7 selectw -t:16
! 46: bind F8 selectw -t:17
! 47: bind F9 selectw -t:18
! 48: bind F10 selectw -t:19
! 49: bind F11 selectw -t:20
! 50: bind F12 selectw -t:21
! 51:
! 52: # Keys to toggle monitoring activity in a window, and synchronize-panes
! 53: bind m set monitor-activity
! 54: bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
! 55:
! 56: # Create a single default session, because a session is created here, tmux
! 57: # should be started with "tmux attach" rather than "tmux new"
! 58: new -d -s0 -nirssi 'exec irssi'
! 59: set -t0:0 monitor-activity on
! 60: set -t0:0 aggressive-resize on
! 61: neww -d -ntodo 'exec emacs ~/TODO'
! 62: setw -t0:1 aggressive-resize on
! 63: neww -d -nmutt 'exec mutt'
! 64: setw -t0:2 aggressive-resize on
! 65: neww -d
! 66: neww -d
! 67: neww -d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>