[CentralOH] some tmux links and my config file

Jason Green gjigsaw at gmail.com
Tue Oct 25 03:03:01 CEST 2011


Project Home:



    http://tmux.sourceforge.net/



Man Page:



    http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1



A Wiki:



    https://wiki.archlinux.org/index.php/Tmux



Comparison to Screen:



    http://www.wikivs.com/wiki/Screen_vs_tmux



Two Part tmux Tutorial:



    http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/




http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/


My .tmux.conf :

################################################################



# The TMUX Action Key



################################################################



# Define New Key



set -g prefix C-q
# Remove Default Key



unbind C-b
# Pass Defined Key



bind C-q send-prefix

################################################################



# Color



################################################################



set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg blue
set-window-option -g window-status-fg black
set-window-option -g window-status-bg cyan
set-window-option -g window-status-attr dim
set-option -g status-bg magenta
#set-window-option -g window-status-current-attr bright




################################################################



# Pane Splitting



################################################################



unbind %
bind | split-window -h
bind - split-window -v

################################################################



# Pane Switching



################################################################



# Emacs-Like Pane Swapping



bind C-a select-pane -L
bind C-e select-pane -R
bind C-n select-pane -D
bind C-p select-pane -U

################################################################



# Pane Re-Sizing



################################################################



bind left resize-pane -L 3
bind right resize-pane -R 3
bind down resize-pane -D 3
bind up resize-pane -U 3

################################################################



# My Status Bar



################################################################



#set-option -g status-left 'Battery: #(/usr/local/bin/power.sh)   #[default]
Windows:'



################################################################



# Notifications



################################################################



setw -g monitor-activity on
setw -g visual-activity on
# Show messages and notifications for 2 seconds.



set-option -g display-time 2000

################################################################



# Automatically Rename Windows



################################################################



set -g automatic-rename on

################################################################



# Reload Config File (to get changes without restarting tmux)



################################################################



bind-key r source-file ~/.tmux.conf

################################################################



# Start Window Numbering at 1 (instead of default of 0)



################################################################



set -g base-index 1

################################################################



# Set buffer limit to 100,000 (from default of 20,000)



################################################################



set -g history-limit 100000

################################################################



# Monitor windows for activity



################################################################



bind-key m setw monitor-activity

################################################################



# Monitor windows for activity



################################################################



bind-key m setw monitor-activity

################################################################



# Attempt to allow mouse scrolling - appears to have failed.



################################################################



set -g mode-mouse on
set-option -g mouse-select-pane on
set-window-option -g mode-mouse on
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/centraloh/attachments/20111024/93e2689b/attachment-0001.html>


More information about the CentralOH mailing list