Casecommons/casecommons_workstation — pull request #1 by jgeiger (2012-04-03 18:35:49+00:00)
Title: Update the default tmux configuration

There is one controversial change in this which involves changing tmux's command key from ctrl-b to ctrl-a.

Pros:
Map ctrl-a ctrl-a to swap between last used tmux windows. If you have a bash(test) window and a vim window open, you can quickly swap between them. Just about every tmux.conf example I've found on the web makes this change. Screen uses ctrl-a for it's command prefix.

Cons:
You lose the bash ctrl-a to take you to the start of the line. Based on the last few months I've found that the number of times I swap windows far, far exceeds the number of times I've tried to use ctrl-a to go to the start of the line. This will be a change for people used to using ctrl-b for tmux.

Other changes:
set 256 colors by default
start window numbering at 1 (no need to hit ctrl-a 0 (which is on the far end of the keyboard) to get the first window)
scrollback to 5000000 lines - might not need to be that big, but at least big enough to hold all the content of a pspec && pcuke which could include stack dumps or segfaults (5k lines each)
add new binds for window splitting without unbinding current versions
highlight current active tmux window in red