1
0
Fork 0
mirror of synced 2024-06-20 04:51:10 -04:00
tmux-config/README.md
Gregory Pakosz 727b40ac10 detect whether running tmux has a buggy swap-pane command
see ticket #108, fixed in upstream commit 78e783e
2014-08-21 15:30:32 +02:00

44 lines
1.5 KiB
Markdown

.tmux
=====
Self-contained, opinionated `.tmux.conf` configuration file.
![Screenshot](screenshot.png)
The `master` branch targets tmux 1.9+. You may want to use the `1.7` or `1.8`
branch.
**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.**
Features
--------
- `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 `<prefix>+`](http://pempek.net/articles/2013/04/14/maximizing-tmux-pane-new-window/) (tmux 1.6+, except 1.9 and 1.9a)
- mouse mode toggle with `<prefix>m`
- automatic usage of `reattach-to-user-namespace` if available
- laptop battery status
Installation
------------
$ cd
$ rm -rf .tmux
$ git clone https://github.com/gpakosz/.tmux.git
$ ln -s .tmux/.tmux.conf
### Accessing the Mac OSX clipboard from within tmux sessions
[Chris Johnsen created the `reattach-to-user-namespace`
utility](https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard) 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