|# First install tmux|
|brew install tmux|
|# For mouse support (for switching panes and windows)|
|# Only needed if you are using Terminal.app (iTerm has mouse support)|
|Then install https://bitheap.org/mouseterm/|
|# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/|
|# Enable mouse support in ~/.tmux.conf|
|set-option -g mouse-select-pane on|
|set-option -g mouse-select-window on|
|set-window-option -g mode-mouse on|
|# Install Teamocil to pre define workspaces|
|# See http://files.floriancrouzat.net/dotfiles/.tmux.conf for configuration examples|
@agfor It is not necessary. But I find it helps alot! It let's you define project setups, with panes and windows, in a YAML-file. And then just run a command to setup any number of windows and panes running a command. I do all my dev in the terminal, so for each project I have a YAML file that launches vim in one pane, starts SASS-compilation in another, etc etc. So I do not have to manually setup panes everytime I'm developing on a specific project.
Hmm, I just switched to Mac and relatively new to this whole terminal/tmux environment, but I followed all the steps and it is not working for me. Could there maybe be a problem with me using zsh? Would be really glad for any other help. If I get this to work, tmux would be perfect.
Edit: Got it working, was just an issue with reloading.
Thanks! You might want to add in support for pbpaste and pbcopy via the very useful reattach-to-user-namespace utility, aka tmux-MacOSX-pasteboard.
followed by adding
to your .tmux.conf file.
If you're getting the errors like alexserver mentioned above.
Check your version
Is there a small demo that you can show on how you use Teamocil?
I guess, I have the details regarding Teamocil from - www.teamocil.com. Will test it out and will revert if any hiccups. Cheers!!