when editing a file, jump to last known cursor position