summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux/tmux.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 7b1b362..1b432d8 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -33,10 +33,11 @@ set-window-option -g window-status-format '#{?pane_in_mode,#[bg=brightyellow],}
# paints selected tab white (unless in scroll mode)
set-window-option -g window-status-current-format '#[bg=brightwhite]#{?pane_in_mode,#[bg=brightyellow],} #I:#W #{?#{m:*Z*,#{window_flags}},[Z]} #[default]'
-# open pane splits and windows at the same path as current pane
+# open pane splits at the same path as current pane
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
-bind "c" new-window -c "#{pane_current_path}"
+# but reset to the initial path when creating a window
+# bind "c" new-window -c "#{pane_current_path}"
# default but with no space on the right
set-window-option -g status-left '[#S]'