Skip to content

Instantly share code, notes, and snippets.

@justincampbell
Created July 13, 2012 21:01
Show Gist options
  • Save justincampbell/3107433 to your computer and use it in GitHub Desktop.
Save justincampbell/3107433 to your computer and use it in GitHub Desktop.
Testing tmux

tmux

Install

brew install tmux

tmux starts a new session

Use

  • ctrl-b % splits horizontally
  • ctrl-b " splits vertically
  • ctrl-b arrow switches panes
  • ctrl-b alt-arrow resizes panes
  • ctrl-b x kills pane (but you can also just end the process e.g. 'exit')
  • ctrl-b ? lists all possible commands

Thoughts

  • 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

Other

  • ctrl-b 0-9 selects a window(tabs)
  • ctrl-b space cycle layouts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment