Skip to content

Instantly share code, notes, and snippets.

@simme
Created October 19, 2011 07:55
Show Gist options
  • Save simme/1297707 to your computer and use it in GitHub Desktop.
Save simme/1297707 to your computer and use it in GitHub Desktop.
Install and configure tmux on Mac OS X
# 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)
Install http://www.culater.net/software/SIMBL/SIMBL.php
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
https://github.com/remiprev/teamocil
# See http://files.floriancrouzat.net/dotfiles/.tmux.conf for configuration examples
@athrunsun
Copy link

Is there a binary version of tmux? I don't like to install a lot of dependencies...

@tony
Copy link

tony commented Feb 9, 2017

I released The Tao of tmux, a book on tmux on leanpub on amazon a few weeks ago. You can read the full book online for free at https://leanpub.com/the-tao-of-tmux/read.

@lucduong
Copy link

Thank you ✌️

@Chan-Chun
Copy link

thank you !

@pezzati
Copy link

pezzati commented Jun 12, 2017

nice and easy, very useful for training process of our team :))

@csmrkid
Copy link

csmrkid commented Jul 13, 2017

Great work , love it

@haythamdouaihy
Copy link

haythamdouaihy commented Apr 16, 2018

great thanks!
for the mouse support:
set -g mouse on

@bambusdani
Copy link

Thanks

@stalinstepin
Copy link

@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.

Is there a small demo that you can show on how you use Teamocil?

@stalinstepin
Copy link

@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.

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!!

@Parkboyoung11
Copy link

thank u

@chicken-space-invader
Copy link

Doesn't work any more. Using set -g mouse on instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment