Updated TMUX, Regaining Splitting/creating New Windows Based on Current Directory

Just upgraded my copy of tmux and went to split my windows and realized that the default behaviour to split the window based on the current directory disappeared.

The quick fix to this for me (could be a better one, but I have not done any research yet) was to remap my map binding to augment the commands to maintain their old behaviour:

Updating Tmux split bindings
1
2
3
bind c new-window -c '#{pane_current_path}'
bind-key d split-window -v -c '#{pane_current_path}'
bind-key % split-window -h -c '#{pane_current_path}'

Each of these bindings maintain the exact same behaviour that was there prior to my tmux update.

Develop With Passion®

Comments