Edits to make sure new splits and windows open in the same directory as
the current one.