tmuxen

tmux environment made easy
git clone git://git.unixkoans.com/tmuxen.git
Log | Files | Refs

commit 350a7587f8b438eccf9e11e1f15b0051259e2436
parent 6af28534ba57cc795100d4e3e74b373a123f058d
Author: Xiaodong Xu <xxdlhy@gmail.com>
Date:   Sun Jul 22 20:21:07 +0800

Add tmux zoom support

Diffstat:
_tmux.conf | 8++++++--
install-tmuxen | 4++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/_tmux.conf b/_tmux.conf @@ -1,6 +1,6 @@ # # author : Xu Xiaodong <xxdlhy@gmail.com> -# modified : 2012 Jul 07 +# modified : 2012 Jul 22 # #-- base settings --# @@ -47,10 +47,14 @@ bind ^q killw # kill window (prefix Ctrl+q) # copy mode bind Escape copy-mode # enter copy mode (prefix Escape) -bind ^p pasteb # paste buffer (prefix p) +bind ^p pasteb # paste buffer (prefix Ctrl+p) bind -t vi-copy v begin-selection # select (v) bind -t vi-copy y copy-selection # copy (y) +# zoom pane <-> window +# see also: http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/examples/tmux-zoom.sh +bind ^z run "tmux-zoom" + # app bind ! splitw htop # htop (prefix !) bind m command-prompt "splitw 'exec man %%'" # man (prefix m) diff --git a/install-tmuxen b/install-tmuxen @@ -4,14 +4,14 @@ # author : Xu Xiaodong <xxdlhy@gmail.com> # license : GPL # created : 2012 Jul 02 -# modified : 2012 Jul 03 +# modified : 2012 Jul 10 # bin=$HOME/bin cwd=$(pwd) if [ ! -d $bin ]; then - mkdir $bin + mkdir $bin fi echo "Installing tmuxen to $bin"