2013-04-16 07:29:41 -04:00
.tmux
=====
Self-contained, opinionated `.tmux.conf` configuration file.
2014-02-15 15:35:38 -05:00
![Screenshot ](screenshot.png )
2014-02-28 05:41:39 -05:00
The `master` branch targets tmux 1.9+. You may want to use the `1.7` or `1.8`
branch.
2014-08-21 05:16:08 -04:00
**Please note that upstream 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.**
2014-02-28 05:41:39 -05:00
2013-04-16 07:29:41 -04:00
Features
2013-07-15 04:56:31 -04:00
--------
2013-04-16 07:29:41 -04:00
- `C-a` acts as secondary prefix, while keeping default `C-b` prefix
- visual theme inspired by [powerline ](https://github.com/Lokaltog/powerline )
2014-02-28 05:41:39 -05:00
- [maximize any pane to a new window with `<prefix>+` ](http://pempek.net/articles/2013/04/14/maximizing-tmux-pane-new-window/ ) (tmux 1.6+, except 1.9 and 1.9a)
2013-08-26 18:52:49 -04:00
- mouse mode toggle with `<prefix>m`
2013-07-15 05:04:39 -04:00
- automatic usage of `reattach-to-user-namespace` if available
2014-02-15 12:39:11 -05:00
- laptop battery status
2013-07-15 04:56:31 -04:00
Installation
------------
$ cd
$ rm -rf .tmux
$ git clone https://github.com/gpakosz/.tmux.git
$ ln -s .tmux/.tmux.conf
2013-07-15 05:04:39 -04:00
### Accessing the Mac OSX clipboard from within tmux sessions
[Chris Johnsen created the `reattach-to-user-namespace`
2013-11-02 04:48:41 -04:00
utility](https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard) that makes
2013-07-15 05:04:39 -04:00
`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` :
2014-03-10 03:09:16 -04:00
$ brew install reattach-to-user-namespace