Skip to content

Instantly share code, notes, and snippets.

@erichsu
Forked from simme/Install_tmux
Last active November 18, 2016 06:39
Show Gist options
  • Save erichsu/7f2e96c9d0cd465bf2d4484a29cc982b to your computer and use it in GitHub Desktop.
Save erichsu/7f2e96c9d0cd465bf2d4484a29cc982b 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
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Install Teamocil to pre define workspaces
https://github.com/remiprev/teamocil
# See http://files.floriancrouzat.net/dotfiles/.tmux.conf for configuration examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment