Andrew Tomaka
9588918a71
tmux 1.9 implemented a behavior breaking change. When splitting or creating new panes or windows, the current path is no longer kept. This is addressed by the addition of the -c parameter to the new-window and split-window commands. Unfortunately, 1.8 does not support the -c parameter.
3 lines
199 B
Text
3 lines
199 B
Text
unbind c; bind c new-window -c #{pane_current_path}"
|
|
bind s split-window -v -c #{pane_current_path}" # horizontal window split
|
|
bind v split-window -h -c #{pane_current_path}" # vertical window split
|