# .tmux

> Oh my tmux! My self-contained, pretty & versatile tmux configuration made with

- Type: skill
- Field: System & Self-hosted
- Repository: https://github.com/gpakosz/.tmux
- GitHub stars: 25476
- Licence: MIT
- Language: Shell
- Last push: 2026-10-21
- Page: https://imutechz.in/agents/.tmux

## What it is
.tmux is a self-contained tmux configuration that provides a pretty, versatile setup with a Powerline-inspired visual theme. It works on Linux, macOS, FreeBSD, OpenBSD, and Windows via WSL or Cygwin, requiring tmux 2.6 or later and standard Unix tools like awk, perl, grep, and sed. The configuration uses a secondary C-a prefix alongside the default C-b and keeps all customizations in a separate local file to avoid conflicts during updates.

## Features
- Dual prefix keys: C-a as secondary while keeping default C-b
- Powerline-inspired visual theme without requiring Powerline installation
- Pane maximization to new window with prefix+
- Vi-style key bindings when VISUAL or EDITOR is set to vim
- Customization via .tmux.conf.local without touching main config
- Cross-platform support for Linux, macOS, BSDs, and Windows (WSL/Cygwin)

## Best for
- Developers wanting a ready-to-use tmux setup with modern aesthetics
- Vim users seeking vi-style key bindings in tmux
- Teams needing consistent terminal multiplexer configuration across platforms
- Users who prefer mouse-free terminal workflows

## Pros
- Self-contained with no external dependencies beyond standard Unix tools
- Clean separation of core config and user customizations via .local file
- Works across multiple operating systems including BSD variants
- Powerline look without installing Powerline itself

## Cons
- Requires tmux = 2.6 and TERM=xterm-256color set outside tmux
- Windows support limited to WSL or Cygwin (not recommended)
- Potential Unicode display issues with older glibc versions on Linux

## Install
```
curl -fsSL "https://github.com/gpakosz/.tmux/raw/refs/heads/master/install.sh#$(date +%s)" | bash
```

## Usage
```
$ cd
$ git clone --single-branch https://github.com/gpakosz/.tmux.git
$ ln -s -f .tmux/.tmux.conf
$ cp .tmux/.tmux.conf.local .
```

Tags: tmux, terminal-multiplexer, configuration, dotfiles, powerline-theme, linux, macos, bsd
