From a6968146cf5f331311f6b1f357c3009cfd7f3ee5 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 26 Jun 2014 19:05:51 +0400 Subject: [PATCH] .tmux.conf updated --- .tmux.conf | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 57088c0..bf718b2 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,6 +1,14 @@ # Vim keys + +# dirty hack for old tmux which doesn't support -c option +bind-key c new-window bind s split-window -v bind v split-window -h +# save current path for >=tmux-1.9a +bind-key c new-window -c "#{pane_current_path}" +bind s split-window -v -c "#{pane_current_path}" +bind v split-window -h -c "#{pane_current_path}" + bind h select-pane -L bind j select-pane -D bind k select-pane -U @@ -23,8 +31,8 @@ bind-key R respawn-window #set set-remain-on-exit on # # # create the windows we really want -neww -n vim -splitw -v -p 20 -t 0 +# neww -n vim +# splitw -v -p 20 -t 0 # # # for future windows, revert r-o-e to global value #set -u set-remain-on-exit