Skip to content

Instantly share code, notes, and snippets.

@shabbirh
Forked from simme/Install_tmux
Last active August 29, 2015 14:04
Show Gist options
  • Save shabbirh/8b51676eacb847f26e55 to your computer and use it in GitHub Desktop.
Save shabbirh/8b51676eacb847f26e55 to your computer and use it in GitHub Desktop.
# First install tmux
# Homebrew
brew install tmux
# MacPorts
sudo port install tmux
sudo port install tmux-pasteboard
# For mouse support (for switching panes and windows)
# Only needed if you are using Terminal.app (iTerm has mouse support)
Install http://www.macupdate.com/app/mac/44354/easysimbl
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
# replace zsh with the name of your chosen shell
set-option -g default-command "/opt/local/bin/reattach-to-user-namespace zsh"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment