From 38a18413677f80f5bd7eeb1d295bd716019b49b4 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 4 Sep 2017 11:11:13 +0800 Subject: tmux.conf: Tweak window creation --- _tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_tmux.conf b/_tmux.conf index 18026d5..839f3ec 100644 --- a/_tmux.conf +++ b/_tmux.conf @@ -33,6 +33,7 @@ # Aaron LI # 2015-01-22 # +# 2017-09-04 : Tweak and fix several mistakes # 2017-09-03 : Rewrite; drop plugins (with TPM)... # @@ -127,8 +128,10 @@ bind -r M-j resize-pane -D 5 bind -r M-k resize-pane -U 5 bind -r M-l resize-pane -R 5 +# Create new window starting from the current directory +bind c new-window -c '#{pane_current_path}' # URxvt tab like window control -bind -n S-Down new-window +bind -n S-Down new-window -c '#{pane_current_path}' bind -n S-Left previous-window bind -n S-Right next-window bind -n C-Left swap-window -t -1 -- cgit v1.2.2