dotfiles/.tmux.1-9.conf
Andrew Tomaka 9588918a71 Account for different tmux versions
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.
2015-03-17 17:21:22 -04:00

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