From b883fd73877aa22165546beab1adcb8de95281d4 Mon Sep 17 00:00:00 2001 From: Xinqi Bao Date: Sun, 21 Jun 2020 14:55:22 -0400 Subject: [PATCH] tmux.conf: init path optimized for new pannel and window --- .tmux.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index a5aff0c..29d1312 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -10,8 +10,9 @@ set-option -g prefix C-a bind-key C-a send-prefix # split panes using | and - -bind | split-window -h -bind - split-window -v +bind c new-window -c $HOME +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" bind-key C-a last-window unbind '"' unbind % -- 2.20.1