2013-04-16 07:29:41 -04:00
|
|
|
.tmux
|
|
|
|
=====
|
|
|
|
|
|
|
|
Self-contained, opinionated `.tmux.conf` configuration file.
|
|
|
|
|
|
|
|
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)
|
|
|
|
- [maximize any pane to a new window with `C-+`](http://pempek.net/articles/2013/04/14/maximizing-tmux-pane-new-window/) (tmux 1.6+)
|
|
|
|
- mouse mode toggle with `C-m`
|
2013-07-15 05:04:39 -04:00
|
|
|
- automatic usage of `reattach-to-user-namespace` if available
|
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-08-22 04:37:01 -04:00
|
|
|
$ touch ~/.tmux.conf.local
|
|
|
|
|
|
|
|
Note: `tmux` 1.8 doesn't silently ignore sourcing missing files anymore. That's
|
|
|
|
why you now have to `touch ~/.tmux.conf.local`.
|
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`
|
|
|
|
utility](https://github.com/ChrisJohnsen) 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-namespsace
|