Skip to content
Browse files

Add tmux zoom support

  • Loading branch information...
1 parent 6af2853 commit 350a7587f8b438eccf9e11e1f15b0051259e2436 @xuxiaodong committed Jul 22, 2012
Showing with 8 additions and 4 deletions.
  1. +6 −2 _tmux.conf
  2. +2 −2 install-tmuxen
View
8 _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)
View
4 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"

0 comments on commit 350a758

Please sign in to comment.
Something went wrong with that request. Please try again.