automatically use 'reattach-to-user-namespace' when available

This commit is contained in:
Gregory Pakosz
2013-08-03 10:13:54 +02:00
parent 0012947087
commit e799504a9b
2 changed files with 16 additions and 0 deletions
+12
View File
@@ -10,6 +10,7 @@ Features
- 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`
- automatic usage of `reattach-to-user-namespace` if available
Installation
------------
@@ -18,3 +19,14 @@ Installation
$ 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) 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