User Tools

Site Tools


tmux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tmux [2010/09/28 16:31]
k2patel created
tmux [2011/01/22 02:30] (current)
k2patel
Line 2: Line 2:
 Good replacement for screen. Good replacement for screen.
  
 +Following is my own tmux config file.\\
 +Tried to setup as near as screen.
 +
 +<code bash | .tmux.conf>​
 +set-option -g prefix C-a
 +unbind-key C-b 
 +bind-key C-a "​last-window"​
 +
 +unbind '"'​
 +unbind % # Remove default binding since we're replacing
 +bind | split-window -h
 +bind - split-window -v
 +bind '"'​ list-window
 +
 +# Highlight active window
 +set-window-option -g window-status-current-bg blue
 +
 +# Rename Based on active names
 +setw -g automatic-rename
 +
 +set -g status-right '#​[fg=yellow]#​(uptime | cut -d ","​ -f 2-)'
 +
 +setw -g monitor-activity on
 +set -g visual-activity on
 +
 +# Set status bar
 +set -g status-bg black
 +set -g status-fg white
 +set -g status-left '#​[fg=green]#​H'​
 +</​code>​
 +
 +
 +I have copied man page so can refer easily below.
 <code text> <code text>
  
tmux.txt ยท Last modified: 2011/01/22 02:30 by k2patel