1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00
Oh My Tmux! My pretty + versatile tmux configuration that just works (imho the best tmux configuration)
Find a file
2014-12-12 12:01:52 +01:00
.tmux.conf kill placeholder pane when trying to minimize a dead pane 2014-12-12 12:01:52 +01:00
.tmux.conf.local added terminal-overrides directive to .tmux.conf.local to be used with iTerm2 2014-11-02 19:02:01 +01:00
README.md fixed broken links in README.md - fixes #4 2014-09-01 09:09:39 +02:00
screenshot.png added screenshot 2014-02-15 21:35:38 +01:00

.tmux

Self-contained, opinionated .tmux.conf configuration file.

Screenshot

The master branch targets tmux 1.9+. You may want to use the 1.7 or 1.8 branch.

Please note that the official tmux 1.9 and 1.9a SEGFAULT when using the maximize pane feature. Some Linux distributions like Debian provide a patched tmux 1.9a. Depending on whether or not the running tmux version has a buggy swap-pane command, the maximize pane feature may be disabled. On Mac OS X, I've been using tmux HEAD for a while without troubles (brew install --HEAD tmux). The swap-pane command has been fixed in upstream by commit 78e783e.

Features

Installation

$ cd
$ rm -rf .tmux
$ git clone https://github.com/gpakosz/.tmux.git
$ ln -s .tmux/.tmux.conf
$ cp .tmux/.tmux.conf.local .

If you're a ViM user, setting the $EDITOR environment variable to vim will enable and further customize the vi-style key bindings (see tmux manual).

Configuring the visual theme

You first need to install fonts patched with powerline symbols (see also powerline manual).

Then edit your ~/.tmux.conf.local file and uncomment the following line:

#tmux_conf_theme=powerline_patched_font

Configuring the battery indicator

Edit your ~/.tmux.conf.local file and uncomment the following lines:

#tmux_conf_battery_symbol=heart
#tmux_conf_battery_symbol_count=5

See ~/.tmux.conf.local for more details.

Accessing the Mac OSX clipboard from within tmux sessions

Chris Johnsen created the reattach-to-user-namespace utility that makes pbcopy and pbpaste work again within tmux.

If available, reattach-to-user-namespace will be automatically used by this tmux configuration. You just have to install it for instance with brew:

$ brew install reattach-to-user-namespace