brew install tmux
tmux
starts a new session
ctrl-b %
splits horizontallyctrl-b "
splits verticallyctrl-b arrow
switches panesctrl-b alt-arrow
resizes panesctrl-b x
kills pane (but you can also just end the process e.g. 'exit')ctrl-b ?
lists all possible commands
- ctrl-b is really awkward to type
- opening a new pane opens the same directory which is awesome, but:
- it removes symlinks (~/CramerDev/ -> ~/Dropbox/CramerDev)
- it breaks rvm
- fix with: ~/.rvm/scripts/rvm (is there a way to automate this?)
- don't like the green borders
- my terminal vim colors suck
ctrl-b 0-9
selects a window(tabs)ctrl-b
space cycle layouts