aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_tmux.conf5
1 files changed, 4 insertions, 1 deletions
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